From 1e5acebc939ca7d4939bb78dbf088daf992dd8b0 Mon Sep 17 00:00:00 2001 From: skosito Date: Mon, 28 Oct 2024 20:11:41 +0100 Subject: [PATCH] fix unit test --- zetaclient/zetacore/tx_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zetaclient/zetacore/tx_test.go b/zetaclient/zetacore/tx_test.go index b58981f67b..24cdd61886 100644 --- a/zetaclient/zetacore/tx_test.go +++ b/zetaclient/zetacore/tx_test.go @@ -343,6 +343,15 @@ func TestZetacore_UpdateAppContext(t *testing.T) { }, }, }) + method = "/zetachain.zetacore.observer.Query/NodeAccountAll" + s.ExpectUnary(method). + UnlimitedTimes(). + WithPayload(observertypes.QueryAllNodeAccountRequest{}). + Return(observertypes.QueryAllNodeAccountResponse{ + NodeAccount: []*observertypes.NodeAccount{ + sample.NodeAccount(), + }, + }) }, )(t)