From ebbdd7afa5036a01825b18893d919a6018f27444 Mon Sep 17 00:00:00 2001 From: Carlton N Hanna Date: Wed, 6 Sep 2023 14:49:47 -0600 Subject: [PATCH] fix proto numbers --- proto/provenance/marker/v1/genesis.proto | 2 +- x/marker/types/genesis.pb.go | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/proto/provenance/marker/v1/genesis.proto b/proto/provenance/marker/v1/genesis.proto index baf538e2b0..787b680884 100644 --- a/proto/provenance/marker/v1/genesis.proto +++ b/proto/provenance/marker/v1/genesis.proto @@ -35,7 +35,7 @@ message DenySendAddress { // marker_address is the marker's address for denied address string marker_address = 1; // deny_address defines all wallet addresses that are denied sends for the marker - string deny_address = 3; + string deny_address = 2; } // MarkerNetAssetValues defines the net asset values for a marker diff --git a/x/marker/types/genesis.pb.go b/x/marker/types/genesis.pb.go index 9c1ec8f453..ceb0c27c9f 100644 --- a/x/marker/types/genesis.pb.go +++ b/x/marker/types/genesis.pb.go @@ -73,7 +73,7 @@ type DenySendAddress struct { // marker_address is the marker's address for denied address MarkerAddress string `protobuf:"bytes,1,opt,name=marker_address,json=markerAddress,proto3" json:"marker_address,omitempty"` // deny_address defines all wallet addresses that are denied sends for the marker - DenyAddress string `protobuf:"bytes,3,opt,name=deny_address,json=denyAddress,proto3" json:"deny_address,omitempty"` + DenyAddress string `protobuf:"bytes,2,opt,name=deny_address,json=denyAddress,proto3" json:"deny_address,omitempty"` } func (m *DenySendAddress) Reset() { *m = DenySendAddress{} } @@ -180,14 +180,14 @@ var fileDescriptor_5dcc4ab7c9d2f78f = []byte{ 0xc4, 0xf3, 0x22, 0xe0, 0x1c, 0xb8, 0x51, 0x92, 0xfa, 0x9e, 0x5a, 0xff, 0x09, 0xe8, 0x66, 0x0e, 0xd4, 0x1b, 0x27, 0x78, 0x6a, 0x7e, 0xe9, 0xe5, 0xc7, 0xc0, 0x47, 0x4f, 0xfe, 0x6c, 0x5b, 0xda, 0xfd, 0xb6, 0xa5, 0x75, 0x01, 0x3d, 0x7f, 0x94, 0xc2, 0x3d, 0x54, 0x4f, 0x94, 0x59, 0xad, 0xbc, - 0xde, 0xa7, 0xb3, 0x67, 0xc9, 0x34, 0xc3, 0x3a, 0xa8, 0x26, 0x0f, 0x98, 0x41, 0x45, 0x09, 0x55, + 0xde, 0xa7, 0xb3, 0x67, 0xc9, 0x34, 0xc3, 0x3a, 0xa8, 0x26, 0x0f, 0x98, 0x41, 0x05, 0x09, 0x55, 0x4f, 0xb3, 0x14, 0xb9, 0xa8, 0xf9, 0xab, 0xa3, 0x86, 0xea, 0xe3, 0xb1, 0x81, 0x2a, 0xf9, 0x96, 0x6c, 0x8b, 0xe7, 0x8a, 0xcb, 0xbd, 0xfa, 0xab, 0x72, 0x66, 0xf5, 0xad, 0x9e, 0x4f, 0x34, 0xf1, 0x77, 0x07, 0x53, 0xdf, 0x1f, 0x4c, 0xfd, 0xee, 0x60, 0xea, 0xff, 0x8e, 0xa6, 0xb6, 0x3f, 0x9a, 0xda, 0xcd, 0xd1, 0xd4, 0xd0, 0xeb, 0x80, 0x29, 0x0b, 0xa6, 0xfa, 0x62, 0xe8, 0x07, 0xe2, 0xc7, 0x7a, 0x69, 0xb9, 0x6c, 0x65, 0x9f, 0x91, 0xf7, 0x01, 0xbb, 0xd8, 0xd9, 0xbf, 0xb3, 0x07, 0x2c, - 0x36, 0x21, 0xf0, 0x65, 0x59, 0xbe, 0xde, 0x0f, 0x0f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x78, 0x9f, - 0x1d, 0x5f, 0x32, 0x03, 0x00, 0x00, + 0x36, 0x21, 0xf0, 0x65, 0x59, 0xbe, 0xde, 0x0f, 0x0f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x2d, + 0x05, 0xd5, 0x32, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -290,7 +290,7 @@ func (m *DenySendAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.DenyAddress) i = encodeVarintGenesis(dAtA, i, uint64(len(m.DenyAddress))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } if len(m.MarkerAddress) > 0 { i -= len(m.MarkerAddress) @@ -674,7 +674,7 @@ func (m *DenySendAddress) Unmarshal(dAtA []byte) error { } m.MarkerAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field DenyAddress", wireType) }