diff --git a/src/actions/public/L1/getL2HashesForDepositTx.ts b/src/actions/public/L1/getL2HashesForDepositTx.ts index d8edb751..6495eb8a 100644 --- a/src/actions/public/L1/getL2HashesForDepositTx.ts +++ b/src/actions/public/L1/getL2HashesForDepositTx.ts @@ -1,7 +1,7 @@ import type { Chain, Hash, PublicClient, TransactionReceipt, Transport } from 'viem' +import { getTransactionReceipt } from 'viem/actions' import { getL2HashFromL1DepositInfo } from '../../../utils/getL2HashFromL1DepositInfo.js' import { getTransactionDepositedEvents } from '../../../utils/getTransactionDepositedEvents.js' -import { getTransactionReceipt } from 'viem/actions' export type GetL2HashesForDepositTxParamters = { l1TxHash: Hash diff --git a/src/actions/public/L2/getWithdrawalMessages.ts b/src/actions/public/L2/getWithdrawalMessages.ts index e88b53a0..65d829c1 100644 --- a/src/actions/public/L2/getWithdrawalMessages.ts +++ b/src/actions/public/L2/getWithdrawalMessages.ts @@ -1,7 +1,7 @@ import { l2ToL1MessagePasserABI } from '@eth-optimism/contracts-ts' import { type Chain, decodeEventLog, type Hash, type PublicClient, type TransactionReceipt, type Transport } from 'viem' -import type { MessagePassedEvent } from '../../../types/withdrawal.js' import { getTransactionReceipt } from 'viem/actions' +import type { MessagePassedEvent } from '../../../types/withdrawal.js' export type GetWithdrawalMessagesParameters = { hash: Hash