From e4914004fabad48b2f06df657be464df4cb75249 Mon Sep 17 00:00:00 2001 From: Dror Tirosh Date: Tue, 25 Jun 2024 12:09:45 +0300 Subject: [PATCH] check error --- tests/rip7560/process_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/rip7560/process_test.go b/tests/rip7560/process_test.go index 30520fdded..2e83d05861 100644 --- a/tests/rip7560/process_test.go +++ b/tests/rip7560/process_test.go @@ -37,7 +37,7 @@ const privKey2 = "59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b7869 func TestProcess1(t *testing.T) { Sender := common.HexToAddress(DEFAULT_SENDER) - runProcess(newTestContextBuilder(t). + err := runProcess(newTestContextBuilder(t). withAccount(addr1, 100000000000000). withCode(DEFAULT_SENDER, createAccountCode(), 1000000000000000000). build(), []*types.Rip7560AccountAbstractionTx{ @@ -48,6 +48,9 @@ func TestProcess1(t *testing.T) { Data: []byte{1, 2, 3}, }, }) + if err != nil { + panic(err) + } } // run a set of AA transactions, with a legacy TXs before and after.