diff --git a/src/lib/inbox/inbox.ts b/src/lib/inbox/inbox.ts index 11c71f97a0..5f2759164c 100644 --- a/src/lib/inbox/inbox.ts +++ b/src/lib/inbox/inbox.ts @@ -45,7 +45,7 @@ type ForceInclusionParams = FetchedEvent & { delayedAcc: string } -type GasComponentsWithChainPart = { +type GasComponentsWithChildChainPart = { gasEstimate: BigNumber gasEstimateForL1: BigNumber baseFee: BigNumber @@ -127,11 +127,11 @@ export class InboxTools { */ private async estimateArbitrumGas( childChainTransactionRequest: RequiredTransactionRequestType, - chainProvider: Provider - ): Promise { + childChainProvider: Provider + ): Promise { const nodeInterface = NodeInterface__factory.connect( NODE_INTERFACE_ADDRESS, - chainProvider + childChainProvider ) const contractCreation = this.isContractCreation(