From b4281311bb6a1cb31a5990b60ebbe2e356df3862 Mon Sep 17 00:00:00 2001 From: 0XTFM <140174482+0xTFM@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:02:15 +0300 Subject: [PATCH] fix(nym): tests --- .../block/parsing/msg_parsing_test.go | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkg/cosmos_sdk/block/parsing/msg_parsing_test.go b/pkg/cosmos_sdk/block/parsing/msg_parsing_test.go index a9ea003..62c83c9 100644 --- a/pkg/cosmos_sdk/block/parsing/msg_parsing_test.go +++ b/pkg/cosmos_sdk/block/parsing/msg_parsing_test.go @@ -45,8 +45,8 @@ func TestParseIDsFromResults(t *testing.T) { Events: []types6.Event{{ Type: connectiontypes.EventTypeConnectionOpenInit, Attributes: []types6.EventAttribute{{ - Key: []byte(connectiontypes.AttributeKeyConnectionID), - Value: []byte("myConnectionID"), + Key: connectiontypes.AttributeKeyConnectionID, + Value: "myConnectionID", Index: true, }}, }}, @@ -65,13 +65,13 @@ func TestParseIDsFromResults(t *testing.T) { Type: connectiontypes.EventTypeConnectionOpenInit, Attributes: []types6.EventAttribute{ { - Key: []byte(connectiontypes.AttributeKeyConnectionID), - Value: []byte("myConnectionID"), + Key: connectiontypes.AttributeKeyConnectionID, + Value: "myConnectionID", Index: true, }, { - Key: []byte(connectiontypes.AttributeKeyClientID), - Value: []byte("myClientID"), + Key: connectiontypes.AttributeKeyClientID, + Value: "myClientID", Index: true, }, }, @@ -80,13 +80,13 @@ func TestParseIDsFromResults(t *testing.T) { Type: connectiontypes.EventTypeConnectionOpenTry, Attributes: []types6.EventAttribute{ { - Key: []byte(connectiontypes.AttributeKeyCounterpartyClientID), - Value: []byte("myCounterpartyClientID"), + Key: connectiontypes.AttributeKeyCounterpartyClientID, + Value: "myCounterpartyClientID", Index: true, }, { - Key: []byte(connectiontypes.AttributeKeyCounterpartyConnectionID), - Value: []byte("myCounterpartyConnectionID"), + Key: connectiontypes.AttributeKeyCounterpartyConnectionID, + Value: "myCounterpartyConnectionID", Index: true, }, },