Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Sep 23, 2024
1 parent f3d33f1 commit 62fdb62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/test_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (tr *TestRunner) Run() error {
}

tr.result.Passed()
err = tr.teardownEnvironment()
// err = tr.teardownEnvironment()
fmt.Printf("==========================================\n")
return err
}
Expand Down
3 changes: 3 additions & 0 deletions x/ccv/provider/ibc_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -154,6 +156,7 @@ func (im IBCMiddleware) OnRecvPacket(
return ack
}
} else {
logger.Info("transfer memo:%#+v", rewardMemo)
consumerId = rewardMemo.ConsumerId
}

Expand Down

0 comments on commit 62fdb62

Please sign in to comment.