From 038388ff3ff60eab159c1df01e856643a072b5fb Mon Sep 17 00:00:00 2001 From: Tom Meagher Date: Tue, 5 Nov 2024 18:25:12 -0500 Subject: [PATCH] chore: snaps --- .../actions/waitForTransactionReceipt.test.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/packages/core/src/actions/waitForTransactionReceipt.test.ts b/packages/core/src/actions/waitForTransactionReceipt.test.ts index e4391c3276..5c002b1a94 100644 --- a/packages/core/src/actions/waitForTransactionReceipt.test.ts +++ b/packages/core/src/actions/waitForTransactionReceipt.test.ts @@ -40,5 +40,19 @@ test('behavior: transaction reverted', async () => { waitForTransactionReceipt(config, { hash: '0x745367f76807d411b7fa4c3a552a62e3e45303ef40145fff04d84b867c2575d3', }), - ).rejects.toThrowErrorMatchingInlineSnapshot('[Error: unknown reason]') + ).rejects.toThrowErrorMatchingInlineSnapshot(` + [CallExecutionError: Execution reverted with reason: PartyBid::claim: contribution already claimed. + + Raw Call Arguments: + to: 0xf1332f21487e74612ed3a0fb36da729b73f1ae19 + value: 0 ETH + data: 0x1e83409a000000000000000000000000a0cf798816d4b9b9866b5330eea46a18382f251e + gas: 128730 + maxFeePerGas: 43.307900987 gwei + maxPriorityFeePerGas: 1.5 gwei + nonce: 43 + + Details: execution reverted: PartyBid::claim: contribution already claimed + Version: viem@2.17.0] + `) })