Skip to content

Commit 61bfdfe

Browse files
committed
chore: up
1 parent f88cb0c commit 61bfdfe

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/errors/contract.test.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,7 @@ describe('ContractFunctionRevertedError', () => {
420420
Unable to decode signature "0xdb731cfa" as it was not found on the provided ABI.
421421
Make sure you are using the correct ABI and that the error exists on it.
422422
You can look up the decoded signature here: https://openchain.xyz/signatures?query=0xdb731cfa.
423-
424-
Revert data: "${data}"
425-
423+
426424
Docs: https://viem.sh/docs/contract/decodeErrorResult
427425
428426
`)

src/errors/contract.ts

-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,6 @@ export class ContractFunctionRevertedError extends BaseError {
233233
`Unable to decode signature "${signature}" as it was not found on the provided ABI.`,
234234
'Make sure you are using the correct ABI and that the error exists on it.',
235235
`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${signature}.`,
236-
'',
237-
`Revert data: "${data}"`,
238236
]
239237
}
240238

0 commit comments

Comments
 (0)