Browse Source

fixed node dependencies

ignazio-bovo 3 years ago
parent
commit
47f54ad166
3 changed files with 2 additions and 6 deletions
  1. 0 1
      Cargo.lock
  2. 0 3
      node/Cargo.toml
  3. 2 2
      node/src/chain_spec/mod.rs

+ 0 - 1
Cargo.lock

@@ -2342,7 +2342,6 @@ dependencies = [
  "joystream-node-runtime",
  "jsonrpc-core",
  "node-inspect",
- "pallet-content",
  "pallet-grandpa",
  "pallet-im-online",
  "pallet-transaction-payment",

+ 0 - 3
node/Cargo.toml

@@ -70,9 +70,6 @@ sc-cli = { package = 'sc-cli', git = 'https://github.com/paritytech/substrate.gi
 frame-benchmarking-cli = { package = 'frame-benchmarking-cli', git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', optional = true }
 node-inspect = { package = 'node-inspect', git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', optional = true }
 
-# config dependencies
-content = { package = 'pallet-content', default-features = false, path = '../runtime-modules/content' }
-
 # WASM-specific dependencies
 wasm-bindgen = { version = "0.2.57", optional = true }
 wasm-bindgen-futures = { version = "0.4.7", optional = true }

+ 2 - 2
node/src/chain_spec/mod.rs

@@ -366,11 +366,11 @@ pub fn testnet_genesis(
                 next_series_id: 1,
                 next_person_id: 1,
                 next_channel_transfer_request_id: 1,
-                video_migration: content::MigrationConfigRecord {
+                video_migration: node_runtime::content::MigrationConfigRecord {
                     current_id: 1,
                     final_id: 1,
                 },
-                channel_migration: content::MigrationConfigRecord {
+                channel_migration: node_runtime::content::MigrationConfigRecord {
                     current_id: 1,
                     final_id: 1,
                 },