From 0f48ce3db374635dc406198b3545026899cb8d38 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 2 Aug 2024 15:25:33 +0200 Subject: [PATCH] Address PR comments --- zetaclient/context/chain_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/zetaclient/context/chain_test.go b/zetaclient/context/chain_test.go index 365553303b..a679ed020a 100644 --- a/zetaclient/context/chain_test.go +++ b/zetaclient/context/chain_test.go @@ -49,6 +49,7 @@ func TestChainRegistry(t *testing.T) { require.Error(t, r.Set(btc.ChainId, btc, nil)) require.Error(t, r.Set(btc.ChainId, nil, btcParams)) require.Error(t, r.Set(123, btc, btcParams)) + require.Error(t, r.Set(btc.ChainId, btc, ethParams)) // With failure on adding unsupported chains require.ErrorIs(t, r.Set(opt.ChainId, opt, optParams), ErrChainNotSupported)