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

Replace deprecated usage of AddressFromBech32 with address.Codec #7835

Open
gjermundgaraba opened this issue Jan 10, 2025 · 0 comments · May be fixed by #7838
Open

Replace deprecated usage of AddressFromBech32 with address.Codec #7835

gjermundgaraba opened this issue Jan 10, 2025 · 0 comments · May be fixed by #7838
Labels
good first issue Good for newcomers

Comments

@gjermundgaraba
Copy link
Contributor

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.
func AccAddressFromBech32(address string) (addr AccAddress, err error) {

Replace all the instance of these deprecated functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

1 participant