diff --git a/packages/status-page/src/utils/getConfig.ts b/packages/status-page/src/utils/getConfig.ts index b5ead51a13..4c39f54214 100644 --- a/packages/status-page/src/utils/getConfig.ts +++ b/packages/status-page/src/utils/getConfig.ts @@ -7,6 +7,5 @@ export const getConfig = async ( ) => { const contract: Contract = new Contract(contractAddress, TaikoL1, provider); const config = await contract.getConfig(); - console.log(config); return config; }; diff --git a/packages/status-page/src/utils/getEthDeposits.ts b/packages/status-page/src/utils/getEthDeposits.ts index c2b2307ead..6e132c2e6d 100644 --- a/packages/status-page/src/utils/getEthDeposits.ts +++ b/packages/status-page/src/utils/getEthDeposits.ts @@ -6,5 +6,5 @@ export const getEthDeposits = async ( contractAddress: string ): Promise => { const stateVariables = await getStateVariables(provider, contractAddress); - return stateVariables.numEthDeposits; + return stateVariables.numEthDeposits.toNumber(); }; diff --git a/packages/status-page/src/utils/getNextEthDepositToProcess.ts b/packages/status-page/src/utils/getNextEthDepositToProcess.ts index fd8ace3a77..b74b3b3ee6 100644 --- a/packages/status-page/src/utils/getNextEthDepositToProcess.ts +++ b/packages/status-page/src/utils/getNextEthDepositToProcess.ts @@ -7,5 +7,5 @@ export const getNextEthDepositToProcess = async ( ): Promise => { const contract: Contract = new Contract(contractAddress, TaikoL1, provider); const stateVariables = await contract.getStateVariables(); - return stateVariables.nextEthDepositToProcess; + return stateVariables.nextEthDepositToProcess.toNumber(); };