You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
emitSortitionModuleBase.StakeSet(staker1, newCourtID, 0, 20000); // Starting with 40000 we first nullify the stake and remove 19000 and then remove penalty once since there was only first iteration (40000 - 20000 - 1000)
277
+
emitSortitionModule.StakeSet(staker1, newCourtID, 0, 20000); // Starting with 40000 we first nullify the stake and remove 19000 and then remove penalty once since there was only first iteration (40000 - 20000 - 1000)
278
278
vm.expectEmit(true, true, true, true);
279
-
emitSortitionModuleBase.StakeSet(staker1, GENERAL_COURT, 0, 2000); // 2000 PNK should remain in balance to cover penalties since the first 1000 of locked pnk was already unlocked
279
+
emitSortitionModule.StakeSet(staker1, GENERAL_COURT, 0, 2000); // 2000 PNK should remain in balance to cover penalties since the first 1000 of locked pnk was already unlocked
280
280
core.execute(disputeID, 0, 3);
281
281
282
282
assertEq(pinakion.balanceOf(address(core)), 0, "Wrong token balance of the core");
@@ -335,7 +335,7 @@ contract KlerosCore_ExecutionTest is KlerosCore_TestBase {
335
335
core.passPeriod(disputeID); // Execution
336
336
337
337
vm.expectEmit(true, true, true, true);
338
-
emitSortitionModuleBase.StakeSet(staker1, GENERAL_COURT, 0, 0); // Juror should have no stake left and should be unstaked from the court automatically.
338
+
emitSortitionModule.StakeSet(staker1, GENERAL_COURT, 0, 0); // Juror should have no stake left and should be unstaked from the court automatically.
339
339
core.execute(disputeID, 0, 6);
340
340
341
341
assertEq(pinakion.balanceOf(address(core)), 0, "Wrong token balance of the core");
@@ -397,7 +397,7 @@ contract KlerosCore_ExecutionTest is KlerosCore_TestBase {
397
397
core.passPeriod(disputeID); // Execution
398
398
399
399
vm.expectEmit(true, true, true, true);
400
-
emitSortitionModuleBase.StakeSet(staker1, GENERAL_COURT, 0, 0); // Juror balance should be below minStake and should be unstaked from the court automatically.
400
+
emitSortitionModule.StakeSet(staker1, GENERAL_COURT, 0, 0); // Juror balance should be below minStake and should be unstaked from the court automatically.
401
401
core.execute(disputeID, 0, 6);
402
402
403
403
assertEq(pinakion.balanceOf(address(core)), 11000, "Wrong token balance of the core");
@@ -460,11 +460,11 @@ contract KlerosCore_ExecutionTest is KlerosCore_TestBase {
460
460
assertEq(pinakion.balanceOf(address(core)), 1000, "Wrong token balance of the core");
461
461
assertEq(pinakion.balanceOf(staker1), 999999999999999000, "Wrong token balance of staker1");
0 commit comments