From 76996608203f3d420ca1ff407fb7585df5414371 Mon Sep 17 00:00:00 2001 From: marbar3778 Date: Mon, 27 Mar 2023 12:46:26 +0200 Subject: [PATCH] ++ --- docs/docs/building-apps/03-protobuf-annotations.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"