Browse Source

Finally builds

Bedeho Mender 5 years ago
parent
commit
409e5dc2f6
2 changed files with 4 additions and 4 deletions
  1. 1 1
      Cargo.toml
  2. 3 3
      src/content_working_group/mock.rs

+ 1 - 1
Cargo.toml

@@ -272,7 +272,7 @@ rev = '5570e3b56e9caffa7df1dbede6308b2e6ce18217'
 default_features = false
 git = 'https://github.com/Joystream/substrate-recurring-reward-module'
 package = 'substrate-recurring-reward-module'
-rev = '56add2132ab2957006988fb862cfdc3d734ed3d3'
+rev = 'fe678fc2dc113609c0fc7938baa41c21d8e75f0c'
 
 [dependencies.stake]
 default_features = false

+ 3 - 3
src/content_working_group/mock.rs

@@ -101,11 +101,11 @@ pub trait CreateClassPermissionsChecker<T: Trait> {
 */
 
 impl GovernanceCurrency for Test {
-    type Currency = balances::Module<Self>;
+    type Currency = Balances;
 }
 
 impl minting::Trait for Test {
-    type Currency = balances::Module<Self>; // Balances;
+    type Currency = Balances;
     type MintId = u64;
 }
 
@@ -116,7 +116,7 @@ impl recurringrewards::Trait for Test {
 }
 
 impl stake::Trait for Test {
-    type Currency = balances::Module<Self>; // Balances;
+    type Currency = Balances;
     type StakePoolId = StakePoolId;
     type StakingEventsHandler = ();
     type StakeId = u64;