From 46c6827cdc08f726905cf3eca2b901ddea22856c Mon Sep 17 00:00:00 2001 From: zhulipai <1164934857@qq.com> Date: Wed, 17 May 2023 13:04:54 +0800 Subject: [PATCH] Chore/use workspace dep (#1935) * update authors and repo * update version * Update Cargo.toml * rm smallvec * fix version * refactor node * classification * cleanup * move runtime dep into root and add std to node * update parallel runtime rm optional * default-features = false * update kerria * update vanilla * update heiko * update runtime common * remove default-features = false * fix weired rustc bug * fix rustc bug, cargo check success * fix cargo clippy ci * fix error: use of undeclared crate or module imp the wasm*-unknown-unknown targets are not supported by default * extract "default-features = false" to outside 'default-features = false' take errect in root Cargo than inner * update support * update * update precompiles * update utils * update amm * update pallets * update pallets * update * update pallets * update pallets * add std in dev-dep, fix Coverage ci * update codec/parity-scale-codec * fix cargo check * fix online 'make ci' --- Cargo.lock | 7 +- Cargo.toml | 234 ++++++++++++++++++++++ integration-tests/Cargo.toml | 142 ++++++------- node/parallel/Cargo.toml | 212 ++++++++++---------- pallets/amm/Cargo.toml | 38 ++-- pallets/asset-registry/Cargo.toml | 34 ++-- pallets/asset-registry/src/lib.rs | 2 +- pallets/asset-registry/src/mock.rs | 2 +- pallets/bridge/Cargo.toml | 32 +-- pallets/crowdloans/Cargo.toml | 84 ++++---- pallets/currency-adapter/Cargo.toml | 16 +- pallets/emergency-shutdown/Cargo.toml | 22 +- pallets/evm-signatures/Cargo.toml | 38 ++-- pallets/farming/Cargo.toml | 36 ++-- pallets/liquid-staking/Cargo.toml | 86 ++++---- pallets/loans/Cargo.toml | 46 ++--- pallets/loans/rpc/Cargo.toml | 20 +- pallets/loans/rpc/runtime-api/Cargo.toml | 12 +- pallets/prices/Cargo.toml | 40 ++-- pallets/router/Cargo.toml | 36 ++-- pallets/router/rpc/Cargo.toml | 24 +-- pallets/router/rpc/runtime-api/Cargo.toml | 14 +- pallets/router/src/mock.rs | 2 +- pallets/stableswap/Cargo.toml | 38 ++-- pallets/streaming/Cargo.toml | 40 ++-- pallets/traits/Cargo.toml | 38 ++-- pallets/xcm-helper/Cargo.toml | 74 +++---- precompiles/assets-erc20/Cargo.toml | 54 ++--- precompiles/balances-erc20/Cargo.toml | 52 ++--- precompiles/utils/Cargo.toml | 38 ++-- primitives/Cargo.toml | 30 +-- runtime/common/Cargo.toml | 54 +++-- runtime/heiko/Cargo.toml | 183 +++++++++-------- runtime/kerria/Cargo.toml | 185 +++++++++-------- runtime/parallel/Cargo.toml | 184 +++++++++-------- runtime/vanilla/Cargo.toml | 187 +++++++++-------- support/Cargo.toml | 30 +-- 37 files changed, 1296 insertions(+), 1070 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f7a719586..8735cd6ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6301,7 +6301,7 @@ dependencies = [ name = "pallet-evm-precompile-assets-erc20" version = "1.9.8" dependencies = [ - "derive_more 0.99.17", + "derive_more 0.15.0", "fp-evm", "frame-support", "frame-system", @@ -6328,7 +6328,7 @@ dependencies = [ name = "pallet-evm-precompile-balances-erc20" version = "1.9.8" dependencies = [ - "derive_more 0.99.17", + "derive_more 0.15.0", "fp-evm", "frame-support", "frame-system", @@ -6344,7 +6344,7 @@ dependencies = [ "precompile-utils", "scale-info", "serde", - "sha3 0.8.2", + "sha3 0.10.7", "slices", "sp-core", "sp-io", @@ -7642,7 +7642,6 @@ dependencies = [ "runtime-common", "scale-info", "serde", - "smallvec", "sp-api", "sp-block-builder", "sp-consensus-aura", diff --git a/Cargo.toml b/Cargo.toml index c84c8bcf8..82e9a69e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,240 @@ lto = true [workspace] members = ['node/*', 'pallets/*', 'runtime/*', 'support', 'precompiles/*','integration-tests'] +[workspace.package] +authors = ['Parallel Team'] +repository = 'https://github.com/parallel-finance/parallel' +version = '1.9.8' + +[workspace.dependencies] +# Substrate dependencies +sc-basic-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-chain-spec = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-cli = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36'} +sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-executor = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36'} +sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36'} +sc-telemetry = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-tracing = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-transaction-pool-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-network = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-network-common = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sc-consensus-manual-seal = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } + +frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-executive = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-try-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-babe = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-collective = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-democracy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-identity = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-membership = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-preimage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-proxy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-scheduler = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-staking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-sudo = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-treasury = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +scale-info = { version = '2.1', default-features = false } +sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-version = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-arithmetic = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-trie = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } + +try-runtime-cli = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +frame-benchmarking-cli = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } + +substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +substrate-prometheus-endpoint = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.36" } + +sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-keyring = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-storage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-state-machine = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } + +substrate-build-script-utils = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +substrate-wasm-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } + +# Polkadot dependencies +polkadot-cli = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } +polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } +polkadot-service = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } + +pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } + +kusama-runtime = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36'} +polkadot-runtime = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36'} +polkadot-runtime-parachains = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36'} +polkadot-core-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36'} +xcm-simulator = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } + +# Cumulus dependencies +cumulus-client-cli = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-client-collator = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-client-consensus-aura = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-client-network = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-client-service = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-relay-chain-inprocess-interface = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-relay-chain-interface = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-relay-chain-rpc-interface = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-client-consensus-common = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-client-consensus-relay-chain = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-relay-chain-minimal-node = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-test-relay-sproof-builder = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } + +cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } + +statemine-runtime = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36'} +statemint-runtime = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36'} + +# ORML dependencies +orml-oracle = { version = '0.4.1-dev', default-features = false } +orml-oracle-rpc-runtime-api = { version = '0.4.1-dev', default-features = false } +orml-traits = { version = '0.4.1-dev', default-features = false } +orml-vesting = { version = '0.4.1-dev', default-features = false } +orml-xcm = { version = '0.4.1-dev', default-features = false } +orml-xcm-support = { version = '0.4.1-dev', default-features = false } +orml-xtokens = { version = '0.4.1-dev', default-features = false } +orml-oracle-rpc = { version = '0.4.1-dev', default-features = false } + +# Frontier dependencies +evm = { version = '0.37.0', default-features = false} +fc-consensus = { version='2.0.0-dev' } +fc-db = { version='2.0.0-dev' } +fc-mapping-sync = { version='2.0.0-dev' } +fc-rpc = { version='2.0.0-dev' } +fc-rpc-core = { version='1.1.0-dev' } +fp-consensus = { version='2.0.0-dev' } +fp-evm = { version='3.0.0-dev', default-features = false } +fp-storage = { version='2.0.0' } +fp-dynamic-fee = { version='1.0.0' } +fp-rpc = { version = '3.0.0-dev', default-features = false } +fp-self-contained = { version = '1.0.0-dev', default-features = false } + +pallet-base-fee = { version = '1.0.0', default-features = false } +pallet-ethereum = { version = '4.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +pallet-evm = { version = '6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +pallet-evm-precompile-blake2 = { version = '2.0.0-dev', default-features = false } +pallet-evm-precompile-bn128 = { version = '2.0.0-dev', default-features = false } +pallet-evm-precompile-dispatch = { version = '2.0.0-dev', default-features = false } +pallet-evm-precompile-ed25519 = { version = '2.0.0-dev', default-features = false } +pallet-evm-precompile-modexp = { version = '2.0.0-dev', default-features = false } +pallet-evm-precompile-sha3fips = { version = '2.0.0-dev', default-features = false } +pallet-evm-precompile-simple = { version = '2.0.0-dev', default-features = false } + +# Parallel dependencies +runtime-common = { path = './runtime/common', default-features = false } +pallet-amm = { path = './pallets/amm', default-features = false } +pallet-asset-registry = { path = './pallets/asset-registry', default-features = false } +pallet-bridge = { path = './pallets/bridge', default-features = false } +pallet-crowdloans = { path = './pallets/crowdloans', default-features = false } +pallet-currency-adapter = { path = './pallets/currency-adapter', default-features = false } +pallet-emergency-shutdown = { path = './pallets/emergency-shutdown', default-features = false } +pallet-farming = { path = './pallets/farming', default-features = false } +pallet-liquid-staking = { path = './pallets/liquid-staking', default-features = false } +pallet-loans = { path = './pallets/loans', default-features = false } +pallet-loans-rpc-runtime-api = { path = './pallets/loans/rpc/runtime-api', default-features = false } +pallet-prices = { path = './pallets/prices', default-features = false } +pallet-router = { path = './pallets/router', default-features = false } +pallet-router-rpc-runtime-api = { path = './pallets/router/rpc/runtime-api', default-features = false } +pallet-stableswap = { path = './pallets/stableswap', default-features = false } +pallet-streaming = { path = './pallets/streaming', default-features = false } +pallet-traits = { path = './pallets/traits', default-features = false } +pallet-xcm-helper = { path = './pallets/xcm-helper', default-features = false } +primitives = { package = 'parallel-primitives', path = './primitives', default-features = false } +parallel-support = { path = './support', default-features = false } +pallet-evm-signatures = { path = './pallets/evm-signatures', default-features = false } +pallet-evm-precompile-assets-erc20 = { path = './precompiles/assets-erc20', default-features = false } +pallet-evm-precompile-balances-erc20 = { path = './precompiles/balances-erc20', default-features = false } +precompile-utils = { path = './precompiles/utils', default-features = false } + +pallet-loans-rpc = { path = './pallets/loans/rpc' } +pallet-router-rpc = { path = './pallets/router/rpc' } +heiko-runtime = { path = './runtime/heiko' } +parallel-runtime = { path = './runtime/parallel' } +kerria-runtime = { path = './runtime/kerria' } +vanilla-runtime = { path = './runtime/vanilla' } + +# Others +codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false } +derive_more = '0.15.0' +hex = '0.4' +hex-literal = '0.3.4' +jsonrpsee = '0.16.2' +futures = '0.3.1' +async-trait = '0.1.42' +clap = '4.0.9' +serde = '1.0.136' +serde_json = '1.0.79' +tracing-core = '0.1.30' +static_assertions = '1.1.0' +smallvec = '1.6.1' +env_logger = '0.9.0' +paste = '1.0.6' +slices = '0.2.0' +sha3 = '0.10.1' +libsecp256k1 = '0.7' +impl-trait-for-tuples = '0.2.2' +similar-asserts = '1.1.0' +bytes = '1.1.0' +log = { version = '0.4', default-features = false } +num-bigint = { version = '0.4', default-features = false } +num-traits = { version = '0.2', default-features = false } +num_enum = { version = '0.5.3', default-features = false } + +xcm-emulator = { git = 'https://github.com/shaunxw/xcm-simulator.git', rev = '64d8822f6ebc1af50092677a80a9bdb74860e9a9' } +substrate-fixed = { git = 'https://github.com/encointer/substrate-fixed.git', default-features = false } + [patch.crates-io] #orml orml-oracle = { git = 'https://github.com/open-web3-stack/open-runtime-module-library.git', rev = 'db0381f6363e0c8e781082b6f552c092b688fb1c' } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index acf2ed60e..a6a10e020 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,90 +1,90 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' homepage = 'https://parallel.fi' license = 'Apache' name = 'runtime-integration-tests' -repository = 'https://github.com/parallel-finance/parallel' -version = '1.9.8' +repository = { workspace = true } +version = { workspace = true } [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false, features = ['derive'] } -hex = { version = '0.4' } -hex-literal = '0.3.3' -serde = { version = '1.0.136', features = ['derive'], optional = true } -serde_json = '1.0.79' -static_assertions = '1.1.0' -scale-info = { version = "2.1", default-features = false, features = ["derive"] } +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +hex = { workspace = true } +hex-literal = { workspace = true } +serde = { workspace = true, features = ['derive'], optional = true } +serde_json = { workspace = true } +static_assertions = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } # Substrate -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-staking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-balances = { workspace = true } +pallet-staking = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +sp-core = { workspace = true } # Polkadot dependencies -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } +pallet-xcm = { workspace = true } +polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } # Cumulus dependencies -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } # ORML dependencies -orml-oracle = { version = '0.4.1-dev' } -orml-traits = { version = '0.4.1-dev' } -orml-vesting = { version = '0.4.1-dev' } -orml-xcm = { version = '0.4.1-dev' } -orml-xcm-support = { version = '0.4.1-dev' } -orml-xtokens = { version = '0.4.1-dev' } +orml-oracle = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xcm = { workspace = true } +orml-xcm-support = { workspace = true } +orml-xtokens = { workspace = true } # Parallel dependencies -heiko-runtime = { path = '../runtime/heiko', features = ['runtime-benchmarks'] } -pallet-amm = { path = '../pallets/amm' } -pallet-asset-registry = { path = '../pallets/asset-registry' } -pallet-bridge = { path = '../pallets/bridge' } -pallet-crowdloans = { path = '../pallets/crowdloans' } -pallet-currency-adapter = { path = '../pallets/currency-adapter' } -pallet-emergency-shutdown = { path = '../pallets/emergency-shutdown' } -pallet-farming = { path = '../pallets/farming' } -pallet-liquid-staking = { path = '../pallets/liquid-staking' } -pallet-loans = { path = '../pallets/loans' } -pallet-loans-rpc-runtime-api = { path = '../pallets/loans/rpc/runtime-api' } -pallet-prices = { path = '../pallets/prices' } -pallet-router = { path = '../pallets/router' } -pallet-router-rpc-runtime-api = { path = '../pallets/router/rpc/runtime-api' } -pallet-traits = { path = '../pallets/traits' } -pallet-xcm-helper = { path = '../pallets/xcm-helper' } -parallel-runtime = { path = '../runtime/parallel', features = ['runtime-benchmarks'] } -primitives = { package = 'parallel-primitives', path = '../primitives' } -vanilla-runtime = { path = '../runtime/vanilla', features = ['runtime-benchmarks'] } -kerria-runtime = { path = '../runtime/kerria', features = ['runtime-benchmarks'] } +heiko-runtime = { workspace = true, features = ['runtime-benchmarks'] } +pallet-amm = { workspace = true } +pallet-asset-registry = { workspace = true } +pallet-bridge = { workspace = true } +pallet-crowdloans = { workspace = true } +pallet-currency-adapter = { workspace = true } +pallet-emergency-shutdown = { workspace = true } +pallet-farming = { workspace = true } +pallet-liquid-staking = { workspace = true } +pallet-loans = { workspace = true } +pallet-loans-rpc-runtime-api = { workspace = true } +pallet-prices = { workspace = true } +pallet-router = { workspace = true } +pallet-router-rpc-runtime-api = { workspace = true } +pallet-traits = { workspace = true } +pallet-xcm-helper = { workspace = true } +parallel-runtime = { workspace = true, features = ['runtime-benchmarks'] } +primitives = { workspace = true } +vanilla-runtime = { workspace = true, features = ['runtime-benchmarks'] } +kerria-runtime = { workspace = true, features = ['runtime-benchmarks'] } [dev-dependencies] -cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-test-relay-sproof-builder = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -env_logger = '0.9.0' -kusama-runtime = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', features = ['runtime-benchmarks'] } -log = '0.4.14' -polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-runtime = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-runtime-parachains = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-trie = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -statemine-runtime = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', features = ['runtime-benchmarks'] } -statemint-runtime = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', features = ['runtime-benchmarks'] } -xcm-emulator = { git = 'https://github.com/shaunxw/xcm-simulator.git', rev = '64d8822f6ebc1af50092677a80a9bdb74860e9a9' } +cumulus-primitives-parachain-inherent = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true } +env_logger = { workspace = true } +kusama-runtime = { workspace = true, features = ['runtime-benchmarks'] } +log = { workspace = true } +polkadot-primitives = { workspace = true } +polkadot-runtime = { workspace = true } +polkadot-runtime-parachains = { workspace = true } +sp-io = { workspace = true } +sp-trie = { workspace = true } +statemine-runtime = { workspace = true, features = ['runtime-benchmarks'] } +statemint-runtime = { workspace = true, features = ['runtime-benchmarks'] } +xcm-emulator = { workspace = true } diff --git a/node/parallel/Cargo.toml b/node/parallel/Cargo.toml index 5b57d3ad7..0ad655745 100644 --- a/node/parallel/Cargo.toml +++ b/node/parallel/Cargo.toml @@ -1,128 +1,128 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } build = 'build.rs' description = 'A decentralized lending protocol which allow users to earn "double interests" from staking and lending' edition = '2021' homepage = 'https://parallel.fi' license = 'Apache' name = 'parallel' -repository = 'https://github.com/parallel-finance/parallel' -version = '1.9.8' +repository = { workspace = true } +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5' } -derive_more = '0.15.0' -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -frame-benchmarking-cli = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -hex-literal = '0.3.4' -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -log = '0.4.13' -futures = { version = '0.3.1', features = ["compat"] } -async-trait = '0.1.42' - -primitives = { package = 'parallel-primitives', path = '../../primitives' } - -pallet-loans-rpc = { path = '../../pallets/loans/rpc' } -pallet-router-rpc = { path = '../../pallets/router/rpc' } -pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +codec = { workspace = true, features = ["std"] } +derive_more = { workspace = true } +frame-benchmarking = { workspace = true, features = ["std"] } +frame-benchmarking-cli = { workspace = true } +hex-literal = { workspace = true } +jsonrpsee = { workspace = true, features = ["server", "macros"] } +log = { workspace = true } +futures = { workspace = true, features = ["compat"] } +async-trait = { workspace = true } + +primitives = { workspace = true, features = ["std"] } + +pallet-loans-rpc = { workspace = true } +pallet-router-rpc = { workspace = true } +pallet-transaction-payment-rpc = { workspace = true } +pallet-transaction-payment-rpc-runtime-api = { workspace = true, features = ["std"] } # runtimes -heiko-runtime = { path = '../../runtime/heiko' } -parallel-runtime = { path = '../../runtime/parallel' } -kerria-runtime = { path = '../../runtime/kerria' } -vanilla-runtime = { path = '../../runtime/vanilla' } - -sc-basic-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-chain-spec = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-cli = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36'} -sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-executor = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36'} -sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36'} -sc-telemetry = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-tracing = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-transaction-pool-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-network = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-network-common = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sc-consensus-manual-seal = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } - -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -try-runtime-cli = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', optional = true } - -clap = { version = '4.0.9', features = ['derive'] } -serde = { version = '1.0.136', features = ['derive'] } -serde_json = '1.0.79' -tracing-core = '0.1.30' - -orml-oracle-rpc = { version = '0.4.1-dev', default-features = false } -substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -substrate-prometheus-endpoint = { git = 'https://github.com/paritytech/substrate.git', branch = "polkadot-v0.9.36" } - -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-storage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-trie = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', optional = true } - -cumulus-client-cli = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-client-collator = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-client-consensus-aura = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-client-network = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-client-service = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-relay-chain-inprocess-interface = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-relay-chain-interface = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-relay-chain-rpc-interface = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-client-consensus-common = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-client-consensus-relay-chain = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-relay-chain-minimal-node = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } - -polkadot-cli = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', features = ['kusama-native'] } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-service = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } +heiko-runtime = { workspace = true } +parallel-runtime = { workspace = true } +kerria-runtime = { workspace = true } +vanilla-runtime = { workspace = true } + +sc-basic-authorship = { workspace = true } +sc-chain-spec = { workspace = true } +sc-cli = { workspace = true } +sc-client-api = { workspace = true } +sc-consensus = { workspace = true } +sc-executor = { workspace = true } +sc-keystore = { workspace = true } +sc-rpc = { workspace = true } +sc-rpc-api = { workspace = true } +sc-service = { workspace = true } +sc-telemetry = { workspace = true } +sc-tracing = { workspace = true } +sc-transaction-pool = { workspace = true } +sc-transaction-pool-api = { workspace = true } +sc-network = { workspace = true } +sc-network-common = { workspace = true } +sc-consensus-aura = { workspace = true } +sc-consensus-manual-seal = { workspace = true } + +frame-system-rpc-runtime-api = { workspace = true, features = ["std"] } +try-runtime-cli = { workspace = true, optional = true } + +clap = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ['derive'] } +serde_json = { workspace = true } +tracing-core = { workspace = true } + +orml-oracle-rpc = { workspace = true } +substrate-frame-rpc-system = { workspace = true } +substrate-prometheus-endpoint = { workspace = true } + +sp-api = { workspace = true, features = ["std"] } +sp-block-builder = { workspace = true, features = ["std"] } +sp-blockchain = { workspace = true } +sp-consensus = { workspace = true } +sp-consensus-aura = { workspace = true, features = ["std"] } +sp-core = { workspace = true, features = ["std"] } +sp-inherents = { workspace = true, features = ["std"] } +sp-keystore = { workspace = true } +sp-offchain = { workspace = true, features = ["std"] } +sp-runtime = { workspace = true, features = ["std"] } +sp-session = { workspace = true, features = ["std"] } +sp-std = { workspace = true, features = ["std"] } +sp-storage = { workspace = true } +sp-timestamp = { workspace = true } +sp-transaction-pool = { workspace = true, features = ["std"] } +sp-trie = { workspace = true, features = ["std"] } +sp-io = { workspace = true, features = ["std"], optional = true } + +cumulus-client-cli = { workspace = true } +cumulus-client-collator = { workspace = true } +cumulus-client-consensus-aura = { workspace = true } +cumulus-client-network = { workspace = true } +cumulus-client-service = { workspace = true } +cumulus-primitives-core = { workspace = true, features = ["std"] } +cumulus-primitives-parachain-inherent = { workspace = true } +cumulus-relay-chain-inprocess-interface = { workspace = true } +cumulus-relay-chain-interface = { workspace = true } +cumulus-relay-chain-rpc-interface = { workspace = true } +cumulus-client-consensus-common = { workspace = true } +cumulus-client-consensus-relay-chain = { workspace = true } +cumulus-relay-chain-minimal-node = { workspace = true } + +polkadot-cli = { workspace = true, features = ['kusama-native'] } +polkadot-parachain = { workspace = true, features = ["std"] } +polkadot-primitives = { workspace = true } +polkadot-service = { workspace = true } # Frontier dependencies -fc-consensus = { version='2.0.0-dev' } -fc-db = { version='2.0.0-dev' } -fc-mapping-sync = { version='2.0.0-dev' } -fc-rpc = { version='2.0.0-dev', features = ["rpc-binary-search-estimate"] } -fc-rpc-core = { version='1.1.0-dev' } -fp-consensus = { version='2.0.0-dev' } -fp-evm = { version='3.0.0-dev', default-features = false } -fp-storage = { version='2.0.0' } -fp-dynamic-fee = { version='1.0.0' } -fp-rpc = { version='3.0.0-dev'} -fp-self-contained = { version='1.0.0-dev'} -pallet-base-fee = { version='1.0.0'} -pallet-ethereum = { version='4.0.0-dev', features = ['forbid-evm-reentrancy']} -pallet-evm = { version='6.0.0-dev', features = ['forbid-evm-reentrancy']} +fc-consensus = { workspace = true } +fc-db = { workspace = true } +fc-mapping-sync = { workspace = true } +fc-rpc = { workspace = true, features = ["rpc-binary-search-estimate"] } +fc-rpc-core = { workspace = true } +fp-consensus = { workspace = true } +fp-evm = { workspace = true } +fp-storage = { workspace = true } +fp-dynamic-fee = { workspace = true } +fp-rpc = { workspace = true, features = ["std"] } +fp-self-contained = { workspace = true, features = ["std"] } +pallet-base-fee = { workspace = true, features = ["std"] } +pallet-ethereum = { workspace = true, features = ['forbid-evm-reentrancy','std']} +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy','std']} [build-dependencies] -substrate-build-script-utils = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +substrate-build-script-utils = { workspace = true } [[bin]] name = 'parallel' diff --git a/pallets/amm/Cargo.toml b/pallets/amm/Cargo.toml index de92864f4..433081000 100644 --- a/pallets/amm/Cargo.toml +++ b/pallets/amm/Cargo.toml @@ -1,32 +1,32 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-amm' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -num-traits = { default-features = false, version = '0.2' } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', features = ['derive'], optional = true } -sp-arithmetic = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +num-traits = { workspace = true } +pallet-assets = { workspace = true } +pallet-traits = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ['derive'], optional = true } +sp-arithmetic = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -pallet-balances = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } -pallet-currency-adapter = { path = '../currency-adapter' } -sp-core = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } -sp-io = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } +pallet-balances = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } +sp-io = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/asset-registry/Cargo.toml b/pallets/asset-registry/Cargo.toml index 1915bd67c..948ad3410 100644 --- a/pallets/asset-registry/Cargo.toml +++ b/pallets/asset-registry/Cargo.toml @@ -1,32 +1,32 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-asset-registry' -version = '1.9.8' +version = { workspace = true } [dependencies] -log = { version = '0.4', default-features = false } -serde = { version = '1.0.136', optional = true } +log = { workspace = true } +serde = { workspace = true, optional = true } # Substrate -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -parity-scale-codec = { version = '3.1.5', default-features = false, features = ['derive'] } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-traits = { workspace = true } +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +scale-info = { workspace = true, features = ['derive'] } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } # Polkadot -xcm = { git = 'https://github.com/paritytech/polkadot', branch = 'release-v0.9.36', default-features = false } +xcm = { workspace = true } # Benchmarks -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', optional = true, default-features = false } +frame-benchmarking = { workspace = true, optional = true } [dev-dependencies] -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +pallet-balances = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } [features] default = ['std'] @@ -34,7 +34,7 @@ runtime-benchmarks = ['frame-benchmarking'] std = [ 'frame-support/std', 'frame-system/std', - 'parity-scale-codec/std', + 'codec/std', 'pallet-traits/std', 'scale-info/std', 'serde', diff --git a/pallets/asset-registry/src/lib.rs b/pallets/asset-registry/src/lib.rs index 3c0617565..aca046165 100644 --- a/pallets/asset-registry/src/lib.rs +++ b/pallets/asset-registry/src/lib.rs @@ -31,9 +31,9 @@ pub use weights::WeightInfo; #[pallet] pub mod pallet { use super::*; + use codec::HasCompact; use frame_support::pallet_prelude::*; use frame_system::pallet_prelude::*; - use parity_scale_codec::HasCompact; use sp_runtime::traits::AtLeast32BitUnsigned; use sp_std::vec::Vec; diff --git a/pallets/asset-registry/src/mock.rs b/pallets/asset-registry/src/mock.rs index 367a2f6a7..45c43d5c6 100644 --- a/pallets/asset-registry/src/mock.rs +++ b/pallets/asset-registry/src/mock.rs @@ -14,7 +14,7 @@ use super::*; use crate as pallet_asset_registry; -use parity_scale_codec::{Decode, Encode}; +use codec::{Decode, Encode}; use frame_support::{construct_runtime, parameter_types, traits::Everything, RuntimeDebug}; use frame_system::EnsureRoot; diff --git a/pallets/bridge/Cargo.toml b/pallets/bridge/Cargo.toml index eeb24d550..f97c9f9b9 100644 --- a/pallets/bridge/Cargo.toml +++ b/pallets/bridge/Cargo.toml @@ -1,30 +1,30 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-bridge' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } +codec = { workspace = true, package = 'parity-scale-codec' } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-membership = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +pallet-assets = { workspace = true } +pallet-balances = { workspace = true } +pallet-membership = { workspace = true } +primitives = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -pallet-currency-adapter = { path = '../currency-adapter' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +pallet-currency-adapter = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } +sp-io = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/crowdloans/Cargo.toml b/pallets/crowdloans/Cargo.toml index 8c0c9f44d..5cc8fcb84 100644 --- a/pallets/crowdloans/Cargo.toml +++ b/pallets/crowdloans/Cargo.toml @@ -1,55 +1,55 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-crowdloans' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -pallet-xcm-helper = { path = '../xcm-helper', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -parallel-support = { path = '../../support', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-assets = { workspace = true } +pallet-traits = { workspace = true } +pallet-xcm = { workspace = true } +pallet-xcm-helper = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +xcm = { workspace = true } +parallel-support = { workspace = true } [dev-dependencies] -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -kusama-runtime = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', features = ['runtime-benchmarks'] } -orml-traits = { version = '0.4.1-dev' } -orml-xcm-support = { version = '0.4.1-dev' } -orml-xtokens = { version = '0.4.1-dev' } -pallet-babe = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -polkadot-core-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-runtime-parachains = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-cli = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -serde = { version = '1.0.136' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-simulator = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -bytes = { version = "1.1.0"} +cumulus-pallet-dmp-queue = { workspace = true, features = ['std'] } +cumulus-pallet-parachain-system = { workspace = true, features = ['std'] } +cumulus-pallet-xcm = { workspace = true, features = ['std'] } +cumulus-pallet-xcmp-queue = { workspace = true, features = ['std'] } +kusama-runtime = { workspace = true, features = ['runtime-benchmarks'] } +orml-traits = { workspace = true, features = ['std'] } +orml-xcm-support = { workspace = true, features = ['std'] } +orml-xtokens = { workspace = true, features = ['std'] } +pallet-babe = { workspace = true, features = ['std'] } +pallet-balances = { workspace = true, features = ['std'] } +pallet-session = { workspace = true, features = ['std'] } +pallet-timestamp = { workspace = true, features = ['std'] } +pallet-utility = { workspace = true, features = ['std'] } +parachain-info = { workspace = true, features = ['std'] } +polkadot-core-primitives = { workspace = true } +polkadot-parachain = { workspace = true, features = ['std'] } +polkadot-runtime-common = { workspace = true, features = ['std'] } +polkadot-runtime-parachains = { workspace = true } +polkadot-cli = { workspace = true } +serde = { workspace = true } +sp-core = { workspace = true, features = ['std'] } +sp-io = { workspace = true, features = ['std'] } +xcm-builder = { workspace = true, features = ['std'] } +xcm-executor = { workspace = true, features = ['std'] } +xcm-simulator = { workspace = true } +bytes = { workspace = true } [features] default = ['std'] diff --git a/pallets/currency-adapter/Cargo.toml b/pallets/currency-adapter/Cargo.toml index 1a365c608..321e80e6c 100644 --- a/pallets/currency-adapter/Cargo.toml +++ b/pallets/currency-adapter/Cargo.toml @@ -1,19 +1,19 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-currency-adapter' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-support = { workspace = true } +frame-system = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +sp-runtime = { workspace = true } [features] default = ['std'] diff --git a/pallets/emergency-shutdown/Cargo.toml b/pallets/emergency-shutdown/Cargo.toml index aff9877c3..182a824f0 100644 --- a/pallets/emergency-shutdown/Cargo.toml +++ b/pallets/emergency-shutdown/Cargo.toml @@ -1,24 +1,24 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-emergency-shutdown' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len']} +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-traits = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-core = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/evm-signatures/Cargo.toml b/pallets/evm-signatures/Cargo.toml index 13084ff60..8b98a2f55 100644 --- a/pallets/evm-signatures/Cargo.toml +++ b/pallets/evm-signatures/Cargo.toml @@ -1,30 +1,30 @@ [package] name = "pallet-evm-signatures" -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' -version = '1.9.8' +version = { workspace = true } [dependencies] -codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -scale-info = { version = "2.1.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.140", features = ["derive"], optional = true } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -pallet-evm = { version = '6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +frame-support = { workspace = true } +frame-system = { workspace = true } +scale-info = { workspace = true, features = ["derive"] } +serde = { workspace = true, features = ["derive"], optional = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } +primitives = { workspace = true } [dev-dependencies] -hex-literal = "0.3.4" -libsecp256k1 = "0.7.0" -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +hex-literal = { workspace = true } +libsecp256k1 = { workspace = true } +pallet-balances = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } +sp-keyring = { workspace = true } +pallet-assets = { workspace = true, features = ['std'] } [features] default = ["std"] diff --git a/pallets/farming/Cargo.toml b/pallets/farming/Cargo.toml index 52355aeb0..ad0752b57 100644 --- a/pallets/farming/Cargo.toml +++ b/pallets/farming/Cargo.toml @@ -1,31 +1,31 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-farming' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -num-traits = { default-features = false, version = '0.2' } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', features = ['derive'], optional = true } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +num-traits = { workspace = true } +pallet-assets = { workspace = true } +pallet-traits = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ['derive'], optional = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -pallet-balances = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } -pallet-currency-adapter = { path = '../currency-adapter' } -sp-core = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } +pallet-balances = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/liquid-staking/Cargo.toml b/pallets/liquid-staking/Cargo.toml index 691f5c3aa..d3003dac7 100644 --- a/pallets/liquid-staking/Cargo.toml +++ b/pallets/liquid-staking/Cargo.toml @@ -1,63 +1,63 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-liquid-staking' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -pallet-xcm-helper = { path = '../xcm-helper', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-trie = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-assets = { workspace = true } +pallet-traits = { workspace = true } +pallet-utility = { workspace = true } +pallet-xcm = { workspace = true } +pallet-xcm-helper = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +sp-trie = { workspace = true } +xcm = { workspace = true } # parallel pallets -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } +primitives = { workspace = true } [dev-dependencies] -pallet-babe = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-staking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -serde = { version = '1.0.136' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-state-machine = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +pallet-babe = { workspace = true, features = ['std'] } +pallet-balances = { workspace = true, features = ['std'] } +pallet-session = { workspace = true, features = ['std'] } +pallet-staking = { workspace = true, features = ['std'] } +pallet-timestamp = { workspace = true, features = ['std'] } +serde = { workspace = true } +sp-core = { workspace = true, features = ['std'] } +sp-io = { workspace = true, features = ['std'] } +sp-state-machine = { workspace = true } -kusama-runtime = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', features = ['runtime-benchmarks'] } -polkadot-core-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-runtime-parachains = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-simulator = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } +kusama-runtime = { workspace = true, features = ['runtime-benchmarks'] } +polkadot-core-primitives = { workspace = true } +polkadot-parachain = { workspace = true, features = ['std'] } +polkadot-runtime-parachains = { workspace = true } +xcm-builder = { workspace = true, features = ['std'] } +xcm-executor = { workspace = true, features = ['std'] } +xcm-simulator = { workspace = true } -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } +cumulus-pallet-dmp-queue = { workspace = true, features = ['std'] } +cumulus-pallet-parachain-system = { workspace = true, features = ['std'] } +cumulus-pallet-xcm = { workspace = true, features = ['std'] } +cumulus-pallet-xcmp-queue = { workspace = true, features = ['std'] } +parachain-info = { workspace = true, features = ['std'] } hex = '0.4.3' -orml-traits = { version = '0.4.1-dev' } -orml-xcm-support = { version = '0.4.1-dev' } -orml-xtokens = { version = '0.4.1-dev' } +orml-traits = { version = '0.4.1-dev', features = ['std'] } +orml-xcm-support = { version = '0.4.1-dev', features = ['std'] } +orml-xtokens = { version = '0.4.1-dev', features = ['std'] } -pallet-loans = { path = '../loans' } -pallet-currency-adapter = { path = '../currency-adapter' } +pallet-loans = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/loans/Cargo.toml b/pallets/loans/Cargo.toml index 3d9d6eea6..7a78561f5 100644 --- a/pallets/loans/Cargo.toml +++ b/pallets/loans/Cargo.toml @@ -1,36 +1,36 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-loans' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -num-traits = { default-features = false, version = '0.2' } -orml-traits = { version = '0.4.1-dev', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-prices = { path = '../prices', default-features = false } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', features = ['derive'], optional = true } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec' } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +num-traits = { workspace = true } +orml-traits = { workspace = true } +pallet-assets = { workspace = true } +pallet-balances = { workspace = true } +pallet-prices = { workspace = true } +pallet-timestamp = { workspace = true } +pallet-traits = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ['derive'], optional = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -orml-oracle = { version = '0.4.1-dev' } -pallet-amm = { path = '../amm' } -pallet-currency-adapter = { path = '../currency-adapter' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +orml-oracle = { workspace = true, features = ['std'] } +pallet-amm = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/loans/rpc/Cargo.toml b/pallets/loans/rpc/Cargo.toml index 036601079..535219725 100644 --- a/pallets/loans/rpc/Cargo.toml +++ b/pallets/loans/rpc/Cargo.toml @@ -1,19 +1,19 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-loans-rpc' -version = '1.9.8' +version = { workspace = true } [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5' } +codec = { workspace = true, features = ['std'] } jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -primitives = { package = 'parallel-primitives', path = '../../../primitives', default-features = false } -serde = { version = '1.0.136', features = ['derive'] } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +primitives = { workspace = true } +serde = { workspace = true, features = ['derive'] } +sp-api = { workspace = true, features = ['std'] } +sp-blockchain = { workspace = true } +sp-core = { workspace = true, features = ['std'] } +sp-rpc = { workspace = true } +sp-runtime = { workspace = true, features = ['std'] } pallet-loans-rpc-runtime-api = { path = 'runtime-api', default-features = false } diff --git a/pallets/loans/rpc/runtime-api/Cargo.toml b/pallets/loans/rpc/runtime-api/Cargo.toml index 18f8066ca..d23dbc394 100644 --- a/pallets/loans/rpc/runtime-api/Cargo.toml +++ b/pallets/loans/rpc/runtime-api/Cargo.toml @@ -1,14 +1,14 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-loans-rpc-runtime-api' -version = '1.9.8' +version = { workspace = true } [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false, features = ['derive'] } -primitives = { package = 'parallel-primitives', path = '../../../../primitives', default-features = false } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, features = ['derive'] } +primitives = { workspace = true } +sp-api = { workspace = true } +sp-runtime = { workspace = true } [features] default = ['std'] diff --git a/pallets/prices/Cargo.toml b/pallets/prices/Cargo.toml index 7e8685e12..e525d8e8c 100644 --- a/pallets/prices/Cargo.toml +++ b/pallets/prices/Cargo.toml @@ -1,30 +1,30 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-prices' -version = '1.9.8' +version = { workspace = true } [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-amm = { path = '../amm', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -orml-oracle = { version = '0.4.1-dev', default-features = false } -orml-traits = { version = '0.4.1-dev', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', optional = true } -num-traits = { default-features = false, version = '0.2' } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec' } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +pallet-amm = { workspace = true } +pallet-assets = { workspace = true } +orml-oracle = { workspace = true } +orml-traits = { workspace = true } +pallet-traits = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, optional = true } +num-traits = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-currency-adapter = { path = '../currency-adapter' } +sp-io = { workspace = true, features = ['std'] } +pallet-balances = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/router/Cargo.toml b/pallets/router/Cargo.toml index c2e96051c..ad8e0831f 100644 --- a/pallets/router/Cargo.toml +++ b/pallets/router/Cargo.toml @@ -1,30 +1,30 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-router' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-amm = { path = '../amm', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -parity-scale-codec = { version = '3.1.5', default-features = false, features = ['derive'] } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-amm = { workspace = true } +pallet-assets = { workspace = true } +pallet-traits = { workspace = true } +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-currency-adapter = { path = '../currency-adapter' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +pallet-balances = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } +sp-io = { workspace = true, features = ['std'] } [features] default = ['std'] @@ -34,7 +34,7 @@ std = [ 'frame-system/std', 'pallet-amm/std', 'pallet-assets/std', - 'parity-scale-codec/std', + 'codec/std', 'primitives/std', 'sp-std/std', 'sp-runtime/std', diff --git a/pallets/router/rpc/Cargo.toml b/pallets/router/rpc/Cargo.toml index 5d1f6b7d4..2dfcf39c8 100644 --- a/pallets/router/rpc/Cargo.toml +++ b/pallets/router/rpc/Cargo.toml @@ -1,20 +1,20 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-router-rpc' -version = '1.9.8' +version = { workspace = true } [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5' } -jsonrpsee = { version = "0.16.2", features = ["server", "macros"] } -primitives = { package = 'parallel-primitives', path = '../../../primitives', default-features = false } -serde = { version = '1.0.136', features = ['derive'] } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, features = ['std'] } +jsonrpsee = { workspace = true, features = ["server", "macros"] } +primitives = { workspace = true } +serde = { workspace = true, features = ['derive'] } +sp-api = { workspace = true, features = ['std'] } +sp-blockchain = { workspace = true } +sp-core = { workspace = true, features = ['std'] } +sp-rpc = { workspace = true } +sp-runtime = { workspace = true, features = ['std'] } +sp-std = { workspace = true } pallet-router-rpc-runtime-api = { path = 'runtime-api', default-features = false } diff --git a/pallets/router/rpc/runtime-api/Cargo.toml b/pallets/router/rpc/runtime-api/Cargo.toml index 9c0865c67..68d87a60b 100644 --- a/pallets/router/rpc/runtime-api/Cargo.toml +++ b/pallets/router/rpc/runtime-api/Cargo.toml @@ -1,15 +1,15 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-router-rpc-runtime-api' -version = '1.9.8' +version = { workspace = true } [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false, features = ['derive'] } -primitives = { package = 'parallel-primitives', path = '../../../../primitives', default-features = false } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, features = ['derive'] } +primitives = { workspace = true } +sp-api = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [features] default = ['std'] diff --git a/pallets/router/src/mock.rs b/pallets/router/src/mock.rs index d895c3d55..8d1fe118c 100644 --- a/pallets/router/src/mock.rs +++ b/pallets/router/src/mock.rs @@ -105,7 +105,7 @@ impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; type AssetId = CurrencyId; - type AssetIdParameter = parity_scale_codec::Compact; + type AssetIdParameter = codec::Compact; type Currency = Balances; type CreateOrigin = AsEnsureOriginWithArg>; type ForceOrigin = EnsureRoot; diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index baf97874d..1aefcf713 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,32 +1,32 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-stableswap' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -num-traits = { default-features = false, version = '0.2' } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', features = ['derive'], optional = true } -sp-arithmetic = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +num-traits = { workspace = true } +pallet-assets = { workspace = true } +pallet-traits = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ['derive'], optional = true } +sp-arithmetic = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [dev-dependencies] -pallet-balances = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } -pallet-currency-adapter = { path = '../currency-adapter' } -sp-core = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } -sp-io = { branch = 'polkadot-v0.9.36', git = 'https://github.com/paritytech/substrate.git' } +pallet-balances = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } +sp-io = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/streaming/Cargo.toml b/pallets/streaming/Cargo.toml index 3ed909de3..20177e6d6 100644 --- a/pallets/streaming/Cargo.toml +++ b/pallets/streaming/Cargo.toml @@ -1,33 +1,33 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-streaming' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -orml-traits = { version = '0.4.1-dev', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', features = ['derive'], optional = true } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec' } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +orml-traits = { workspace = true } +pallet-assets = { workspace = true } +pallet-balances = { workspace = true } +pallet-timestamp = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ['derive'], optional = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +pallet-traits = { workspace = true } [dev-dependencies] -orml-oracle = { version = '0.4.1-dev' } -pallet-currency-adapter = { path = '../currency-adapter' } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +orml-oracle = { workspace = true, features = ['std'] } +pallet-currency-adapter = { workspace = true, features = ['std'] } +sp-core = { workspace = true, features = ['std'] } +sp-io = { workspace = true, features = ['std'] } [features] diff --git a/pallets/traits/Cargo.toml b/pallets/traits/Cargo.toml index ab0afb54b..258e90440 100644 --- a/pallets/traits/Cargo.toml +++ b/pallets/traits/Cargo.toml @@ -1,32 +1,32 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-traits' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -serde = { version = '1.0.136', features = ['derive'], optional = true } -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -log = { version = "0.4", default-features = false } -num-bigint = { default-features = false, version = '0.4' } -num-traits = { default-features = false, version = '0.2' } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +serde = { workspace = true, features = ['derive'], optional = true } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-support = { workspace = true } +frame-system = { workspace = true } +log = { workspace = true } +num-bigint = { workspace = true } +num-traits = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } [dev-dependencies] -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-core = { workspace = true, features = ['std'] } [features] default = ['std'] diff --git a/pallets/xcm-helper/Cargo.toml b/pallets/xcm-helper/Cargo.toml index a3752758c..5304b7ee5 100644 --- a/pallets/xcm-helper/Cargo.toml +++ b/pallets/xcm-helper/Cargo.toml @@ -1,50 +1,50 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'pallet-xcm-helper' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-traits = { path = '../traits', default-features = false } -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ['max-encoded-len'] } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-assets = { workspace = true } +pallet-traits = { workspace = true } +pallet-xcm = { workspace = true } +primitives = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +xcm = { workspace = true } +xcm-executor = { workspace = true } [dev-dependencies] -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -kusama-runtime = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', features = ['runtime-benchmarks'] } -orml-xcm-support = { version = '0.4.1-dev' } -pallet-babe = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36' } -polkadot-core-primitives = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -polkadot-runtime-parachains = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -serde = { version = '1.0.136' } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } -xcm-simulator = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36' } +cumulus-pallet-dmp-queue = { workspace = true, features = ['std'] } +cumulus-pallet-parachain-system = { workspace = true, features = ['std'] } +cumulus-pallet-xcm = { workspace = true, features = ['std'] } +cumulus-pallet-xcmp-queue = { workspace = true, features = ['std'] } +kusama-runtime = { workspace = true, features = ['runtime-benchmarks'] } +orml-xcm-support = { workspace = true, features = ['std'] } +pallet-babe = { workspace = true, features = ['std'] } +pallet-balances = { workspace = true, features = ['std'] } +pallet-session = { workspace = true, features = ['std'] } +pallet-timestamp = { workspace = true, features = ['std'] } +pallet-utility = { workspace = true, features = ['std'] } +parachain-info = { workspace = true, features = ['std'] } +polkadot-core-primitives = { workspace = true } +polkadot-parachain = { workspace = true, features = ['std'] } +polkadot-runtime-parachains = { workspace = true } +serde = { workspace = true } +sp-io = { workspace = true } +xcm-builder = { workspace = true, features = ['std'] } +xcm-executor = { workspace = true, features = ['std'] } +xcm-simulator = { workspace = true } [features] default = ['std'] diff --git a/precompiles/assets-erc20/Cargo.toml b/precompiles/assets-erc20/Cargo.toml index fba6d7fee..74414c94d 100644 --- a/precompiles/assets-erc20/Cargo.toml +++ b/precompiles/assets-erc20/Cargo.toml @@ -1,44 +1,44 @@ [package] name = 'pallet-evm-precompile-assets-erc20' -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' -version = '1.9.8' +version = { workspace = true } [dependencies] -log = "0.4.16" -num_enum = { version = "0.5.3", default-features = false } -paste = "1.0.6" -slices = "0.2.0" +log = { workspace = true } +num_enum = { workspace = true } +paste = { workspace = true } +slices = { workspace = true } -precompile-utils = { path = "../utils", default-features = false } +precompile-utils = { workspace = true } # Substrate -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -scale-info = { version = "2.1.0", default-features = false, features = [ "derive" ] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = ["max-encoded-len"] } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-assets = { workspace = true } +pallet-balances = { workspace = true } +pallet-timestamp = { workspace = true } +scale-info = { workspace = true, features = [ "derive" ] } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } # Frontier -fp-evm = { version='3.0.0-dev', default-features = false } -pallet-evm = { version='6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +fp-evm = { workspace = true } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } [dev-dependencies] -derive_more = { version = "0.99" } -serde = { version = "1.0.100" } -sha3 = "0.10.1" +derive_more = { workspace = true } +serde = { workspace = true } +sha3 = { workspace = true } -precompile-utils = { path = "../utils", features = ["testing"] } +precompile-utils = { workspace = true, features = ["testing"] } -codec = { package = "parity-scale-codec", version = "3.0.0", features = ["max-encoded-len"] } -scale-info = { version = "2.1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } +codec = { workspace = true, features = ["max-encoded-len", "std"] } +scale-info = { workspace = true, features = ["derive"] } +sp-runtime = { workspace = true } [features] default = ["std"] diff --git a/precompiles/balances-erc20/Cargo.toml b/precompiles/balances-erc20/Cargo.toml index 5de74f468..94d47063f 100644 --- a/precompiles/balances-erc20/Cargo.toml +++ b/precompiles/balances-erc20/Cargo.toml @@ -1,46 +1,46 @@ [package] name = "pallet-evm-precompile-balances-erc20" -authors = [ "Parallel Team" ] +authors = { workspace = true } description = "A Precompile to expose a Balances pallet through an ERC20-compliant interface." edition = "2021" -version = "1.9.8" +version = { workspace = true } [dependencies] -log = "0.4" -num_enum = { version = "0.5.3", default-features = false } -paste = "1.0.6" -slices = "0.2.0" +log = { workspace = true } +num_enum = { workspace = true } +paste = { workspace = true } +slices = { workspace = true } # Moonbeam -precompile-utils = { path = "../utils", default-features = false } +precompile-utils = { workspace = true } # Substrate -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [ "max-encoded-len" ] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } +codec = { workspace = true, package = 'parity-scale-codec', features = [ "max-encoded-len" ] } +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-balances = { workspace = true } +pallet-timestamp = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } # Frontier -fp-evm = { version='3.0.0-dev', default-features = false } -pallet-evm = { version='6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +fp-evm = { workspace = true } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } [dev-dependencies] -derive_more = { version = "0.99" } -hex-literal = "0.3.4" -libsecp256k1 = "0.7" -serde = { version = "1.0.100" } -sha3 = "0.8" +derive_more = { workspace = true } +hex-literal = { workspace = true } +libsecp256k1 = { workspace = true } +serde = { workspace = true } +sha3 = { workspace = true } # Moonbeam -precompile-utils = { path = "../utils", features = [ "testing" ] } +precompile-utils = { workspace = true, features = [ "testing" ] } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } -scale-info = { version = "2.0", default-features = false, features = [ "derive" ] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36" } +pallet-timestamp = { workspace = true } +scale-info = { workspace = true, features = [ "derive" ] } +sp-runtime = { workspace = true } [features] default = [ "std" ] diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index b4cdf9d72..efc52fe79 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -1,37 +1,37 @@ [package] name = "precompile-utils" -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' -version = '1.9.8' +version = { workspace = true } [dependencies] -impl-trait-for-tuples = "0.2.2" -log = "0.4.16" -num_enum = { version = "0.5.3", default-features = false } -sha3 = { version = "0.10.1", default-features = false } -similar-asserts = { version = "1.1.0", optional = true } +impl-trait-for-tuples = { workspace = true } +log = { workspace = true } +num_enum = { workspace = true } +similar-asserts = { workspace = true, optional = true } precompile-utils-macro = { path = "macro" } # Substrate -codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.36", default-features = false } +codec = { workspace = true, package = 'parity-scale-codec' } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } # Frontier -evm = { version = '0.37.0', default-features = false, features = ["with-codec"] } -fp-evm = { version='3.0.0-dev', default-features = false } -pallet-evm = { version='6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +evm = { workspace = true, features = ["with-codec"] } +fp-evm = { workspace = true } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } # Polkadot / XCM -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.36", default-features = false } +xcm = { workspace = true } [dev-dependencies] -hex-literal = "0.3.1" +hex-literal = { workspace = true } +sha3 = { workspace = true } [features] default = ["std"] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 1a369ba7a..5821f7966 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,23 +1,23 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'parallel-primitives' -version = '1.9.8' +version = { workspace = true } [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -log = { version = "0.4", default-features = false } -orml-oracle = { version = '0.4.1-dev', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', optional = true } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +codec = { workspace = true, package = 'parity-scale-codec' } +cumulus-primitives-core = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +log = { workspace = true } +orml-oracle = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, optional = true } +sp-consensus-aura = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } [features] default = ['std'] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index f4c24bfb4..a134afd37 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,50 +1,48 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } description = 'A decentralized lending protocol which allow users to earn "double interests" from staking and lending' edition = '2021' homepage = 'https://parallel.fi' license = 'Apache' name = 'runtime-common' -repository = 'https://github.com/parallel-finance/parallel' -version = '1.9.8' +repository = { workspace = true } +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -smallvec = '1.6.1' +smallvec = { workspace = true } # Substrate dependencies -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-std = { workspace = true } +sp-runtime = { workspace = true } +pallet-assets = { workspace = true } +pallet-balances = { workspace = true } +pallet-timestamp = { workspace = true } # Polkadot dependencies -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +polkadot-runtime-common = { workspace = true } # Frontier dependencies -fp-rpc = { version = '3.0.0-dev', default-features = false } -fp-self-contained = { version = '1.0.0-dev', default-features = false } -# pallet-base-fee = { version = '1.0.0', default-features = false } -# pallet-ethereum = { version = '4.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } -pallet-evm = { version = '6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } -pallet-evm-precompile-blake2 = { version = '2.0.0-dev', default-features = false } -pallet-evm-precompile-bn128 = { version = '2.0.0-dev', default-features = false } -pallet-evm-precompile-dispatch = { version = '2.0.0-dev', default-features = false } -pallet-evm-precompile-ed25519 = { version = '2.0.0-dev', default-features = false } -pallet-evm-precompile-modexp = { version = '2.0.0-dev', default-features = false } -pallet-evm-precompile-sha3fips = { version = '2.0.0-dev', default-features = false } -pallet-evm-precompile-simple = { version = '2.0.0-dev', default-features = false } +fp-rpc = { workspace = true } +fp-self-contained = { workspace = true } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } +pallet-evm-precompile-blake2 = { workspace = true } +pallet-evm-precompile-bn128 = { workspace = true } +pallet-evm-precompile-dispatch = { workspace = true } +pallet-evm-precompile-ed25519 = { workspace = true } +pallet-evm-precompile-modexp = { workspace = true } +pallet-evm-precompile-sha3fips = { workspace = true } +pallet-evm-precompile-simple = { workspace = true } # Parallel dependencies -pallet-evm-precompile-assets-erc20 = { path = '../../precompiles/assets-erc20', default-features = false } -pallet-evm-precompile-balances-erc20 = { path = '../../precompiles/balances-erc20', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } +pallet-evm-precompile-assets-erc20 = { workspace = true } +pallet-evm-precompile-balances-erc20 = { workspace = true } +primitives = { workspace = true } [features] default = ['std'] diff --git a/runtime/heiko/Cargo.toml b/runtime/heiko/Cargo.toml index 5579c78c5..e17ddec2c 100644 --- a/runtime/heiko/Cargo.toml +++ b/runtime/heiko/Cargo.toml @@ -1,123 +1,122 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } build = 'build.rs' description = 'A decentralized lending protocol which allow users to earn "double interests" from staking and lending' edition = '2021' homepage = 'https://parallel.fi' license = 'Apache' name = 'heiko-runtime' -repository = 'https://github.com/parallel-finance/parallel' -version = '1.9.8' +repository = { workspace = true } +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false, features = ['derive'] } -hex-literal = '0.3.3' -serde = { version = '1.0.136', features = ['derive'], optional = true } -static_assertions = '1.1.0' +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +hex-literal = { workspace = true } +serde = { workspace = true, features = ['derive'], optional = true } +static_assertions = { workspace = true } # Substrate dependencies -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-executive = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-try-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collective = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-democracy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-identity = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-membership = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-preimage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-proxy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-scheduler = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-treasury = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-version = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-benchmarking = { workspace = true, optional = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-benchmarking = { workspace = true, optional = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } +pallet-assets = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-collective = { 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-scheduler = { workspace = true } +pallet-session = { 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 } +scale-info = { workspace = true, features = ['derive'] } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-aura = { 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 } # Polkadot dependencies -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +pallet-xcm = { workspace = true } +polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } # ORML dependencies -orml-oracle = { version = '0.4.1-dev', default-features = false } -orml-oracle-rpc-runtime-api = { version = '0.4.1-dev', default-features = false } -orml-traits = { version = '0.4.1-dev', default-features = false } -orml-vesting = { version = '0.4.1-dev', default-features = false } -orml-xcm = { version = '0.4.1-dev', default-features = false } -orml-xcm-support = { version = '0.4.1-dev', default-features = false } -orml-xtokens = { version = '0.4.1-dev', default-features = false } +orml-oracle = { workspace = true } +orml-oracle-rpc-runtime-api = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xcm = { workspace = true } +orml-xcm-support = { workspace = true } +orml-xtokens = { workspace = true } # Frontier dependencies -pallet-base-fee = { version = '1.0.0', default-features = false } -pallet-ethereum = { version = '4.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } -pallet-evm = { version = '6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +pallet-base-fee = { workspace = true } +pallet-ethereum = { workspace = true, features = ['forbid-evm-reentrancy'] } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } # Parallel dependencies -runtime-common = { path = '../common', default-features = false } -pallet-amm = { path = '../../pallets/amm', default-features = false } -pallet-asset-registry = { path = '../../pallets/asset-registry', default-features = false } -pallet-bridge = { path = '../../pallets/bridge', default-features = false } -pallet-crowdloans = { path = '../../pallets/crowdloans', default-features = false } -pallet-currency-adapter = { path = '../../pallets/currency-adapter', default-features = false } -pallet-emergency-shutdown = { path = '../../pallets/emergency-shutdown', default-features = false } -pallet-evm-signatures = { path = '../../pallets/evm-signatures', default-features = false } -pallet-farming = { path = '../../pallets/farming', default-features = false } -pallet-liquid-staking = { path = '../../pallets/liquid-staking', default-features = false } -pallet-loans = { path = '../../pallets/loans', default-features = false } -pallet-loans-rpc-runtime-api = { path = '../../pallets/loans/rpc/runtime-api', default-features = false } -pallet-prices = { path = '../../pallets/prices', default-features = false } -pallet-router = { path = '../../pallets/router', default-features = false } -pallet-router-rpc-runtime-api = { path = '../../pallets/router/rpc/runtime-api', default-features = false } -pallet-streaming = { path = '../../pallets/streaming', default-features = false } -pallet-traits = { path = '../../pallets/traits', default-features = false } -pallet-xcm-helper = { path = '../../pallets/xcm-helper', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } +runtime-common = { workspace = true } +pallet-amm = { workspace = true } +pallet-asset-registry = { workspace = true } +pallet-bridge = { workspace = true } +pallet-crowdloans = { workspace = true } +pallet-currency-adapter = { workspace = true } +pallet-emergency-shutdown = { workspace = true } +pallet-farming = { workspace = true } +pallet-liquid-staking = { workspace = true } +pallet-loans = { workspace = true } +pallet-loans-rpc-runtime-api = { workspace = true } +pallet-prices = { workspace = true } +pallet-router = { workspace = true } +pallet-router-rpc-runtime-api = { workspace = true } +pallet-streaming = { workspace = true } +pallet-traits = { workspace = true } +pallet-xcm-helper = { workspace = true } +primitives = { workspace = true } +pallet-evm-signatures = { workspace = true } [build-dependencies.substrate-wasm-builder] -branch = 'polkadot-v0.9.36' -git = 'https://github.com/paritytech/substrate.git' +workspace = true [dev-dependencies] -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-io = { workspace = true } [features] default = ['std'] diff --git a/runtime/kerria/Cargo.toml b/runtime/kerria/Cargo.toml index e11f831ff..e5b8caf8d 100644 --- a/runtime/kerria/Cargo.toml +++ b/runtime/kerria/Cargo.toml @@ -1,124 +1,123 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } build = 'build.rs' description = 'A decentralized lending protocol which allow users to earn "double interests" from staking and lending' edition = '2021' homepage = 'https://parallel.fi' license = 'Apache' name = 'kerria-runtime' -repository = 'https://github.com/parallel-finance/parallel' -version = '1.9.8' +repository = { workspace = true } +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false, features = ['derive'] } -hex-literal = '0.3.3' -serde = { version = '1.0.136', features = ['derive'], optional = true } -static_assertions = '1.1.0' +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +hex-literal = { workspace = true } +serde = { workspace = true, features = ['derive'], optional = true } +static_assertions = { workspace = true } # Substrate dependencies -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-executive = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-try-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collective = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-democracy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-identity = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-membership = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-preimage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-proxy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-scheduler = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-sudo = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-treasury = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-version = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-benchmarking = { workspace = true, optional = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-benchmarking = { workspace = true, optional = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } +pallet-assets = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-collective = { 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-scheduler = { workspace = true } +pallet-session = { 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 } +scale-info = { workspace = true, features = ['derive'] } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-aura = { 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 } # Polkadot dependencies -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +pallet-xcm = { workspace = true } +polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } # ORML dependencies -orml-oracle = { version = '0.4.1-dev', default-features = false } -orml-oracle-rpc-runtime-api = { version = '0.4.1-dev', default-features = false } -orml-traits = { version = '0.4.1-dev', default-features = false } -orml-vesting = { version = '0.4.1-dev', default-features = false } -orml-xcm = { version = '0.4.1-dev', default-features = false } -orml-xcm-support = { version = '0.4.1-dev', default-features = false } -orml-xtokens = { version = '0.4.1-dev', default-features = false } +orml-oracle = { workspace = true } +orml-oracle-rpc-runtime-api = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xcm = { workspace = true } +orml-xcm-support = { workspace = true } +orml-xtokens = { workspace = true } # Frontier dependencies -pallet-base-fee = { version = '1.0.0', default-features = false } -pallet-ethereum = { version = '4.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } -pallet-evm = { version = '6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +pallet-base-fee = { workspace = true } +pallet-ethereum = { workspace = true, features = ['forbid-evm-reentrancy'] } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } # Parallel dependencies -runtime-common = { path = '../common', default-features = false } -pallet-amm = { path = '../../pallets/amm', default-features = false } -pallet-asset-registry = { path = '../../pallets/asset-registry', default-features = false } -pallet-bridge = { path = '../../pallets/bridge', default-features = false } -pallet-crowdloans = { path = '../../pallets/crowdloans', default-features = false } -pallet-currency-adapter = { path = '../../pallets/currency-adapter', default-features = false } -pallet-emergency-shutdown = { path = '../../pallets/emergency-shutdown', default-features = false } -pallet-farming = { path = '../../pallets/farming', default-features = false } -pallet-liquid-staking = { path = '../../pallets/liquid-staking', default-features = false } -pallet-loans = { path = '../../pallets/loans', default-features = false } -pallet-loans-rpc-runtime-api = { path = '../../pallets/loans/rpc/runtime-api', default-features = false } -pallet-prices = { path = '../../pallets/prices', default-features = false } -pallet-router = { path = '../../pallets/router', default-features = false } -pallet-router-rpc-runtime-api = { path = '../../pallets/router/rpc/runtime-api', default-features = false } -pallet-streaming = { path = '../../pallets/streaming', default-features = false } -pallet-traits = { path = '../../pallets/traits', default-features = false } -pallet-xcm-helper = { path = '../../pallets/xcm-helper', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -pallet-evm-signatures = { path = '../../pallets/evm-signatures', default-features = false } +runtime-common = { workspace = true } +pallet-amm = { workspace = true } +pallet-asset-registry = { workspace = true } +pallet-bridge = { workspace = true } +pallet-crowdloans = { workspace = true } +pallet-currency-adapter = { workspace = true } +pallet-emergency-shutdown = { workspace = true } +pallet-farming = { workspace = true } +pallet-liquid-staking = { workspace = true } +pallet-loans = { workspace = true } +pallet-loans-rpc-runtime-api = { workspace = true } +pallet-prices = { workspace = true } +pallet-router = { workspace = true } +pallet-router-rpc-runtime-api = { workspace = true } +pallet-streaming = { workspace = true } +pallet-traits = { workspace = true } +pallet-xcm-helper = { workspace = true } +primitives = { workspace = true } +pallet-evm-signatures = { workspace = true } [build-dependencies.substrate-wasm-builder] -branch = 'polkadot-v0.9.36' -git = 'https://github.com/paritytech/substrate.git' +workspace = true [dev-dependencies] -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-io = { workspace = true } [features] default = ['std'] diff --git a/runtime/parallel/Cargo.toml b/runtime/parallel/Cargo.toml index 37423f47a..3182378e5 100644 --- a/runtime/parallel/Cargo.toml +++ b/runtime/parallel/Cargo.toml @@ -1,124 +1,122 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } build = 'build.rs' description = 'A decentralized lending protocol which allow users to earn "double interests" from staking and lending' edition = '2021' homepage = 'https://parallel.fi' license = 'Apache' name = 'parallel-runtime' -repository = 'https://github.com/parallel-finance/parallel' -version = '1.9.8' +repository = { workspace = true } +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false, features = ['derive'] } -hex-literal = '0.3.3' -serde = { version = '1.0.136', features = ['derive'], optional = true } -smallvec = '1.6.1' -static_assertions = '1.1.0' +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +hex-literal = { workspace = true } +serde = { workspace = true, features = ['derive'], optional = true } +static_assertions = { workspace = true } # Substrate dependencies -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-executive = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-try-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collective = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-democracy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-identity = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-membership = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-preimage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-proxy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-scheduler = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-treasury = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-version = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-benchmarking = { workspace = true, optional = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-benchmarking = { workspace = true, optional = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } +pallet-assets = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-collective = { 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-scheduler = { workspace = true } +pallet-session = { 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 } +scale-info = { workspace = true, features = ['derive'] } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-aura = { 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 } # Polkadot dependencies -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +pallet-xcm = { workspace = true } +polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } # ORML dependencies -orml-oracle = { version = '0.4.1-dev', default-features = false } -orml-oracle-rpc-runtime-api = { version = '0.4.1-dev', default-features = false } -orml-traits = { version = '0.4.1-dev', default-features = false } -orml-vesting = { version = '0.4.1-dev', default-features = false } -orml-xcm = { version = '0.4.1-dev', default-features = false } -orml-xcm-support = { version = '0.4.1-dev', default-features = false } -orml-xtokens = { version = '0.4.1-dev', default-features = false } +orml-oracle = { workspace = true } +orml-oracle-rpc-runtime-api = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xcm = { workspace = true } +orml-xcm-support = { workspace = true } +orml-xtokens = { workspace = true } # Frontier dependencies -pallet-base-fee = { version = '1.0.0', default-features = false } -pallet-ethereum = { version = '4.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } -pallet-evm = { version = '6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +pallet-base-fee = { workspace = true } +pallet-ethereum = { workspace = true, features = ['forbid-evm-reentrancy'] } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } # Parallel dependencies -runtime-common = { path = '../common', default-features = false } -pallet-amm = { path = '../../pallets/amm', default-features = false } -pallet-asset-registry = { path = '../../pallets/asset-registry', default-features = false } -pallet-bridge = { path = '../../pallets/bridge', default-features = false } -pallet-crowdloans = { path = '../../pallets/crowdloans', default-features = false } -pallet-currency-adapter = { path = '../../pallets/currency-adapter', default-features = false } -pallet-emergency-shutdown = { path = '../../pallets/emergency-shutdown', default-features = false } -pallet-farming = { path = '../../pallets/farming', default-features = false } -pallet-liquid-staking = { path = '../../pallets/liquid-staking', default-features = false } -pallet-loans = { path = '../../pallets/loans', default-features = false } -pallet-loans-rpc-runtime-api = { path = '../../pallets/loans/rpc/runtime-api', default-features = false } -pallet-prices = { path = '../../pallets/prices', default-features = false } -pallet-router = { path = '../../pallets/router', default-features = false } -pallet-router-rpc-runtime-api = { path = '../../pallets/router/rpc/runtime-api', default-features = false } -pallet-streaming = { path = '../../pallets/streaming', default-features = false } -pallet-traits = { path = '../../pallets/traits', default-features = false } -pallet-xcm-helper = { path = '../../pallets/xcm-helper', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } -pallet-evm-signatures = { path = '../../pallets/evm-signatures', default-features = false } +runtime-common = { workspace = true } +pallet-amm = { workspace = true } +pallet-asset-registry = { workspace = true } +pallet-bridge = { workspace = true } +pallet-crowdloans = { workspace = true } +pallet-currency-adapter = { workspace = true } +pallet-emergency-shutdown = { workspace = true } +pallet-farming = { workspace = true } +pallet-liquid-staking = { workspace = true } +pallet-loans = { workspace = true } +pallet-loans-rpc-runtime-api = { workspace = true } +pallet-prices = { workspace = true } +pallet-router = { workspace = true } +pallet-router-rpc-runtime-api = { workspace = true } +pallet-streaming = { workspace = true } +pallet-traits = { workspace = true } +pallet-xcm-helper = { workspace = true } +primitives = { workspace = true } +pallet-evm-signatures = { workspace = true } [build-dependencies.substrate-wasm-builder] -branch = 'polkadot-v0.9.36' -git = 'https://github.com/paritytech/substrate.git' +workspace = true [dev-dependencies] -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-io = { workspace = true } [features] default = ['std'] diff --git a/runtime/vanilla/Cargo.toml b/runtime/vanilla/Cargo.toml index d9f0406c8..4131ec52f 100644 --- a/runtime/vanilla/Cargo.toml +++ b/runtime/vanilla/Cargo.toml @@ -1,125 +1,124 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } build = 'build.rs' description = 'A decentralized lending protocol which allow users to earn "double interests" from staking and lending' edition = '2021' homepage = 'https://parallel.fi' license = 'Apache' name = 'vanilla-runtime' -repository = 'https://github.com/parallel-finance/parallel' -version = '1.9.8' +repository = { workspace = true } +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', default-features = false, features = ['derive'] } -hex-literal = '0.3.3' -serde = { version = '1.0.136', features = ['derive'], optional = true } -static_assertions = '1.1.0' +codec = { workspace = true, package = 'parity-scale-codec', features = ['derive'] } +hex-literal = { workspace = true } +serde = { workspace = true, features = ['derive'], optional = true } +static_assertions = { workspace = true } # Substrate dependencies -frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-executive = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -frame-system-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -frame-try-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false, optional = true } -pallet-assets = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-authorship = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-balances = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collective = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-democracy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-identity = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-membership = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-multisig = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-preimage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-proxy = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-scheduler = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-sudo = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-timestamp = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-treasury = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-utility = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-inherents = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-version = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +frame-benchmarking = { workspace = true, optional = true } +frame-executive = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-system-benchmarking = { workspace = true, optional = true } +frame-system-rpc-runtime-api = { workspace = true } +frame-try-runtime = { workspace = true, optional = true } +pallet-assets = { workspace = true } +pallet-aura = { workspace = true } +pallet-authorship = { workspace = true } +pallet-balances = { workspace = true } +pallet-collective = { 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-scheduler = { workspace = true } +pallet-session = { 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 } +scale-info = { workspace = true, features = ['derive'] } +sp-api = { workspace = true } +sp-block-builder = { workspace = true } +sp-consensus-aura = { 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 } # Polkadot dependencies -pallet-xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-parachain = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-builder = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } -xcm-executor = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.36', default-features = false } +pallet-xcm = { workspace = true } +polkadot-parachain = { workspace = true } +polkadot-runtime-common = { workspace = true } +xcm = { workspace = true } +xcm-builder = { workspace = true } +xcm-executor = { workspace = true } # Cumulus dependencies -cumulus-pallet-aura-ext = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-dmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-parachain-system = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcm = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-pallet-xcmp-queue = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-timestamp = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -cumulus-primitives-utility = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -pallet-collator-selection = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } -parachain-info = { git = 'https://github.com/paritytech/cumulus.git', branch = 'polkadot-v0.9.36', default-features = false } +cumulus-pallet-aura-ext = { workspace = true } +cumulus-pallet-dmp-queue = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-pallet-xcm = { workspace = true } +cumulus-pallet-xcmp-queue = { workspace = true } +cumulus-primitives-core = { workspace = true } +cumulus-primitives-timestamp = { workspace = true } +cumulus-primitives-utility = { workspace = true } +pallet-collator-selection = { workspace = true } +parachain-info = { workspace = true } # ORML dependencies -orml-oracle = { version = '0.4.1-dev', default-features = false } -orml-oracle-rpc-runtime-api = { version = '0.4.1-dev', default-features = false } -orml-traits = { version = '0.4.1-dev', default-features = false } -orml-vesting = { version = '0.4.1-dev', default-features = false } -orml-xcm = { version = '0.4.1-dev', default-features = false } -orml-xcm-support = { version = '0.4.1-dev', default-features = false } -orml-xtokens = { version = '0.4.1-dev', default-features = false } +orml-oracle = { workspace = true } +orml-oracle-rpc-runtime-api = { workspace = true } +orml-traits = { workspace = true } +orml-vesting = { workspace = true } +orml-xcm = { workspace = true } +orml-xcm-support = { workspace = true } +orml-xtokens = { workspace = true } # Frontier dependencies -pallet-base-fee = { version = '1.0.0', default-features = false } -pallet-ethereum = { version = '4.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } -pallet-evm = { version = '6.0.0-dev', default-features = false, features = ['forbid-evm-reentrancy'] } +pallet-base-fee = { workspace = true } +pallet-ethereum = { workspace = true, features = ['forbid-evm-reentrancy'] } +pallet-evm = { workspace = true, features = ['forbid-evm-reentrancy'] } # Parallel dependencies -runtime-common = { path = '../common', default-features = false } -pallet-amm = { path = '../../pallets/amm', default-features = false } -pallet-asset-registry = { path = '../../pallets/asset-registry', default-features = false } -pallet-bridge = { path = '../../pallets/bridge', default-features = false } -pallet-crowdloans = { path = '../../pallets/crowdloans', default-features = false } -pallet-currency-adapter = { path = '../../pallets/currency-adapter', default-features = false } -pallet-emergency-shutdown = { path = '../../pallets/emergency-shutdown', default-features = false } -pallet-evm-signatures = { path = '../../pallets/evm-signatures', default-features = false } -pallet-farming = { path = '../../pallets/farming', default-features = false } -pallet-liquid-staking = { path = '../../pallets/liquid-staking', default-features = false } -pallet-loans = { path = '../../pallets/loans', default-features = false } -pallet-loans-rpc-runtime-api = { path = '../../pallets/loans/rpc/runtime-api', default-features = false } -pallet-prices = { path = '../../pallets/prices', default-features = false } -pallet-router = { path = '../../pallets/router', default-features = false } -pallet-router-rpc-runtime-api = { path = '../../pallets/router/rpc/runtime-api', default-features = false } -pallet-stableswap = { path = '../../pallets/stableswap', default-features = false } -pallet-streaming = { path = '../../pallets/streaming', default-features = false } -pallet-traits = { path = '../../pallets/traits', default-features = false } -pallet-xcm-helper = { path = '../../pallets/xcm-helper', default-features = false } -primitives = { package = 'parallel-primitives', path = '../../primitives', default-features = false } +runtime-common = { workspace = true } +pallet-amm = { workspace = true } +pallet-asset-registry = { workspace = true } +pallet-bridge = { workspace = true } +pallet-crowdloans = { workspace = true } +pallet-currency-adapter = { workspace = true } +pallet-emergency-shutdown = { workspace = true } +pallet-farming = { workspace = true } +pallet-liquid-staking = { workspace = true } +pallet-loans = { workspace = true } +pallet-loans-rpc-runtime-api = { workspace = true } +pallet-prices = { workspace = true } +pallet-router = { workspace = true } +pallet-router-rpc-runtime-api = { workspace = true } +pallet-stableswap = { workspace = true } +pallet-streaming = { workspace = true } +pallet-traits = { workspace = true } +pallet-xcm-helper = { workspace = true } +primitives = { workspace = true } +pallet-evm-signatures = { workspace = true } [build-dependencies.substrate-wasm-builder] -branch = 'polkadot-v0.9.36' -git = 'https://github.com/paritytech/substrate.git' +workspace = true [dev-dependencies] -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } +sp-io = { workspace = true } [features] default = ['std'] diff --git a/support/Cargo.toml b/support/Cargo.toml index 378d13e4a..61828800b 100644 --- a/support/Cargo.toml +++ b/support/Cargo.toml @@ -1,28 +1,28 @@ [package] -authors = ['Parallel Team'] +authors = { workspace = true } edition = '2021' name = 'parallel-support' -version = '1.9.8' +version = { workspace = true } [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] [dependencies] -codec = { package = 'parity-scale-codec', version = '3.1.5', features = ['max-encoded-len'], default-features = false } -frame-support = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -log = { version = '0.4', default-features = false } -num-bigint = { default-features = false, version = '0.4' } -num-traits = { default-features = false, version = '0.2' } -scale-info = { version = '2.1', default-features = false, features = ['derive'] } -serde = { version = '1.0.136', features = ['derive'], optional = true } -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-io = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -sp-std = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36', default-features = false } -substrate-fixed = { git = 'https://github.com/encointer/substrate-fixed.git', default-features = false } +codec = { workspace = true, features = ['max-encoded-len'] } +frame-support = { workspace = true } +log = { workspace = true } +num-bigint = { workspace = true } +num-traits = { workspace = true } +scale-info = { workspace = true, features = ['derive'] } +serde = { workspace = true, features = ['derive'], optional = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +substrate-fixed = { workspace = true } [dev-dependencies] -sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.36' } +sp-core = { workspace = true } [features] default = ['std']