Skip to content

Commit

Permalink
fix(axelarnet)!: use AxelarIBCAccount when retry
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyizxx committed Nov 12, 2024
1 parent 81d4315 commit 82ee362
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions x/axelarnet/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,13 @@ func (s msgServer) RetryIBCTransfer(c context.Context, req *types.RetryIBCTransf
return nil, err
}

// Note: Starting from version 1.1, all IBC transfers are routed through AxelarIBCAccount,
// and all previously failed transfers have been migrated to use AxelarIBCAccount as the sender.
//
// This is a temporary measure to prevent pending transfers that would fail during the upgrade process.
// It can be removed if no such cases exists during upgrade, or the migration can be re-run to update senders in version 1.2.
t.Sender = types.AxelarIBCAccount

err = s.ibcK.SendIBCTransfer(ctx, t)
if err != nil {
return nil, err
Expand Down

0 comments on commit 82ee362

Please sign in to comment.