Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(axelarnet)!: use AxelarIBCAccount when retry #2208

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading