From f1096059156f4696b8f3e5d27b7b6c58a59c642e Mon Sep 17 00:00:00 2001 From: Takeichitanaka Date: Wed, 26 Nov 2025 02:01:53 +0200 Subject: [PATCH] Update Substrate dependencies to Polkadot SDK v1.7.0 --- bin/inspect/Cargo.toml | 14 +- bin/node/Cargo.toml | 150 +++++++++--------- bin/utils/chain-spec-builder/Cargo.toml | 10 +- bin/utils/session-keys/Cargo.toml | 10 +- runtime-modules/argo-bridge/Cargo.toml | 26 +-- runtime-modules/bounty/Cargo.toml | 24 +-- runtime-modules/common/Cargo.toml | 14 +- runtime-modules/constitution/Cargo.toml | 16 +- runtime-modules/content/Cargo.toml | 24 +-- runtime-modules/council/Cargo.toml | 20 +-- runtime-modules/forum/Cargo.toml | 24 +-- runtime-modules/membership/Cargo.toml | 20 +-- runtime-modules/project-token/Cargo.toml | 22 +-- runtime-modules/proposals/codex/Cargo.toml | 38 ++--- .../proposals/discussion/Cargo.toml | 18 +-- runtime-modules/proposals/engine/Cargo.toml | 20 +-- runtime-modules/referendum/Cargo.toml | 20 +-- runtime-modules/staking-handler/Cargo.toml | 18 +-- runtime-modules/storage/Cargo.toml | 28 ++-- runtime-modules/utility/Cargo.toml | 22 +-- runtime-modules/working-group/Cargo.toml | 22 +-- runtime/Cargo.toml | 100 ++++++------ update-substrate-deps.sh | 21 +++ 23 files changed, 351 insertions(+), 330 deletions(-) create mode 100755 update-substrate-deps.sh diff --git a/bin/inspect/Cargo.toml b/bin/inspect/Cargo.toml index 812c34800c..05abefcfca 100644 --- a/bin/inspect/Cargo.toml +++ b/bin/inspect/Cargo.toml @@ -11,11 +11,11 @@ repository = "https://github.com/paritytech/substrate/" clap = { version = "4.0.9", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.2.2" } thiserror = "1.0" -sc-cli = { package = 'sc-cli', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sc-client-api = { package = 'sc-client-api', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sc-executor = { package = 'sc-executor', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sc-service = { package = 'sc-service', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', default-features = false } -sp-blockchain = { package = 'sp-blockchain', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { package = 'sp-core', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-runtime = { package = 'sp-runtime', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sc-cli = { package = 'sc-cli', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sc-client-api = { package = 'sc-client-api', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sc-executor = { package = 'sc-executor', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sc-service = { package = 'sc-service', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', default-features = false } +sp-blockchain = { package = 'sp-blockchain', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { package = 'sp-core', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-runtime = { package = 'sp-runtime', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } overrides = { package = "overrides", path = "../overrides" } diff --git a/bin/node/Cargo.toml b/bin/node/Cargo.toml index 7a1097139f..6755a95284 100644 --- a/bin/node/Cargo.toml +++ b/bin/node/Cargo.toml @@ -26,60 +26,60 @@ rand = "0.8" hex = { version = "0.4.2" } # primitives -sp-authority-discovery = { package = 'sp-authority-discovery', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-consensus-babe = { package = 'sp-consensus-babe', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -grandpa-primitives = { package = "sp-consensus-grandpa", git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-api = { package = 'sp-api', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-timestamp = { package = 'sp-timestamp', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-inherents = { package = 'sp-inherents', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-keyring = { package = 'sp-keyring', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-keystore = { package = 'sp-keystore', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-consensus = { package = 'sp-consensus', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-transaction-pool = { package = 'sp-transaction-pool', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-transaction-storage-proof = { package = 'sp-transaction-storage-proof', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-block-builder = { package = 'sp-block-builder', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-blockchain = { package = 'sp-blockchain', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-io = { package = 'sp-io', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-authority-discovery = { package = 'sp-authority-discovery', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-consensus-babe = { package = 'sp-consensus-babe', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +grandpa-primitives = { package = "sp-consensus-grandpa", git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-api = { package = 'sp-api', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-timestamp = { package = 'sp-timestamp', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-inherents = { package = 'sp-inherents', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-keyring = { package = 'sp-keyring', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-keystore = { package = 'sp-keystore', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-consensus = { package = 'sp-consensus', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-transaction-pool = { package = 'sp-transaction-pool', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-transaction-storage-proof = { package = 'sp-transaction-storage-proof', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-block-builder = { package = 'sp-block-builder', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-blockchain = { package = 'sp-blockchain', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-io = { package = 'sp-io', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} # client dependencies -sc-client-api = { package = 'sc-client-api', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-chain-spec = { package = 'sc-chain-spec', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus = { package = 'sc-consensus', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-transaction-pool = { package = 'sc-transaction-pool', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-transaction-pool-api = { package = 'sc-transaction-pool-api', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-network = { package = 'sc-network', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-network-common = { package = 'sc-network-common', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-network-sync = { package = 'sc-network-sync', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-slots = { package = 'sc-consensus-slots', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-babe = { package = 'sc-consensus-babe', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-babe-rpc = { package = 'sc-consensus-babe-rpc', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-epochs = { package = 'sc-consensus-epochs', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-grandpa = { package = "sc-consensus-grandpa", git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-grandpa-rpc = { package = 'sc-consensus-grandpa-rpc', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-rpc = { package = 'sc-rpc', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-rpc-api = { package = 'sc-rpc-api', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-rpc-spec-v2 = { package = 'sc-rpc-spec-v2', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-basic-authorship = { package = 'sc-basic-authorship', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-service = { package = 'sc-service', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-telemetry = { package = 'sc-telemetry', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-executor = { package = 'sc-executor', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-authority-discovery = { package = 'sc-authority-discovery', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-sync-state-rpc = { package = 'sc-sync-state-rpc', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-sysinfo = { package = 'sc-sysinfo', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-transaction-payment-rpc = { package = 'pallet-transaction-payment-rpc', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -substrate-frame-rpc-system = { package = 'substrate-frame-rpc-system', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -substrate-state-trie-migration-rpc = { package = 'substrate-state-trie-migration-rpc', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-storage-monitor = { package = 'sc-storage-monitor', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sc-client-api = { package = 'sc-client-api', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-chain-spec = { package = 'sc-chain-spec', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus = { package = 'sc-consensus', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-transaction-pool = { package = 'sc-transaction-pool', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-transaction-pool-api = { package = 'sc-transaction-pool-api', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-network = { package = 'sc-network', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-network-common = { package = 'sc-network-common', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-network-sync = { package = 'sc-network-sync', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-slots = { package = 'sc-consensus-slots', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-babe = { package = 'sc-consensus-babe', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-babe-rpc = { package = 'sc-consensus-babe-rpc', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-epochs = { package = 'sc-consensus-epochs', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-grandpa = { package = "sc-consensus-grandpa", git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-grandpa-rpc = { package = 'sc-consensus-grandpa-rpc', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-rpc = { package = 'sc-rpc', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-rpc-api = { package = 'sc-rpc-api', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-rpc-spec-v2 = { package = 'sc-rpc-spec-v2', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-basic-authorship = { package = 'sc-basic-authorship', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-service = { package = 'sc-service', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-telemetry = { package = 'sc-telemetry', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-executor = { package = 'sc-executor', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-authority-discovery = { package = 'sc-authority-discovery', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-sync-state-rpc = { package = 'sc-sync-state-rpc', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-sysinfo = { package = 'sc-sysinfo', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-transaction-payment-rpc = { package = 'pallet-transaction-payment-rpc', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +substrate-frame-rpc-system = { package = 'substrate-frame-rpc-system', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +substrate-state-trie-migration-rpc = { package = 'substrate-state-trie-migration-rpc', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-storage-monitor = { package = 'sc-storage-monitor', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} # frame dependencies -frame-system = { package = 'frame-system',git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system-rpc-runtime-api = { package = 'frame-system-rpc-runtime-api', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-transaction-payment = { package = 'pallet-transaction-payment', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-transaction-storage = { package = 'pallet-transaction-storage', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +frame-system = { package = 'frame-system',git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system-rpc-runtime-api = { package = 'frame-system-rpc-runtime-api', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-transaction-payment = { package = 'pallet-transaction-payment', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-transaction-storage = { package = 'pallet-transaction-storage', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} # node-specific dependencies node-runtime = { package = "joystream-node-runtime", path = "../../runtime" } @@ -88,28 +88,28 @@ node-runtime = { package = "joystream-node-runtime", path = "../../runtime" } overrides = { package = "overrides", path = "../overrides" } # CLI-specific dependencies -sc-cli = { package = 'sc-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-benchmarking-cli = { package = 'frame-benchmarking-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-benchmarking = { package = 'frame-benchmarking', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sc-cli = { package = 'sc-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-benchmarking-cli = { package = 'frame-benchmarking-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-benchmarking = { package = 'frame-benchmarking', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} serde_json = "1.0.79" node-inspect = { path = "../inspect", optional = true } -try-runtime-cli = { package = 'try-runtime-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +try-runtime-cli = { package = 'try-runtime-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies] -sc-cli = { package = 'sc-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-service = { package = 'sc-service', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-trie = { package = 'sp-trie', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sc-cli = { package = 'sc-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-service = { package = 'sc-service', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-trie = { package = 'sp-trie', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [dev-dependencies] -sc-keystore = { package = 'sc-keystore', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-client-db = { package = 'sc-client-db', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus = { package = 'sc-consensus', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-babe = { package = 'sc-consensus-babe', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-consensus-epochs = { package = 'sc-consensus-epochs', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-service-test = { package = 'sc-service-test', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-block-builder = { package = 'sc-block-builder', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-tracing = { package = 'sp-tracing', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-blockchain = { package = 'sp-blockchain', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sc-keystore = { package = 'sc-keystore', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-client-db = { package = 'sc-client-db', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus = { package = 'sc-consensus', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-babe = { package = 'sc-consensus-babe', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-consensus-epochs = { package = 'sc-consensus-epochs', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-service-test = { package = 'sc-service-test', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-block-builder = { package = 'sc-block-builder', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-tracing = { package = 'sp-tracing', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-blockchain = { package = 'sp-blockchain', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} futures = "0.3.21" tempfile = "3.1.0" assert_cmd = "2.0.2" @@ -122,20 +122,20 @@ soketto = "0.7.1" criterion = { version = "0.3.5", features = ["async_tokio"] } tokio = { version = "1.17.0", features = ["macros", "time", "parking_lot"] } wait-timeout = "0.2" -remote-externalities = { package = 'frame-remote-externalities', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-timestamp = { package = 'pallet-timestamp', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +remote-externalities = { package = 'frame-remote-externalities', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-timestamp = { package = 'pallet-timestamp', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [build-dependencies] clap = { version = "4.0.9", optional = true } clap_complete = { version = "4.0.2", optional = true } -frame-benchmarking-cli = { package = 'frame-benchmarking-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -substrate-build-script-utils = { package = 'substrate-build-script-utils', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -substrate-frame-cli = { package = 'substrate-frame-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sc-cli = { package = 'sc-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-balances = { package = 'pallet-balances', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +frame-benchmarking-cli = { package = 'frame-benchmarking-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +substrate-build-script-utils = { package = 'substrate-build-script-utils', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +substrate-frame-cli = { package = 'substrate-frame-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sc-cli = { package = 'sc-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-balances = { package = 'pallet-balances', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} node-inspect = { path = "../inspect", optional = true } -sc-storage-monitor = { package = 'sc-storage-monitor', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -try-runtime-cli = { package = 'try-runtime-cli', optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sc-storage-monitor = { package = 'sc-storage-monitor', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +try-runtime-cli = { package = 'try-runtime-cli', optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [features] default = ["cli"] diff --git a/bin/utils/chain-spec-builder/Cargo.toml b/bin/utils/chain-spec-builder/Cargo.toml index af029abcd4..8bd4093fad 100644 --- a/bin/utils/chain-spec-builder/Cargo.toml +++ b/bin/utils/chain-spec-builder/Cargo.toml @@ -11,9 +11,9 @@ async-std = {version = "1.9.0", features = ["attributes"]} futures-util = "0.3.15" clap = { version = "3.1.18", features = ["derive"] } rand = "0.8" -sc-keystore = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sc-telemetry = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sc-chain-spec = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-keystore = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sc-keystore = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sc-telemetry = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sc-chain-spec = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-keystore = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } joystream-node = { path = "../../node" } diff --git a/bin/utils/session-keys/Cargo.toml b/bin/utils/session-keys/Cargo.toml index a51bb86a20..bbfdbb57e6 100644 --- a/bin/utils/session-keys/Cargo.toml +++ b/bin/utils/session-keys/Cargo.toml @@ -10,10 +10,10 @@ async-std = {version = "1.9.0", features = ["attributes"]} futures-util = "0.3.15" clap = { version = "3.1.18", features = ["derive"] } rand = "0.8" -sc-keystore = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sc-telemetry = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sc-chain-spec = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-keystore = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sc-keystore = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sc-telemetry = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sc-chain-spec = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-keystore = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } joystream-node = { path = "../../node" } serde_json = "1.0.79" \ No newline at end of file diff --git a/runtime-modules/argo-bridge/Cargo.toml b/runtime-modules/argo-bridge/Cargo.toml index ed5141e95e..e8e6ca3627 100644 --- a/runtime-modules/argo-bridge/Cargo.toml +++ b/runtime-modules/argo-bridge/Cargo.toml @@ -5,30 +5,30 @@ authors = ['Joystream contributors'] edition = '2018' [dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../common'} storage = { package = 'pallet-storage', default-features = false, path = '../storage'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} membership = { package = 'pallet-membership', default-features = false, path = '../membership'} codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } serde = {version = '1.0.101', features = ['derive'], optional = true} scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } # Benchmarking dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} [dev-dependencies] -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'} -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-storage = { package = 'sp-storage', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-storage = { package = 'sp-storage', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [features] default = ['std', 'runtime-benchmarks'] diff --git a/runtime-modules/bounty/Cargo.toml b/runtime-modules/bounty/Cargo.toml index b5063500d4..d057b39a79 100644 --- a/runtime-modules/bounty/Cargo.toml +++ b/runtime-modules/bounty/Cargo.toml @@ -8,28 +8,28 @@ edition = '2018' serde = { version = "1.0.101", optional = true, features = ["derive"] } codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../common'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'} static_assertions = "1.1.0" # Benchmarking -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} council = { package = 'pallet-council', default-features = false, path = '../council'} referendum = { package = 'pallet-referendum', default-features = false, path = '../referendum'} membership = { package = 'pallet-membership', default-features = false, path = '../membership'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [dev-dependencies] -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} membership = { package = 'pallet-membership', default-features = false, path = '../membership'} council = { package = 'pallet-council', default-features = false, path = '../council'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'} diff --git a/runtime-modules/common/Cargo.toml b/runtime-modules/common/Cargo.toml index 970a4e774a..8597f74e76 100644 --- a/runtime-modules/common/Cargo.toml +++ b/runtime-modules/common/Cargo.toml @@ -14,13 +14,13 @@ codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = scale-info = { version = "2.1.1", default-features = false, features = [ "derive", ] } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } [dev-dependencies] parameterized = { version = "1.1.0" } diff --git a/runtime-modules/constitution/Cargo.toml b/runtime-modules/constitution/Cargo.toml index 662c06dc7c..b72d121001 100644 --- a/runtime-modules/constitution/Cargo.toml +++ b/runtime-modules/constitution/Cargo.toml @@ -8,17 +8,17 @@ edition = '2018' serde = { version = "1.0.101", optional = true, features = ["derive"] } codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame_system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} -pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame_system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} +pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } common = { package = 'pallet-common', default-features = false, path = '../common'} [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [features] default = ['std'] diff --git a/runtime-modules/content/Cargo.toml b/runtime-modules/content/Cargo.toml index a7cbb6b97f..1202b04cc5 100755 --- a/runtime-modules/content/Cargo.toml +++ b/runtime-modules/content/Cargo.toml @@ -5,11 +5,11 @@ authors = ['Joystream contributors'] edition = '2018' [dependencies] -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = [ 'derive', ] } @@ -22,29 +22,29 @@ strum_macros = { version = "0.19", optional = true } common = { package = 'pallet-common', default-features = false, path = '../common' } storage = { package = 'pallet-storage', default-features = false, path = '../storage' } membership = { package = 'pallet-membership', default-features = false, path = '../membership' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } project-token = { package = 'pallet-project-token', default-features = false, path = '../project-token' } varaint-count = { version = '1.1.0', package = 'variant_count' } # Benchmarking -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group', optional = true } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # util log = { version = "0.4.17", default-features = false } [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler' } working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group' } derive-fixture = { package = 'derive-fixture', default-features = false, path = '../support/derive-fixture' } common = { package = 'pallet-common', default-features = false, features = [ 'test', ], path = '../common' } -vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } derive-new = "0.5" [features] diff --git a/runtime-modules/council/Cargo.toml b/runtime-modules/council/Cargo.toml index 08e403f2a1..27d45058c4 100644 --- a/runtime-modules/council/Cargo.toml +++ b/runtime-modules/council/Cargo.toml @@ -8,25 +8,25 @@ edition = '2018' codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } serde = { version = '1.0.101', optional = true} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../common'} referendum = { package = 'pallet-referendum', default-features = false, path = '../referendum'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} #Benchmark dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} membership = { package = 'pallet-membership', default-features = false, path = '../membership', optional = true} [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} rand = "0.7.3" -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} membership = { package = 'pallet-membership', default-features = false, path = '../membership'} [features] diff --git a/runtime-modules/forum/Cargo.toml b/runtime-modules/forum/Cargo.toml index 035306817f..09dc5a3785 100755 --- a/runtime-modules/forum/Cargo.toml +++ b/runtime-modules/forum/Cargo.toml @@ -12,26 +12,26 @@ codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = scale-info = { version = "2.1.1", default-features = false, features = [ "derive", ] } -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } common = { package = 'pallet-common', default-features = false, path = '../common' } -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # Benchmarking dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } membership = { package = 'pallet-membership', default-features = false, path = '../membership', optional = true } working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group', optional = true } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler', optional = true } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } [dev-dependencies] -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } membership = { package = 'pallet-membership', default-features = false, path = '../membership' } working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group' } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler' } diff --git a/runtime-modules/membership/Cargo.toml b/runtime-modules/membership/Cargo.toml index 03a21738b5..e85f467a47 100644 --- a/runtime-modules/membership/Cargo.toml +++ b/runtime-modules/membership/Cargo.toml @@ -8,21 +8,21 @@ edition = '2018' serde = { version = "1.0.101", optional = true, features = ["derive"] } codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../common'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'} # Benchmarking dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} # working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group'} [features] diff --git a/runtime-modules/project-token/Cargo.toml b/runtime-modules/project-token/Cargo.toml index 6ee19abadf..25d78c8fdf 100644 --- a/runtime-modules/project-token/Cargo.toml +++ b/runtime-modules/project-token/Cargo.toml @@ -5,28 +5,28 @@ authors = ['Joystream contributors'] edition = '2018' [dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../common'} storage = { package = 'pallet-storage', default-features = false, path = '../storage'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} membership = { package = 'pallet-membership', default-features = false, path = '../membership'} codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } serde = {version = '1.0.101', features = ['derive'], optional = true} scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } # Benchmarking dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} [dev-dependencies] -randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'} -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-storage = { package = 'sp-storage', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-storage = { package = 'sp-storage', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} [features] default = ['std'] diff --git a/runtime-modules/proposals/codex/Cargo.toml b/runtime-modules/proposals/codex/Cargo.toml index 2346f4a5a4..5e776ddccb 100644 --- a/runtime-modules/proposals/codex/Cargo.toml +++ b/runtime-modules/proposals/codex/Cargo.toml @@ -12,14 +12,14 @@ codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = scale-info = { version = "2.1.1", default-features = false, features = [ "derive", ] } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } working-group = { package = 'pallet-working-group', default-features = false, path = '../../working-group' } common = { package = 'pallet-common', default-features = false, path = '../../common' } proposals-engine = { package = 'pallet-proposals-engine', default-features = false, path = '../engine' } @@ -27,28 +27,28 @@ proposals-discussion = { package = 'pallet-proposals-discussion', default-featur constitution = { package = 'pallet-constitution', default-features = false, path = '../../constitution' } membership = { package = 'pallet-membership', default-features = false, path = '../../membership' } content = { package = 'pallet-content', default-features = false, path = '../../content' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } council = { package = 'pallet-council', default-features = false, path = '../../council' } token = { package = 'pallet-project-token', default-features = false, path = '../../project-token' } argo-bridge = { package = 'pallet-argo-bridge', default-features = false, path = '../../argo-bridge' } # Benchmarking dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } [dev-dependencies] storage = { package = 'pallet-storage', default-features = false, path = '../../storage' } -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } strum = { version = "0.19", default-features = false } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../../staking-handler' } referendum = { package = 'pallet-referendum', default-features = false, path = '../../referendum' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-election-provider-support = { package = 'frame-election-provider-support', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-bags-list = { package = 'pallet-bags-list', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-npos-elections = { package = 'sp-npos-elections', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-election-provider-support = { package = 'frame-election-provider-support', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-bags-list = { package = 'pallet-bags-list', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-npos-elections = { package = 'sp-npos-elections', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } [features] default = ['std'] diff --git a/runtime-modules/proposals/discussion/Cargo.toml b/runtime-modules/proposals/discussion/Cargo.toml index 7ad76575bf..6245ca4485 100644 --- a/runtime-modules/proposals/discussion/Cargo.toml +++ b/runtime-modules/proposals/discussion/Cargo.toml @@ -8,23 +8,23 @@ edition = '2018' serde = { version = "1.0.101", optional = true, features = ["derive"] } codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../../common'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} # Benchmarking dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} membership = { package = 'pallet-membership', default-features = false, path = '../../membership', optional = true} council = { package = 'pallet-council', default-features = false, path = '../../council', optional = true} referendum = { package = 'pallet-referendum', default-features = false, path = '../../referendum', optional = true} [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} membership = { package = 'pallet-membership', default-features = false, path = '../../membership'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../../staking-handler'} council = { package = 'pallet-council', default-features = false, path = '../../council'} diff --git a/runtime-modules/proposals/engine/Cargo.toml b/runtime-modules/proposals/engine/Cargo.toml index d3b0de639f..f19168ae25 100644 --- a/runtime-modules/proposals/engine/Cargo.toml +++ b/runtime-modules/proposals/engine/Cargo.toml @@ -8,25 +8,25 @@ edition = '2018' serde = { version = "1.0.101", optional = true, features = ["derive"] } codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../../common'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../../staking-handler'} # Benchmark dependencies. -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true} +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true} membership = { package = 'pallet-membership', default-features = false, path = '../../membership', optional = true} council = { package = 'pallet-council', default-features = false, path = '../../council', optional = true} referendum = { package = 'pallet-referendum', default-features = false, path = '../../referendum', optional = true} [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} council = { package = 'pallet-council', default-features = false, path = '../../council'} membership = { package = 'pallet-membership', default-features = false, path = '../../membership'} referendum = { package = 'pallet-referendum', default-features = false, path = '../../referendum'} diff --git a/runtime-modules/referendum/Cargo.toml b/runtime-modules/referendum/Cargo.toml index 7cad5aa08d..df54849ffa 100644 --- a/runtime-modules/referendum/Cargo.toml +++ b/runtime-modules/referendum/Cargo.toml @@ -8,24 +8,24 @@ edition = '2018' codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } serde = { version = '1.0.101', optional = true} -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../common'} -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler'} # Benchmark dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } membership = { package = 'pallet-membership', default-features = false, path = '../membership', optional = true } [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} rand = "0.7.3" -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} membership = { package = 'pallet-membership', default-features = false, path = '../membership' } [features] diff --git a/runtime-modules/staking-handler/Cargo.toml b/runtime-modules/staking-handler/Cargo.toml index f5eaf0703d..8f3e99c83c 100644 --- a/runtime-modules/staking-handler/Cargo.toml +++ b/runtime-modules/staking-handler/Cargo.toml @@ -5,20 +5,20 @@ authors = ['Joystream contributors'] edition = '2018' [dependencies] -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} common = { package = 'pallet-common', default-features = false, path = '../common'} [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9'} +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0'} serde = { version = "1.0.101", features = ["derive"] } [features] diff --git a/runtime-modules/storage/Cargo.toml b/runtime-modules/storage/Cargo.toml index c6714fc40c..9920b061ad 100644 --- a/runtime-modules/storage/Cargo.toml +++ b/runtime-modules/storage/Cargo.toml @@ -12,29 +12,29 @@ codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = scale-info = { version = "2.1.1", default-features = false, features = [ "derive", ] } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } common = { package = 'pallet-common', default-features = false, path = '../common' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # Benchmarking -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group', optional = true } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } membership = { package = 'pallet-membership', default-features = false, optional = true, path = '../membership' } [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler' } membership = { package = 'pallet-membership', default-features = false, path = '../membership' } -randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } derive-fixture = { package = 'derive-fixture', default-features = false, path = '../support/derive-fixture' } derive-new = "0.5" diff --git a/runtime-modules/utility/Cargo.toml b/runtime-modules/utility/Cargo.toml index d243a8a85d..7d9e9a1e5a 100644 --- a/runtime-modules/utility/Cargo.toml +++ b/runtime-modules/utility/Cargo.toml @@ -12,27 +12,27 @@ codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = scale-info = { version = "2.1.1", default-features = false, features = [ "derive", ] } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame_system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame_system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } council = { package = 'pallet-council', default-features = false, path = '../council' } common = { package = 'pallet-common', default-features = false, path = '../common' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # Benchmarking dependencies -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } working-group = { package = 'pallet-working-group', default-features = false, path = '../working-group' } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler' } referendum = { package = 'pallet-referendum', default-features = false, path = '../referendum' } membership = { package = 'pallet-membership', default-features = false, path = '../membership' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } strum = { version = "0.19", default-features = false } [features] diff --git a/runtime-modules/working-group/Cargo.toml b/runtime-modules/working-group/Cargo.toml index 0a76cea929..aa1b421594 100644 --- a/runtime-modules/working-group/Cargo.toml +++ b/runtime-modules/working-group/Cargo.toml @@ -12,24 +12,24 @@ codec = { package = 'parity-scale-codec', version = '3.1.2', default-features = scale-info = { version = "2.1.1", default-features = false, features = [ "derive", ] } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } common = { package = 'pallet-common', default-features = false, path = '../common' } -balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../staking-handler' } # Benchmarking -frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', optional = true } +frame-benchmarking = { package = 'frame-benchmarking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', optional = true } membership = { package = 'pallet-membership', default-features = false, path = '../membership', optional = true } [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } membership = { package = 'pallet-membership', default-features = false, path = '../membership' } [features] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index ca12cd546a..9adc1ed0aa 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -24,63 +24,63 @@ static_assertions = "1.1.0" impl-serde = { version = "=0.3.1", optional = true } # Substrate primitives -sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-offchain = { package = 'sp-offchain', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-authority-discovery = { package = 'sp-authority-discovery', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-consensus-babe = { package = 'sp-consensus-babe', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-transaction-pool = { package = 'sp-transaction-pool', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-session = { package = 'sp-session', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-block-builder = { package = 'sp-block-builder', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-api = { package = 'sp-api', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-version = { package = 'sp-version', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-application-crypto = { package = 'sp-application-crypto', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -sp-weights = { package = 'sp-weights', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-offchain = { package = 'sp-offchain', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-authority-discovery = { package = 'sp-authority-discovery', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-consensus-babe = { package = 'sp-consensus-babe', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-transaction-pool = { package = 'sp-transaction-pool', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-session = { package = 'sp-session', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-block-builder = { package = 'sp-block-builder', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-api = { package = 'sp-api', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-version = { package = 'sp-version', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-application-crypto = { package = 'sp-application-crypto', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +sp-weights = { package = 'sp-weights', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # Frame -frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-executive = { package = 'frame-executive', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system-rpc-runtime-api = { package = 'frame-system-rpc-runtime-api', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-election-provider-support = { package = 'frame-election-provider-support', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-election-provider-multi-phase = { package = 'pallet-election-provider-multi-phase', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-bags-list = { package = 'pallet-bags-list', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -frame-try-runtime = { package = 'frame-try-runtime', default-features = false, optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-executive = { package = 'frame-executive', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system-rpc-runtime-api = { package = 'frame-system-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-election-provider-support = { package = 'frame-election-provider-support', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-election-provider-multi-phase = { package = 'pallet-election-provider-multi-phase', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-bags-list = { package = 'pallet-bags-list', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +frame-try-runtime = { package = 'frame-try-runtime', default-features = false, optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # Pallets -pallet-grandpa = { package = 'pallet-grandpa', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-babe = { package = 'pallet-babe', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-transaction-payment = { package = 'pallet-transaction-payment', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-transaction-payment-rpc-runtime-api = { package = 'pallet-transaction-payment-rpc-runtime-api', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-authorship = { package = 'pallet-authorship', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +pallet-grandpa = { package = 'pallet-grandpa', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-babe = { package = 'pallet-babe', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-transaction-payment = { package = 'pallet-transaction-payment', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-transaction-payment-rpc-runtime-api = { package = 'pallet-transaction-payment-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-authorship = { package = 'pallet-authorship', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } pallet-session = { package = 'pallet-session', features = [ "historical", -], default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-offences = { package = 'pallet-offences', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-insecure-randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-authority-discovery = { package = 'pallet-authority-discovery', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -substrate-utility = { package = 'pallet-utility', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +], default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-offences = { package = 'pallet-offences', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-insecure-randomness-collective-flip = { package = 'pallet-insecure-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-authority-discovery = { package = 'pallet-authority-discovery', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +substrate-utility = { package = 'pallet-utility', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } pallet-vesting = { package = 'pallet-vesting', default-features = false, git = 'https://github.com/joystream/substrate', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-multisig = { package = 'pallet-multisig', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-staking-runtime-api = { package = 'pallet-staking-runtime-api', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } -pallet-proxy = { package = 'pallet-proxy', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +pallet-multisig = { package = 'pallet-multisig', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-staking-runtime-api = { package = 'pallet-staking-runtime-api', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } +pallet-proxy = { package = 'pallet-proxy', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # Benchmarking -frame-benchmarking = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', default-features = false, optional = true } -frame-system-benchmarking = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', default-features = false, optional = true } -pallet-offences-benchmarking = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', default-features = false, optional = true } -pallet-session-benchmarking = { git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9', default-features = false, optional = true } +frame-benchmarking = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', default-features = false, optional = true } +frame-system-benchmarking = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', default-features = false, optional = true } +pallet-offences-benchmarking = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', default-features = false, optional = true } +pallet-session-benchmarking = { git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0', default-features = false, optional = true } hex-literal = { optional = true, version = '0.3.1' } -pallet-election-provider-support-benchmarking = { package = 'pallet-election-provider-support-benchmarking', default-features = false, optional = true, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +pallet-election-provider-support-benchmarking = { package = 'pallet-election-provider-support-benchmarking', default-features = false, optional = true, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } # Joystream common = { package = 'pallet-common', default-features = false, path = '../runtime-modules/common' } @@ -102,11 +102,11 @@ project-token = { package = 'pallet-project-token', default-features = false, pa argo-bridge = { package = 'pallet-argo-bridge', default-features = false, path = '../runtime-modules/argo-bridge' } [dev-dependencies] -sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } strum = { version = "0.19", default-features = false } -remote-externalities = { package = "frame-remote-externalities", git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +remote-externalities = { package = "frame-remote-externalities", git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } tokio = { version = "1.24.2", features = ["macros"] } -sp-tracing = { package = 'sp-tracing', git = 'https://github.com/joystream/substrate.git', rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } +sp-tracing = { package = 'sp-tracing', git = 'https://github.com/paritytech/polkadot-sdk.git', tag = 'polkadot-v1.7.0' } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/joystream/substrate", rev = '1d0eefca86ef31b9e7727df01a6ed23ad65491e9' } diff --git a/update-substrate-deps.sh b/update-substrate-deps.sh new file mode 100755 index 0000000000..fb529e1e83 --- /dev/null +++ b/update-substrate-deps.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# Script to update Substrate dependencies to Polkadot SDK v1.7.0 + +set -e + +OLD_REPO="https://github.com/joystream/substrate.git" +NEW_REPO="https://github.com/paritytech/polkadot-sdk.git" +OLD_REV="1d0eefca86ef31b9e7727df01a6ed23ad65491e9" +NEW_TAG="polkadot-v1.7.0" + +echo "Updating Substrate dependencies from Joystream fork to Polkadot SDK v1.7.0..." + +# Find and update all Cargo.toml files +find . -name "Cargo.toml" -not -path "*/target/*" -not -path "*/node_modules/*" -exec sed -i "s|git = '${OLD_REPO}', rev = '${OLD_REV}'|git = '${NEW_REPO}', tag = '${NEW_TAG}'|g" {} \; + +echo "Update complete!" +echo "" +echo "Files updated:" +git diff --name-only | grep Cargo.toml | wc -l +echo "Cargo.toml files" +