Skip to content

Commit da117f6

Browse files
committed
fix: resolves #3901
1 parent 14fb7fc commit da117f6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/thin-tomatoes-divide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Replaced `portalAbi` with `portal2Abi` in `proveWithdrawal`

src/op-stack/actions/proveWithdrawal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type {
1616
import type { Hash, Hex } from '../../types/misc.js'
1717
import type { UnionEvaluate, UnionOmit } from '../../types/utils.js'
1818
import type { FormattedTransactionRequest } from '../../utils/formatters/transactionRequest.js'
19-
import { portalAbi } from '../abis.js'
19+
import { portal2Abi } from '../abis.js'
2020
import type { GetContractAddressParameter } from '../types/contract.js'
2121
import {
2222
type EstimateProveWithdrawalGasErrorType,
@@ -141,7 +141,7 @@ export async function proveWithdrawal<
141141

142142
return writeContract(client, {
143143
account: account!,
144-
abi: portalAbi,
144+
abi: portal2Abi,
145145
address: portalAddress,
146146
chain,
147147
functionName: 'proveWithdrawalTransaction',

0 commit comments

Comments
 (0)