@@ -172,7 +172,7 @@ func (s *CallbacksTestSuite) TestSendPacket() {
172
172
err error
173
173
)
174
174
sendPacket := func () {
175
- seq , err = transferStack .(porttypes.Middleware ).SendPacket (ctx , chanCap , s .path .EndpointA .ChannelConfig .PortID , s .path .EndpointA .ChannelID , s .chainB .GetTimeoutHeight (), 0 , packetData .GetBytes ())
175
+ seq , err = transferStack .(porttypes.ICS4Wrapper ).SendPacket (ctx , chanCap , s .path .EndpointA .ChannelConfig .PortID , s .path .EndpointA .ChannelID , s .chainB .GetTimeoutHeight (), 0 , packetData .GetBytes ())
176
176
}
177
177
178
178
expPass := tc .expValue == nil
@@ -766,7 +766,7 @@ func (s *CallbacksTestSuite) TestWriteAcknowledgement() {
766
766
transferStack , ok := s .chainB .App .GetIBCKeeper ().Router .GetRoute (transfertypes .ModuleName )
767
767
s .Require ().True (ok )
768
768
769
- err := transferStack .(porttypes.Middleware ).WriteAcknowledgement (ctx , chanCap , packet , ack )
769
+ err := transferStack .(porttypes.ICS4Wrapper ).WriteAcknowledgement (ctx , chanCap , packet , ack )
770
770
771
771
expPass := tc .expError == nil
772
772
s .AssertHasExecutedExpectedCallback (tc .callbackType , expPass )
@@ -966,7 +966,7 @@ func (s *CallbacksTestSuite) TestGetAppVersion() {
966
966
icaControllerStack , ok := s .chainA .App .GetIBCKeeper ().Router .GetRoute (icacontrollertypes .SubModuleName )
967
967
s .Require ().True (ok )
968
968
969
- controllerStack := icaControllerStack .(porttypes.Middleware )
969
+ controllerStack := icaControllerStack .(porttypes.ICS4Wrapper )
970
970
appVersion , found := controllerStack .GetAppVersion (s .chainA .GetContext (), s .path .EndpointA .ChannelConfig .PortID , s .path .EndpointA .ChannelID )
971
971
s .Require ().True (found )
972
972
s .Require ().Equal (s .path .EndpointA .ChannelConfig .Version , appVersion )
0 commit comments