You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
baseAcc:=authtypes.NewBaseAccountWithAddress(to)
lockedAcc:=sdkvesting.NewPermanentLockedAccount(baseAcc, msg.Amount) // or other vesting account type// set the new account sequenceacc:=ak.NewAccount(ctx, lockedAcc)
ak.SetAccount(ctx, acc)
Version
main, latest (v0.46 rcs and < v0.45)
Steps to Reproduce
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary of Bug
This line fails if the proto base account defined in the application is not a
BaseAccount
:https://github.com/cosmos/cosmos-sdk/blob/main/x/auth/vesting/msg_server.go#L138-L143
Needs to be changed to
Version
main
,latest
(v0.46 rcs and < v0.45)Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: