Skip to content

Commit

Permalink
chore: add const defaults for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Nov 7, 2024
1 parent 26fd42a commit 74dc1a5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/contexts/Api/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,32 +237,32 @@ export const APIProvider = ({ children, network }: APIProviderProps) => {
const bondingDuration = apiInstance.getConstant(
'Staking',
'BondingDuration',
0
28
);
const sessionsPerEra = apiInstance.getConstant(
'Staking',
'SessionsPerEra',
0
6
);
const maxExposurePageSize = apiInstance.getConstant(
'Staking',
'MaxExposurePageSize',
0
NetworkList[network].maxExposurePageSize
);
const historyDepth = apiInstance.getConstant(
'Staking',
'HistoryDepth',
0
84
);
const expectedBlockTime = apiInstance.getConstant(
'Babe',
'ExpectedBlockTime',
0
6000
);
const epochDuration = apiInstance.getConstant(
'Babe',
'EpochDuration',
0
2400
);
const existentialDeposit = apiInstance.getConstant(
'Balances',
Expand Down

0 comments on commit 74dc1a5

Please sign in to comment.