Jelajahi Sumber

bump libp2p

Mokhtar Naamani 5 tahun lalu
induk
melakukan
63da40df99
3 mengubah file dengan 31 tambahan dan 10 penghapusan
  1. 8 1
      Cargo.lock
  2. 22 8
      Cargo.toml
  3. 1 1
      src/lib.rs

+ 8 - 1
Cargo.lock

@@ -1043,7 +1043,7 @@ checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e"
 
 [[package]]
 name = "joystream-node-runtime"
-version = "6.1.0"
+version = "6.2.0"
 dependencies = [
  "parity-scale-codec",
  "safe-mix",
@@ -3354,6 +3354,7 @@ dependencies = [
 [[package]]
 name = "substrate-forum-module"
 version = "1.1.0"
+source = "git+https://github.com/mnaamani/substrate-forum-module?branch=upgrade-libp2p#a403cb2994790e2f29b2e9886a1f35ba5bdaf181"
 dependencies = [
  "hex-literal 0.1.4",
  "parity-scale-codec",
@@ -3382,6 +3383,7 @@ dependencies = [
 [[package]]
 name = "substrate-hiring-module"
 version = "1.0.0"
+source = "git+https://github.com/mnaamani/substrate-hiring-module?branch=upgrade-libp2p#ac45de704e0147dfb9ad7fb8d3375a01fe9df6ad"
 dependencies = [
  "hex-literal 0.1.4",
  "parity-scale-codec",
@@ -3501,6 +3503,7 @@ dependencies = [
 [[package]]
 name = "substrate-recurring-reward-module"
 version = "1.0.0"
+source = "git+https://github.com/mnaamani/substrate-recurring-reward-module?branch=upgrade-libp2p#84bc180bdff6709ad952135fff1cb13d4426758c"
 dependencies = [
  "hex-literal 0.1.4",
  "parity-scale-codec",
@@ -3540,6 +3543,7 @@ dependencies = [
 [[package]]
 name = "substrate-stake-module"
 version = "1.0.0"
+source = "git+https://github.com/mnaamani/substrate-stake-module/?branch=upgrade-libp2p#1829dfb79b5d26cc34619065bd12a38a9b0b4783"
 dependencies = [
  "hex-literal 0.1.4",
  "parity-scale-codec",
@@ -3599,6 +3603,7 @@ dependencies = [
 [[package]]
 name = "substrate-token-mint-module"
 version = "1.0.0"
+source = "git+https://github.com/mnaamani/substrate-token-minting-module/?branch=upgrade-libp2p#bec7a1b121eff86d5d1c8a8de11ac09094b6fe78"
 dependencies = [
  "hex-literal 0.1.4",
  "parity-scale-codec",
@@ -3631,6 +3636,7 @@ dependencies = [
 [[package]]
 name = "substrate-versioned-store"
 version = "1.1.0"
+source = "git+https://github.com/mnaamani/substrate-versioned-store-module?branch=upgrade-libp2p#025734d46efaddf4aed0f6ed4c4a4beff0cc5403"
 dependencies = [
  "hex-literal 0.1.4",
  "parity-scale-codec",
@@ -3649,6 +3655,7 @@ dependencies = [
 [[package]]
 name = "substrate-versioned-store-permissions-module"
 version = "1.0.0"
+source = "git+https://github.com/mnaamani/substrate-versioned-store-permissions-module?branch=upgrade-libp2p#f981a6000eb210764c8e3b48d2142bc23af59fff"
 dependencies = [
  "hex-literal 0.1.4",
  "parity-scale-codec",

+ 22 - 8
Cargo.toml

@@ -4,7 +4,7 @@ edition = '2018'
 name = 'joystream-node-runtime'
 # Follow convention: https://github.com/Joystream/substrate-runtime-joystream/issues/1
 # {Authoring}.{Spec}.{Impl} of the RuntimeVersion
-version = '6.1.0'
+version = '6.2.0'
 
 [features]
 default = ['std']
@@ -261,48 +261,62 @@ version = '1.0.4'
 [dependencies.forum]
 default_features = false
 # git = 'https://github.com/joystream/substrate-forum-module'
+git = 'https://github.com/mnaamani/substrate-forum-module'
 package = 'substrate-forum-module'
 # rev = '4bdeadaadfcca1fd6e822c520f429d4beacc4c8a'
-path = '/Users/mokhtar/joystream/substrate-forum-module'
+# path = '/Users/mokhtar/joystream/substrate-forum-module'
+branch = 'upgrade-libp2p'
 
 [dependencies.minting]
 default_features = false
 # git = 'https://github.com/joystream/substrate-token-minting-module/'
+git = 'https://github.com/mnaamani/substrate-token-minting-module/'
 package = 'substrate-token-mint-module'
 # rev = '5570e3b56e9caffa7df1dbede6308b2e6ce18217'
-path = '/Users/mokhtar/joystream/substrate-token-mint-module'
+# path = '/Users/mokhtar/joystream/substrate-token-mint-module'
+branch = 'upgrade-libp2p'
 
 [dependencies.recurringrewards]
 default_features = false
 # git = 'https://github.com/Joystream/substrate-recurring-reward-module'
+git = 'https://github.com/mnaamani/substrate-recurring-reward-module'
 package = 'substrate-recurring-reward-module'
 # rev = '417f7bb5b82ae50f02716ac4eefa2fc7952e0f61'
-path = '/Users/mokhtar/joystream/substrate-recurring-reward-module'
+# path = '/Users/mokhtar/joystream/substrate-recurring-reward-module'
+branch = 'upgrade-libp2p'
 
 [dependencies.stake]
 default_features = false
 # git = 'https://github.com/Joystream/substrate-stake-module/'
+git = 'https://github.com/mnaamani/substrate-stake-module/'
 package = 'substrate-stake-module'
 # rev = '0516efe9230da112bc095e28f34a3715c2e03ca8'
-path = '/Users/mokhtar/joystream/substrate-stake-module'
+# path = '/Users/mokhtar/joystream/substrate-stake-module'
+branch = 'upgrade-libp2p'
 
 [dependencies.hiring]
 default_features = false
 # git = 'https://github.com/Joystream/substrate-hiring-module'
+git = 'https://github.com/mnaamani/substrate-hiring-module'
 package = 'substrate-hiring-module'
 # rev = '485c8be73891183910721e874cf9741dec6d824a'
-path = '/Users/mokhtar/joystream/substrate-hiring-module'
+# path = '/Users/mokhtar/joystream/substrate-hiring-module'
+branch = 'upgrade-libp2p'
 
 [dependencies.versioned_store]
 default_features = false
 package ='substrate-versioned-store'
 # git = 'https://github.com/joystream/substrate-versioned-store-module'
+git = 'https://github.com/mnaamani/substrate-versioned-store-module'
 # rev = 'd0c68722405355404840512edf3064d5ced3e1fe'
-path = '/Users/mokhtar/joystream/substrate-versioned-store'
+# path = '/Users/mokhtar/joystream/substrate-versioned-store'
+branch = 'upgrade-libp2p'
 
 [dependencies.versioned_store_permissions]
 default_features = false
 package = 'substrate-versioned-store-permissions-module'
 # git = 'https://github.com/joystream/substrate-versioned-store-permissions-module'
+git = 'https://github.com/mnaamani/substrate-versioned-store-permissions-module'
 # rev = '816b796b1b72bba05eebe128cdaa5e18611ac3ae'
-path = '/Users/mokhtar/joystream/substrate-versioned-store-permissions-module'
+# path = '/Users/mokhtar/joystream/substrate-versioned-store-permissions-module'
+branch = 'upgrade-libp2p'

+ 1 - 1
src/lib.rs

@@ -115,7 +115,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
     spec_name: create_runtime_str!("joystream-node"),
     impl_name: create_runtime_str!("joystream-node"),
     authoring_version: 6,
-    spec_version: 1,
+    spec_version: 2,
     impl_version: 0,
     apis: RUNTIME_API_VERSIONS,
 };