diff --git a/packages/status-page/src/utils/getConfig.ts b/packages/status-page/src/utils/getConfig.ts index b5ead51a136..4c39f542143 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 c2b2307ead8..6e132c2e6d3 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 fd8ace3a771..b74b3b3ee66 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(); };