-
Notifications
You must be signed in to change notification settings - Fork 637
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
Replace deprecated usage of AddressFromBech32 with address.Codec #7835
Comments
@duvbell, I added a link to the SDK where you should go look for the different ways they get the correct codec at any given time. It is usually attached to a client context, so you shouldn't have to create it anywhere yourself. If you want to work on this issue I can assign it to you (that's usually what we want before a PR, so people don't overlap work). |
@gjermundgaraba I would like to work on this issue. |
helo @gjermundgaraba , i was kind of busy the last few days. Lets @hungdinh82 take on this, i will do other issues later |
Thank you so much @duvbell. |
We use a few different versions of
*AddressFromBech32
in the code base, which is now deprecated. This should be replaced with use of an address.Codec as per the documentation:Replace all the instance of these deprecated functions.
Look at how this is done in the SDK for a good pointer on how it should be done here.
The text was updated successfully, but these errors were encountered: