File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -107,4 +107,6 @@ if(process.env.REACT_APP_MAX_QUERY_LIMIT && Number.isNaN(Number(process.env.REAC
107
107
}
108
108
export const MAX_QUERY_LIMIT = Number ( process . env . REACT_APP_MAX_QUERY_LIMIT ) || 100 ;
109
109
110
- export const EXCESS_INHIBITOR = "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" ;
110
+ export const EXCESS_INHIBITOR = "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" ;
111
+
112
+ export const FAR_FUTURE_EPOCH = "0x010000000000000000" // 18446744073709551615
Original file line number Diff line number Diff line change @@ -3,12 +3,11 @@ import { ValidatorType } from '../pages/Actions/types';
3
3
import { BeaconChainValidator } from '../pages/TopUp/types' ;
4
4
import {
5
5
ETHER_TO_GWEI ,
6
+ FAR_FUTURE_EPOCH ,
6
7
MAX_EFFECTIVE_BALANCE ,
7
8
MIN_ACTIVATION_BALANCE ,
8
9
} from './envVars' ;
9
10
10
- const FAR_FUTURE_EPOCH = new BigNumber ( 2 ) . pow ( 63 ) . minus ( 1 ) ; // 63-bit 1-filled
11
-
12
11
export const hasExitEpochBeenSet = ( exitEpoch : BigNumber | number ) =>
13
12
new BigNumber ( exitEpoch ) . isLessThan ( FAR_FUTURE_EPOCH ) ;
14
13
You can’t perform that action at this time.
0 commit comments