From b4753da330faff38de4f2a1c72f152bd8bed624b Mon Sep 17 00:00:00 2001 From: testinginprod Date: Mon, 23 Sep 2024 16:27:00 +0200 Subject: [PATCH] address pr review --- api/cosmos/accounts/defaults/base/v1/base.pulsar.go | 3 ++- x/accounts/defaults/base/v1/base.pb.go | 3 ++- x/accounts/proto/cosmos/accounts/defaults/base/v1/base.proto | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/api/cosmos/accounts/defaults/base/v1/base.pulsar.go b/api/cosmos/accounts/defaults/base/v1/base.pulsar.go index cee81de1378..bd568f086f2 100644 --- a/api/cosmos/accounts/defaults/base/v1/base.pulsar.go +++ b/api/cosmos/accounts/defaults/base/v1/base.pulsar.go @@ -3215,7 +3215,8 @@ type MsgInit struct { // pub_key defines a pubkey for the account arbitrary encapsulated. PubKey *anypb.Any `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` - // init_sequence defines the initial sequence of the account + // init_sequence defines the initial sequence of the account. + // Defaults to zero if not set. InitSequence uint64 `protobuf:"varint,2,opt,name=init_sequence,json=initSequence,proto3" json:"init_sequence,omitempty"` } diff --git a/x/accounts/defaults/base/v1/base.pb.go b/x/accounts/defaults/base/v1/base.pb.go index 286fd076031..dd8c44aaff2 100644 --- a/x/accounts/defaults/base/v1/base.pb.go +++ b/x/accounts/defaults/base/v1/base.pb.go @@ -27,7 +27,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgInit struct { // pub_key defines a pubkey for the account arbitrary encapsulated. PubKey *any.Any `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` - // init_sequence defines the initial sequence of the account + // init_sequence defines the initial sequence of the account. + // Defaults to zero if not set. InitSequence uint64 `protobuf:"varint,2,opt,name=init_sequence,json=initSequence,proto3" json:"init_sequence,omitempty"` } diff --git a/x/accounts/proto/cosmos/accounts/defaults/base/v1/base.proto b/x/accounts/proto/cosmos/accounts/defaults/base/v1/base.proto index cd2a4e84851..3661c52c610 100644 --- a/x/accounts/proto/cosmos/accounts/defaults/base/v1/base.proto +++ b/x/accounts/proto/cosmos/accounts/defaults/base/v1/base.proto @@ -10,7 +10,8 @@ import "google/protobuf/any.proto"; message MsgInit { // pub_key defines a pubkey for the account arbitrary encapsulated. google.protobuf.Any pub_key = 1; - // init_sequence defines the initial sequence of the account + // init_sequence defines the initial sequence of the account. + // Defaults to zero if not set. uint64 init_sequence = 2; }