-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Can't query multisig account #6745
Comments
Seems this is due to cosmos-sdk/x/auth/types/account.go Line 182 in 5f6e499
I don't know why we need pretty function at custom |
It is not a problem of the decoder. The bech32 spec has a hard length limit of 90 characters. I.e. such long data should never be stored as bech32 in the first place. |
@YunSuk-Yeo custom JSON Marshaling does not exist for the |
I'm going to close this issue and defer to @alessio on how to treat 0.38/0.39. |
Fix on 0.39: #6749 |
Thanks for launch pad update! |
Summary of Bug
Current account querier return MarshalJSON(Account) when it receive account query. A cli program, which request the account info, do UnmarshalJSON like Here. In this process, the cli program return error because multisig pubkey is longer than the length what
bech32
decoder allow.so the response is
ERROR: decoding bech32 failed: invalid bech32 string length 217
ref) bech.Decode func
Version
v0.38.x
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: