From 4799a55e2603809c88c04310bfd55fa31c15043e Mon Sep 17 00:00:00 2001 From: Michael Seiler Date: Fri, 7 Jun 2024 10:27:42 -0700 Subject: [PATCH] simplify error msg check for gh action fail --- itests/eth_transactions_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itests/eth_transactions_test.go b/itests/eth_transactions_test.go index dde4e0855c2..3cb11d4a3a6 100644 --- a/itests/eth_transactions_test.go +++ b/itests/eth_transactions_test.go @@ -623,13 +623,13 @@ func TestTraceTransaction(t *testing.T) { nonExistentTxHash := "0x0000000000000000000000000000000000000000000000000000000000000000" traces, err := client.EthTraceTransaction(ctx, nonExistentTxHash) require.Error(t, err) - require.Contains(t, err.Error(), "error in RPC call to 'Filecoin.EthTraceTransaction': transaction not found") + require.Contains(t, err.Error(), "transaction not found") require.Nil(t, traces) // EthTraceTransaction errors when a trace for pending transactions is requested traces, err = client.EthTraceTransaction(ctx, hash.String()) require.Error(t, err) - require.Contains(t, err.Error(), "error in RPC call to 'Filecoin.EthTraceTransaction': no trace for pending transactions") + require.Contains(t, err.Error(), "no trace for pending transactions") require.Nil(t, traces) receipt, err := client.EVM().WaitTransaction(ctx, hash)