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

Broadcaster fails on submitting transaction when the bech32 prefix of the chain is different with sdk.Config #1008

Closed
madrezaz opened this issue Mar 7, 2024 · 0 comments · Fixed by #1009

Comments

@madrezaz
Copy link
Contributor

madrezaz commented Mar 7, 2024

This issue is similar to #898; the TX broadcaster contains the following code:

account, err := clientContext.AccountRetriever.GetAccount(clientContext, sdkAdd)

which is failed since the AccountRetriever is the auth module's implementation and uses the following function:

res, err := queryClient.Account(context.Background(), &QueryAccountRequest{Address: addr.String()}, grpc.Header(&header))

where addr.String() uses the static bech32 prefix and leads to the failure of this query when the chain's prefix is different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant