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
Due to x/auth Protobuf encoding migration via #5533, Account.Pubkey was refactored to be a bech32-encoded string instead of crypto.Pubkey, where we convert when we need to. However, this is problematic when the pubkey is a multisig because bech32 limits the decoding to 90 characters which a multisig can exceed 90 chars (amino encoded).
Until Tendermint allows pubkeys to be just []byte slices, we must either:
Revert to crypto.Pubkey and use an adhoc oneof in the SDK.
Use Amino and keep the type as a string.
I propose we go with option (2) as its the easiest. Note, this is also only temporary, as the next major release of Tendermint will allow us to use []byte in conjunction with interface_type.
Due to
x/auth
Protobuf encoding migration via #5533,Account.Pubkey
was refactored to be a bech32-encodedstring
instead ofcrypto.Pubkey
, where we convert when we need to. However, this is problematic when the pubkey is a multisig because bech32 limits the decoding to 90 characters which a multisig can exceed 90 chars (amino encoded).Until Tendermint allows pubkeys to be just
[]byte
slices, we must either:crypto.Pubkey
and use an adhoconeof
in the SDK.string
.I propose we go with option (2) as its the easiest. Note, this is also only temporary, as the next major release of Tendermint will allow us to use
[]byte
in conjunction withinterface_type
./cc @marbar3778 @zmanian
For Admin Use
The text was updated successfully, but these errors were encountered: