File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ import {
19
19
import { expect } from "chai" ;
20
20
21
21
const D1 = 60 * 60 * 24 ;
22
- const MILLION = 1_000_000 ;
22
+ const BILLION = 1_000_000_000 ;
23
23
24
24
const T = 20000000000 ;
25
25
26
26
const nodeStake = ethers . utils . parseEther ( "500" ) ;
27
27
const maxNodeCount = 10 ;
28
28
29
- const interest = 0.10 * MILLION ; // 10%
29
+ const interest = 0.10 * BILLION ; // 10%
30
30
const interestPeriod = D1 ; // 1 day
31
31
const minStakeValue = 1 ;
32
32
const lockPeriod = 30 * D1 ; // 30 days
33
- const penalty = 0.10 * MILLION ; // 10%
33
+ const penalty = 0.10 * BILLION ; // 10%
34
34
35
35
36
36
describe ( "LiquidPool" , function ( ) {
@@ -379,7 +379,7 @@ describe("LiquidPool", function () {
379
379
} ) ;
380
380
381
381
it ( "should revert if interest is too high" , async function ( ) {
382
- await expect ( liquidPool . setInterest ( MILLION + 1 , 2 * D1 ) ) . to . be . reverted ;
382
+ await expect ( liquidPool . setInterest ( BILLION + 1 , 2 * D1 ) ) . to . be . reverted ;
383
383
} ) ;
384
384
385
385
it ( "should revert if not admin" , async function ( ) {
You can’t perform that action at this time.
0 commit comments