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, }, },