From 74dc1a5b7377c95e497859069e64dd90ac1b5e82 Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Thu, 7 Nov 2024 11:59:41 +0700 Subject: [PATCH] chore: add const defaults for now --- src/contexts/Api/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/contexts/Api/index.tsx b/src/contexts/Api/index.tsx index 1721949855..9b1310ce6e 100644 --- a/src/contexts/Api/index.tsx +++ b/src/contexts/Api/index.tsx @@ -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',