diff --git a/docs/docs/building-apps/03-protobuf-annotations.md b/docs/docs/building-apps/03-protobuf-annotations.md index d78b43233acf..c690ef18072a 100644 --- a/docs/docs/building-apps/03-protobuf-annotations.md +++ b/docs/docs/building-apps/03-protobuf-annotations.md @@ -6,11 +6,13 @@ sidebar_position: 1 This document explains the various protobuf scalars that have been added to make working with protobuf easier for Cosmos SDK application developers -## Scalars +## Scalar (cosmos_proto.scalar) = "cosmos.AddressString"; -## Interfaces +## Implements_Interface + +Implement interface is option (cosmos_proto.implements_interface) = "cosmos.auth.v1beta1.AccountI"; @@ -20,7 +22,7 @@ option (cosmos_proto.implements_interface) = "cosmos.auth.v1beta1.AccountI"; option (amino.name) = "cosmos-sdk/BaseAccount"; -### Field Name +### Field_Name (amino.field_name) = "public_key"