From 204c68c9675b1e256acab0305b6cfd1480ebd83a Mon Sep 17 00:00:00 2001 From: skosito Date: Fri, 29 Mar 2024 23:57:40 +0100 Subject: [PATCH] Changelog --- changelog.md | 1 + x/observer/keeper/msg_server_update_keygen_test.go | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/changelog.md b/changelog.md index 7ae80ba98c..beee13b996 100644 --- a/changelog.md +++ b/changelog.md @@ -47,6 +47,7 @@ * [1879](https://github.com/zeta-chain/node/pull/1879) - full coverage for messages in types packages * [1899](https://github.com/zeta-chain/node/pull/1899) - add empty test files so packages are included in coverage * [1903](https://github.com/zeta-chain/node/pull/1903) - common package tests +* [1961](https://github.com/zeta-chain/node/pull/1961) - improve observer module coverage ### Fixes diff --git a/x/observer/keeper/msg_server_update_keygen_test.go b/x/observer/keeper/msg_server_update_keygen_test.go index 63aa026072..8b3201c5ed 100644 --- a/x/observer/keeper/msg_server_update_keygen_test.go +++ b/x/observer/keeper/msg_server_update_keygen_test.go @@ -12,15 +12,6 @@ import ( "github.com/zeta-chain/zetacore/x/observer/types" ) -// func createNNodeAccount(keeper *types.Keeper, ctx sdk.Context, n int) []types.NodeAccount { -// items := make([]types.NodeAccount, n) -// for i := range items { -// items[i].Operator = fmt.Sprintf("%d", i) -// keeper.SetNodeAccount(ctx, items[i]) -// } -// return items -// } - func TestMsgServer_UpdateKeygen(t *testing.T) { t.Run("should error if not authorized", func(t *testing.T) { k, ctx, _, _ := keepertest.ObserverKeeperWithMocks(t, keepertest.ObserverMockOptions{