From 062186b2ce898d12591fe8493a8b49d2173742e1 Mon Sep 17 00:00:00 2001 From: Masanori Yoshida Date: Fri, 12 Jul 2024 23:10:31 +0900 Subject: [PATCH] fix channelToPB to additionally copy UpgradeSequence Signed-off-by: Masanori Yoshida --- pkg/relay/ethereum/types.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkg/relay/ethereum/types.go b/pkg/relay/ethereum/types.go index 9506599..a64c1b4 100644 --- a/pkg/relay/ethereum/types.go +++ b/pkg/relay/ethereum/types.go @@ -32,11 +32,12 @@ func connectionEndToPB(conn ibchandler.ConnectionEndData) connectiontypes.Connec func channelToPB(chann ibchandler.ChannelData) channeltypes.Channel { return channeltypes.Channel{ - State: channeltypes.State(chann.State), - Ordering: channeltypes.Order(chann.Ordering), - Counterparty: channeltypes.Counterparty(chann.Counterparty), - ConnectionHops: chann.ConnectionHops, - Version: chann.Version, + State: channeltypes.State(chann.State), + Ordering: channeltypes.Order(chann.Ordering), + Counterparty: channeltypes.Counterparty(chann.Counterparty), + ConnectionHops: chann.ConnectionHops, + Version: chann.Version, + UpgradeSequence: chann.UpgradeSequence, } }