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
Whenever we have bech32 addresses in our .proto files currently, we always write [(cosmos_proto.scalar) = "cosmos.AddressString"], but this is only correct for account addresses.
For validator addresses (ex. cosmosvaloper12345) or consensus addresses (ex cosmosvalcons12345) we should use cosmos.ValidatorAddressString and cosmos.ConsensusString respectively.
This will become more important in the future once there is more tooling built around these annotations as we already do in x/tx for signing.
The text was updated successfully, but these errors were encountered:
Whenever we have bech32 addresses in our .proto files currently, we always write
[(cosmos_proto.scalar) = "cosmos.AddressString"]
, but this is only correct for account addresses.For validator addresses (ex.
cosmosvaloper12345
) or consensus addresses (excosmosvalcons12345
) we should usecosmos.ValidatorAddressString
andcosmos.ConsensusString
respectively.This will become more important in the future once there is more tooling built around these annotations as we already do in
x/tx
for signing.The text was updated successfully, but these errors were encountered: