From 5c1a95d6f1c3e29c7d7de8fa90de0661ab91fbba Mon Sep 17 00:00:00 2001 From: skosito Date: Mon, 16 Dec 2024 15:20:55 +0100 Subject: [PATCH] unit test --- zetaclient/chains/solana/observer/inbound_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/zetaclient/chains/solana/observer/inbound_test.go b/zetaclient/chains/solana/observer/inbound_test.go index fc1cd83263..deb5d4ab51 100644 --- a/zetaclient/chains/solana/observer/inbound_test.go +++ b/zetaclient/chains/solana/observer/inbound_test.go @@ -129,6 +129,7 @@ func Test_BuildInboundVoteMsgFromEvent(t *testing.T) { msg := ob.BuildInboundVoteMsgFromEvent(event) require.NotNil(t, msg) + require.Equal(t, sender, msg.Sender) require.Equal(t, receiver.Hex(), msg.Receiver) }) t.Run("should return nil msg if sender is restricted", func(t *testing.T) {