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
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:
// Deprecated: Use an address.Codec to convert addresses from and to string/bytes.funcAccAddressFromBech32(addressstring) (addrAccAddress, errerror) {
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:
@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).
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: