From 62fdb6247e39189ab413587e3b7084996a5531dd Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Mon, 23 Sep 2024 15:31:50 +0200 Subject: [PATCH] wip --- tests/e2e/test_runner.go | 2 +- x/ccv/provider/ibc_middleware.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/e2e/test_runner.go b/tests/e2e/test_runner.go index e07360954e..18ebf340fc 100644 --- a/tests/e2e/test_runner.go +++ b/tests/e2e/test_runner.go @@ -94,7 +94,7 @@ func (tr *TestRunner) Run() error { } tr.result.Passed() - err = tr.teardownEnvironment() + // err = tr.teardownEnvironment() fmt.Printf("==========================================\n") return err } diff --git a/x/ccv/provider/ibc_middleware.go b/x/ccv/provider/ibc_middleware.go index 5808373d66..7a0272b0ba 100644 --- a/x/ccv/provider/ibc_middleware.go +++ b/x/ccv/provider/ibc_middleware.go @@ -135,6 +135,8 @@ func (im IBCMiddleware) OnRecvPacket( } consumerId := "" + logger.Info("received packet transfer memo:%#+v", data.Memo) + // check if the transfer has the reward memo if rewardMemo, err := ccvtypes.GetRewardMemoFromTransferMemo(data.Memo); err != nil { // check if the transfer is on a channel with the same underlying @@ -154,6 +156,7 @@ func (im IBCMiddleware) OnRecvPacket( return ack } } else { + logger.Info("transfer memo:%#+v", rewardMemo) consumerId = rewardMemo.ConsumerId }