From ad6d10e3c523d288c8e8ad8a0c094440f71fcc2a Mon Sep 17 00:00:00 2001 From: Christophe Date: Mon, 1 Jul 2024 11:39:21 +0000 Subject: [PATCH] Use proper case for getParentBaseFeeEstimate --- src/actions/getParentBaseFeeEstimate.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/actions/getParentBaseFeeEstimate.ts b/src/actions/getParentBaseFeeEstimate.ts index a83b8e50..704e6b9e 100644 --- a/src/actions/getParentBaseFeeEstimate.ts +++ b/src/actions/getParentBaseFeeEstimate.ts @@ -2,16 +2,16 @@ import { Chain, PublicClient, ReadContractReturnType, Transport } from 'viem'; import { arbGasInfo } from '../contracts'; type ArbGasInfoABI = typeof arbGasInfo.abi; -export type GetParentbaseFeeEstimateParameters = void; +export type GetParentBaseFeeEstimateParameters = void; -export type GetParentbaseFeeEstimateReturnType = ReadContractReturnType< +export type GetParentBaseFeeEstimateReturnType = ReadContractReturnType< ArbGasInfoABI, 'getL1BaseFeeEstimate' >; -export async function getParentbaseFeeEstimate( +export async function getParentBaseFeeEstimate( client: PublicClient, -): Promise { +): Promise { return client.readContract({ abi: arbGasInfo.abi, functionName: 'getL1BaseFeeEstimate',