From edc35f28928d4b1a876e6a957a472158bee35228 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Sun, 17 Dec 2023 22:34:34 +0100 Subject: [PATCH] uncomment code --- tools/test-framework/src/relayer/channel.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/test-framework/src/relayer/channel.rs b/tools/test-framework/src/relayer/channel.rs index 826f848a24..b6f2b90e47 100644 --- a/tools/test-framework/src/relayer/channel.rs +++ b/tools/test-framework/src/relayer/channel.rs @@ -503,16 +503,16 @@ fn assert_channel_upgrade_state( ))); } - // if !channel_end_a - // .value() - // .upgraded_sequence.eq(&Sequence::from(5)) - // { - // return Err(Error::generic(eyre!( - // "expected channel end A upgrade sequence to be `{}`, but it is instead `{}`", - // upgrade_attrs.ordering(), - // channel_end_a.value().upgraded_sequence - // ))); - // } + if !channel_end_a + .value() + .upgraded_sequence.eq(&Sequence::from(5)) + { + return Err(Error::generic(eyre!( + "expected channel end A upgrade sequence to be `{}`, but it is instead `{}`", + upgrade_attrs.ordering(), + channel_end_a.value().upgraded_sequence + ))); + } if !channel_end_a .value()