Procházet zdrojové kódy

Merge pull request #3 from shamil-gadelshin/hiring-dependency-upgrade

Change ‘hiring’ module dependency version
Mokhtar Naamani před 5 roky
rodič
revize
cd83dcfee3
4 změnil soubory, kde provedl 6 přidání a 4 odebrání
  1. 3 3
      Cargo.lock
  2. 1 1
      Cargo.toml
  3. 1 0
      src/content_working_group/mock.rs
  4. 1 0
      src/lib.rs

+ 3 - 3
Cargo.lock

@@ -1002,7 +1002,7 @@ dependencies = [
  "substrate-client 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)",
  "substrate-consensus-babe-primitives 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)",
  "substrate-forum-module 1.1.0 (git+https://github.com/joystream/substrate-forum-module?rev=4bdeadaadfcca1fd6e822c520f429d4beacc4c8a)",
- "substrate-hiring-module 1.0.0 (git+https://github.com/Joystream/substrate-hiring-module?rev=b400e3008c98989da7b310c71b7d6d4e4dca34e4)",
+ "substrate-hiring-module 1.0.0 (git+https://github.com/Joystream/substrate-hiring-module?rev=485c8be73891183910721e874cf9741dec6d824a)",
  "substrate-offchain-primitives 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)",
  "substrate-primitives 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)",
  "substrate-recurring-reward-module 1.0.0 (git+https://github.com/Joystream/substrate-recurring-reward-module?rev=417f7bb5b82ae50f02716ac4eefa2fc7952e0f61)",
@@ -3209,7 +3209,7 @@ dependencies = [
 [[package]]
 name = "substrate-hiring-module"
 version = "1.0.0"
-source = "git+https://github.com/Joystream/substrate-hiring-module?rev=b400e3008c98989da7b310c71b7d6d4e4dca34e4#b400e3008c98989da7b310c71b7d6d4e4dca34e4"
+source = "git+https://github.com/Joystream/substrate-hiring-module?rev=485c8be73891183910721e874cf9741dec6d824a#485c8be73891183910721e874cf9741dec6d824a"
 dependencies = [
  "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
  "parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -4511,7 +4511,7 @@ dependencies = [
 "checksum substrate-finality-grandpa-primitives 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)" = "<none>"
 "checksum substrate-forum-module 1.1.0 (git+https://github.com/joystream/substrate-forum-module?rev=4bdeadaadfcca1fd6e822c520f429d4beacc4c8a)" = "<none>"
 "checksum substrate-header-metadata 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)" = "<none>"
-"checksum substrate-hiring-module 1.0.0 (git+https://github.com/Joystream/substrate-hiring-module?rev=b400e3008c98989da7b310c71b7d6d4e4dca34e4)" = "<none>"
+"checksum substrate-hiring-module 1.0.0 (git+https://github.com/Joystream/substrate-hiring-module?rev=485c8be73891183910721e874cf9741dec6d824a)" = "<none>"
 "checksum substrate-inherents 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)" = "<none>"
 "checksum substrate-keyring 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)" = "<none>"
 "checksum substrate-offchain-primitives 2.0.0 (git+https://github.com/paritytech/substrate.git?rev=0e3001a1ad6fa3d1ba7da7342a8d0d3b3facb2f3)" = "<none>"

+ 1 - 1
Cargo.toml

@@ -286,7 +286,7 @@ rev = '0516efe9230da112bc095e28f34a3715c2e03ca8'
 default_features = false
 git = 'https://github.com/Joystream/substrate-hiring-module'
 package = 'substrate-hiring-module'
-rev = 'b400e3008c98989da7b310c71b7d6d4e4dca34e4'
+rev = '485c8be73891183910721e874cf9741dec6d824a'
 
 [dependencies.versioned_store]
 default_features = false

+ 1 - 0
src/content_working_group/mock.rs

@@ -162,6 +162,7 @@ impl hiring::Trait for Test {
     type OpeningId = TestOpeningId;
     type ApplicationId = TestApplicationId;
     type ApplicationDeactivatedHandler = ();
+    type StakeHandlerProvider = hiring::Module<Self>;
 }
 
 impl versioned_store::Trait for Test {

+ 1 - 0
src/lib.rs

@@ -550,6 +550,7 @@ impl hiring::Trait for Runtime {
     type OpeningId = u64;
     type ApplicationId = u64;
     type ApplicationDeactivatedHandler = (); // TODO - what needs to happen?
+    type StakeHandlerProvider = hiring::Module<Self>;
 }
 
 impl minting::Trait for Runtime {