From 0d4e6b1988b61bded62f2ac4f4b90ff3c932c6af Mon Sep 17 00:00:00 2001 From: Ian Shim Date: Mon, 24 Jun 2024 15:00:09 -0700 Subject: [PATCH] record args in mock transactor --- core/mock/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mock/tx.go b/core/mock/tx.go index b56c98b93..84ae5cd63 100644 --- a/core/mock/tx.go +++ b/core/mock/tx.go @@ -71,7 +71,7 @@ func (t *MockTransactor) UpdateOperatorSocket(ctx context.Context, socket string } func (t *MockTransactor) BuildEjectOperatorsTxn(ctx context.Context, operatorsByQuorum [][]core.OperatorID) (*types.Transaction, error) { - args := t.Called() + args := t.Called(ctx, operatorsByQuorum) result := args.Get(0) return result.(*types.Transaction), args.Error(1) }