-
Notifications
You must be signed in to change notification settings - Fork 104
feat: support address codec in erc20 callbacks #569
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
base: main
Are you sure you want to change the base?
Conversation
Solution: - change address conversion in middleware
@yihuang needs a changelog and to note that it is API breaking |
// check if minting to a recipient address other than the sender is enabled | ||
// for for the given coin denom | ||
if !sender.Equals(receiver) && !k.bankKeeper.IsSendEnabledCoin(ctx, coin) { | ||
if strSender != strReceiver && !k.bankKeeper.IsSendEnabledCoin(ctx, coin) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sender is eth address while receiver is still cosmos address right?
@yihuang lint and tests failing |
Can we add a test that validates this new behavior? |
I converted it to draft, because I'm getting confused at what exactly what we should do here. On the other hand, the UI can also do the address format conversions. |
Description
Closes: #570
see: cosmos/ibc-go#8573
Solution:
Closes: #XXXX
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
main
branch