Skip to content

Commit

Permalink
output a WARN log when executing chanUpgradeCancel without error receipt
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
  • Loading branch information
siburu committed Aug 13, 2024
1 parent b78e1a8 commit 75ef261
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/channel-upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ func upgradeChannelStep(src, dst *ProvableChain, untilFlushing bool) (*RelayMsgs
return nil, err
}

if cpChanUpgErr == nil {
logger.Warn("error receipt not found", "seq", upgradeSequence, "chain_id", cp.ChainID())
}

var msgs []sdk.Msg
addr := mustGetAddress(chain)
if len(cpHeaders) > 0 {
Expand Down

0 comments on commit 75ef261

Please sign in to comment.