From a2361dc712b78f96a0df7696afe3fe671d846285 Mon Sep 17 00:00:00 2001 From: Sergi Rene Date: Wed, 30 Oct 2024 16:10:56 +0100 Subject: [PATCH] uint32 --- abci/types/types.pb.go | 60 +++++++++++++++---------------- proto/tendermint/abci/types.proto | 2 +- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/abci/types/types.pb.go b/abci/types/types.pb.go index 5a9d0f91d4..ca755a27c6 100644 --- a/abci/types/types.pb.go +++ b/abci/types/types.pb.go @@ -3217,7 +3217,7 @@ func (m *Evidence) GetTotalVotingPower() int64 { type RollappParams struct { Da string `protobuf:"bytes,1,opt,name=da,proto3" json:"da,omitempty"` - DrsVersion uint64 `protobuf:"varint,2,opt,name=drs_version,json=drsVersion,proto3" json:"drs_version,omitempty"` + DrsVersion uint32 `protobuf:"varint,2,opt,name=drs_version,json=drsVersion,proto3" json:"drs_version,omitempty"` } func (m *RollappParams) Reset() { *m = RollappParams{} } @@ -3260,7 +3260,7 @@ func (m *RollappParams) GetDa() string { return "" } -func (m *RollappParams) GetDrsVersion() uint64 { +func (m *RollappParams) GetDrsVersion() uint32 { if m != nil { return m.DrsVersion } @@ -3399,7 +3399,7 @@ func init() { func init() { proto.RegisterFile("tendermint/abci/types.proto", fileDescriptor_252557cfdd89a31a) } var fileDescriptor_252557cfdd89a31a = []byte{ - // 2941 bytes of a gzipped FileDescriptorProto + // 2943 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0x4b, 0x77, 0x23, 0xc5, 0xf5, 0xd7, 0xfb, 0x71, 0x6d, 0xc9, 0x72, 0x8d, 0x19, 0x34, 0xcd, 0x60, 0x0f, 0xcd, 0x81, 0x3f, 0x33, 0x80, 0xfd, 0xc7, 0x1c, 0x08, 0x04, 0x12, 0xb0, 0x84, 0x06, 0x99, 0x31, 0xb6, 0x53, 0xd6, @@ -3558,32 +3558,32 @@ var fileDescriptor_252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8b, 0xff, 0xac, 0x50, 0x96, 0x28, 0xa1, 0xa3, + 0xfb, 0x00, 0x91, 0x52, 0xc6, 0x12, 0xbf, 0x4c, 0x28, 0xcb, 0x94, 0xc6, 0xd1, 0x11, 0x94, 0x82, + 0x24, 0x6c, 0xe1, 0x0f, 0x0c, 0xca, 0xe2, 0x1a, 0x35, 0xfa, 0x00, 0x2a, 0xf1, 0x4c, 0x61, 0xb9, + 0xdf, 0x12, 0x94, 0x25, 0x8b, 0xcf, 0xcc, 0x7e, 0x3c, 0x6d, 0x58, 0xee, 0x37, 0x05, 0x65, 0xc9, + 0x5a, 0x34, 0xfa, 0x08, 0xd6, 0x67, 0x69, 0xfd, 0xf2, 0x7f, 0x2d, 0x28, 0x57, 0xa8, 0x4e, 0xa3, + 0x11, 0xa0, 0x39, 0xe9, 0xc0, 0x15, 0x7e, 0x62, 0x50, 0xae, 0x52, 0xac, 0x6e, 0xb4, 0xbe, 0xf8, + 0x76, 0x33, 0xfd, 0xd5, 0xb7, 0x9b, 0xe9, 0xbf, 0x7d, 0xbb, 0x99, 0xfe, 0xec, 0xbb, 0xcd, 0xd4, + 0x57, 0xdf, 0x6d, 0xa6, 0xfe, 0xf2, 0xdd, 0x66, 0xea, 0x97, 0xcf, 0xf6, 0x4d, 0x3a, 0x18, 0x77, + 0xb7, 0x7b, 0xf6, 0x68, 0x27, 0xfa, 0xf3, 0xd5, 0xbc, 0x1f, 0xc2, 0xba, 0x05, 0x1e, 0xea, 0x5e, + 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x3f, 0x98, 0xbb, 0x30, 0x26, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -15048,7 +15048,7 @@ func (m *RollappParams) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.DrsVersion |= uint64(b&0x7F) << shift + m.DrsVersion |= uint32(b&0x7F) << shift if b < 0x80 { break } diff --git a/proto/tendermint/abci/types.proto b/proto/tendermint/abci/types.proto index 280b2b325d..8f752b9086 100644 --- a/proto/tendermint/abci/types.proto +++ b/proto/tendermint/abci/types.proto @@ -396,7 +396,7 @@ message Evidence { message RollappParams { string da = 1 ; - uint64 drs_version = 2; + uint32 drs_version = 2; } //----------------------------------------