@@ -308,7 +308,7 @@ contract KlerosCoreTest is Test {
308
308
10000 ,
309
309
0.03 ether,
310
310
511 ,
311
- [uint256 (60 ), uint256 (120 ), uint256 (180 ), uint256 (240 )], // Expclitly convert otherwise it throws
311
+ [uint256 (60 ), uint256 (120 ), uint256 (180 ), uint256 (240 )], // Explicitly convert otherwise it throws
312
312
supportedDK
313
313
);
314
314
vm.expectEmit (true , true , true , true );
@@ -570,7 +570,7 @@ contract KlerosCoreTest is Test {
570
570
20000 ,
571
571
0.04 ether,
572
572
50 ,
573
- [uint256 (10 ), uint256 (20 ), uint256 (30 ), uint256 (40 )], // Expclitly convert otherwise it throws
573
+ [uint256 (10 ), uint256 (20 ), uint256 (30 ), uint256 (40 )], // Explicitly convert otherwise it throws
574
574
supportedDK
575
575
);
576
576
core.createCourt (
@@ -620,7 +620,7 @@ contract KlerosCoreTest is Test {
620
620
}
621
621
622
622
function test_changeCourtParameters () public {
623
- // Create a 2nd court to check the minstake requirements
623
+ // Create a 2nd court to check the minStake requirements
624
624
vm.prank (governor);
625
625
uint96 newCourtID = 2 ;
626
626
uint256 [] memory supportedDK = new uint256 [](1 );
@@ -682,7 +682,7 @@ contract KlerosCoreTest is Test {
682
682
20000 ,
683
683
0.04 ether,
684
684
50 ,
685
- [uint256 (10 ), uint256 (20 ), uint256 (30 ), uint256 (40 )] // Expclitly convert otherwise it throws
685
+ [uint256 (10 ), uint256 (20 ), uint256 (30 ), uint256 (40 )] // Explicitly convert otherwise it throws
686
686
);
687
687
core.changeCourtParameters (
688
688
GENERAL_COURT,
@@ -804,7 +804,7 @@ contract KlerosCoreTest is Test {
804
804
assertEq (minJurors, DEFAULT_NB_OF_JURORS, "Wrong minJurors " );
805
805
assertEq (disputeKitID, DISPUTE_KIT_CLASSIC, "Wrong disputeKitID " );
806
806
807
- // Botched extradata . Values should fall into standard
807
+ // Botched extraData . Values should fall into standard
808
808
extraData = "0xfa " ;
809
809
810
810
(courtID, minJurors, disputeKitID) = core.extraDataToCourtIDMinJurorsDisputeKit (extraData);
@@ -882,7 +882,7 @@ contract KlerosCoreTest is Test {
882
882
vm.prank (governor);
883
883
core.setStake (GENERAL_COURT, 1000 );
884
884
885
- // Increase stake one more time to verify the correct behaviour
885
+ // Increase stake one more time to verify the correct behavior
886
886
vm.prank (staker1);
887
887
vm.expectEmit (true , true , true , true );
888
888
emit SortitionModuleBase.StakeSet (staker1, GENERAL_COURT, 2000 );
@@ -1104,7 +1104,7 @@ contract KlerosCoreTest is Test {
1104
1104
assertEq (pinakion.balanceOf (staker1), 999999999999997000 , "Wrong token balance of staker1 " );
1105
1105
1106
1106
// Stake again to see that locked tokens will count when increasing the stake. We check that the court won't take the full stake
1107
- // but only the remaning part.
1107
+ // but only the remaining part.
1108
1108
vm.prank (staker1);
1109
1109
core.setStake (GENERAL_COURT, 5000 );
1110
1110
@@ -1842,7 +1842,7 @@ contract KlerosCoreTest is Test {
1842
1842
(uint256 ruling , bool tied , bool overridden ) = disputeKit.currentRuling (disputeID);
1843
1843
assertEq (ruling, 1 , "Wrong ruling " );
1844
1844
assertEq (tied, false , "Not tied " );
1845
- assertEq (overridden, false , "Not overriden " );
1845
+ assertEq (overridden, false , "Not overridden " );
1846
1846
}
1847
1847
1848
1848
function test_appeal_fundOneSide () public {
@@ -2426,7 +2426,7 @@ contract KlerosCoreTest is Test {
2426
2426
assertEq (totalStaked, 0 , "Should be unstaked " );
2427
2427
assertEq (totalLocked, 3000 , "Wrong amount locked " );
2428
2428
assertEq (stakedInCourt, 0 , "Should be unstaked " );
2429
- assertEq (nbCourts, 0 , "Shoulbe 0 courts " );
2429
+ assertEq (nbCourts, 0 , "Should be 0 courts " );
2430
2430
2431
2431
assertEq (pinakion.balanceOf (address (core)), 3000 , "Wrong token balance of the core " );
2432
2432
assertEq (pinakion.balanceOf (staker1), 999999999999997000 , "Wrong token balance of staker1 " );
@@ -2639,7 +2639,7 @@ contract KlerosCoreTest is Test {
2639
2639
(uint256 ruling , bool tied , bool overridden ) = disputeKit.currentRuling (disputeID);
2640
2640
assertEq (ruling, 1 , "Wrong ruling " );
2641
2641
assertEq (tied, false , "Not tied " );
2642
- assertEq (overridden, true , "Shoud be overriden " );
2642
+ assertEq (overridden, true , "Should be overridden " );
2643
2643
}
2644
2644
2645
2645
function test_withdrawFeesAndRewards () public {
@@ -2668,7 +2668,7 @@ contract KlerosCoreTest is Test {
2668
2668
core.passPeriod (disputeID); // Appeal
2669
2669
2670
2670
vm.prank (crowdfunder1);
2671
- disputeKit.fundAppeal {value: 0.63 ether }(disputeID, 1 ); // Fund the losing choice. The ruling will be overriden here
2671
+ disputeKit.fundAppeal {value: 0.63 ether }(disputeID, 1 ); // Fund the losing choice. The ruling will be overridden here
2672
2672
vm.prank (crowdfunder2);
2673
2673
disputeKit.fundAppeal {value: 0.41 ether }(disputeID, 2 ); // Underpay a bit to not create an appeal and withdraw the funded sum fully
2674
2674
0 commit comments