From dd368fda93bcceb52332ad1dd751ab384094c595 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Sun, 25 Jun 2023 12:00:44 +0800 Subject: [PATCH] revert the use of using a newer call --- legacy_ibc_testing/core/events.go | 2 +- legacy_ibc_testing/testing/events.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy_ibc_testing/core/events.go b/legacy_ibc_testing/core/events.go index cfc0a32680..a17c1b4374 100644 --- a/legacy_ibc_testing/core/events.go +++ b/legacy_ibc_testing/core/events.go @@ -36,7 +36,7 @@ func ReconstructPacketFromEvent(event abci.Event) (packet types.Packet, err erro return packet, err } return types.NewPacket( - attrMap[string(types.AttributeKeyDataHex)], // data + attrMap[string(types.AttributeKeyData)], //nolint:staticcheck // data uint64(sequence), string(attrMap[string(types.AttributeKeySrcPort)]), // sourcePort, string(attrMap[string(types.AttributeKeySrcChannel)]), // sourceChannel, diff --git a/legacy_ibc_testing/testing/events.go b/legacy_ibc_testing/testing/events.go index b449750e0e..83deeb6a6f 100644 --- a/legacy_ibc_testing/testing/events.go +++ b/legacy_ibc_testing/testing/events.go @@ -69,7 +69,7 @@ func ParseAckFromEvents(events sdk.Events) ([]byte, error) { for _, ev := range events { if ev.Type == channeltypes.EventTypeWriteAck { for _, attr := range ev.Attributes { - if attr.Key == channeltypes.AttributeKeyAckHex { + if attr.Key == channeltypes.AttributeKeyAck { //nolint:staticcheck // data return []byte(attr.Value), nil } }