From a4f0b3b7c2917dc71b2a730b9e9fa398c8b3346e Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Tue, 6 Aug 2024 12:27:56 +0300 Subject: [PATCH] Updated naming according to comments --- .../flow/entities/node_version_info.proto | 4 +- .../go/flow/entities/node_version_info.pb.go | 58 +++++++++---------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/protobuf/flow/entities/node_version_info.proto b/protobuf/flow/entities/node_version_info.proto index de7ac399f..c704a1d33 100644 --- a/protobuf/flow/entities/node_version_info.proto +++ b/protobuf/flow/entities/node_version_info.proto @@ -22,7 +22,7 @@ message NodeVersionInfo { // indexed. uint64 node_root_block_height = 6; // The first block that the node's version supports. - uint64 start_height = 7; + uint64 protocol_version_start_height = 7; // The last block the node's version supports. - uint64 end_height = 8; + uint64 protocol_version_end_height = 8; } diff --git a/protobuf/go/flow/entities/node_version_info.pb.go b/protobuf/go/flow/entities/node_version_info.pb.go index aa4102bff..08b9609c3 100644 --- a/protobuf/go/flow/entities/node_version_info.pb.go +++ b/protobuf/go/flow/entities/node_version_info.pb.go @@ -37,12 +37,12 @@ type NodeVersionInfo struct { // indexed. NodeRootBlockHeight uint64 `protobuf:"varint,6,opt,name=node_root_block_height,json=nodeRootBlockHeight,proto3" json:"node_root_block_height,omitempty"` // The first block that the node's version supports. - StartHeight uint64 `protobuf:"varint,7,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` + ProtocolVersionStartHeight uint64 `protobuf:"varint,7,opt,name=protocol_version_start_height,json=protocolVersionStartHeight,proto3" json:"protocol_version_start_height,omitempty"` // The last block the node's version supports. - EndHeight uint64 `protobuf:"varint,8,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ProtocolVersionEndHeight uint64 `protobuf:"varint,8,opt,name=protocol_version_end_height,json=protocolVersionEndHeight,proto3" json:"protocol_version_end_height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *NodeVersionInfo) Reset() { *m = NodeVersionInfo{} } @@ -112,16 +112,16 @@ func (m *NodeVersionInfo) GetNodeRootBlockHeight() uint64 { return 0 } -func (m *NodeVersionInfo) GetStartHeight() uint64 { +func (m *NodeVersionInfo) GetProtocolVersionStartHeight() uint64 { if m != nil { - return m.StartHeight + return m.ProtocolVersionStartHeight } return 0 } -func (m *NodeVersionInfo) GetEndHeight() uint64 { +func (m *NodeVersionInfo) GetProtocolVersionEndHeight() uint64 { if m != nil { - return m.EndHeight + return m.ProtocolVersionEndHeight } return 0 } @@ -135,24 +135,24 @@ func init() { } var fileDescriptor_ff9e447351cb4a8a = []byte{ - // 292 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xdf, 0x4a, 0xc3, 0x30, - 0x14, 0xc6, 0xe9, 0x9c, 0xfb, 0x73, 0x9c, 0x4c, 0xa2, 0xcc, 0x0a, 0x0a, 0x53, 0x10, 0xea, 0x4d, - 0x23, 0x0c, 0x5f, 0x60, 0x57, 0xee, 0x46, 0xa4, 0x17, 0x5e, 0x78, 0x53, 0x6c, 0x93, 0xb6, 0x61, - 0x6d, 0xce, 0x48, 0xb3, 0xf9, 0x64, 0xbe, 0x9f, 0xf4, 0xa4, 0x11, 0xd4, 0x9b, 0xc0, 0xf9, 0xbe, - 0xdf, 0x97, 0x93, 0x73, 0x02, 0xf7, 0x45, 0x8d, 0x9f, 0x5c, 0x6a, 0xab, 0xac, 0x92, 0x2d, 0xd7, - 0x28, 0x64, 0x7a, 0x90, 0xa6, 0x55, 0xa8, 0x53, 0xa5, 0x0b, 0x8c, 0x77, 0x06, 0x2d, 0xb2, 0xd3, - 0x0e, 0x8b, 0x3d, 0x76, 0xf7, 0x35, 0x80, 0xf9, 0x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9, 0x03, 0x44, - 0xc8, 0x01, 0x00, 0x00, + // 304 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0x4f, 0x4b, 0x03, 0x31, + 0x10, 0xc5, 0xd9, 0x5a, 0xdb, 0x1a, 0x94, 0x4a, 0x94, 0x1a, 0xff, 0x41, 0x11, 0x84, 0x7a, 0xd9, + 0x08, 0xc5, 0xa3, 0x07, 0x0b, 0x82, 0xbd, 0x88, 0xac, 0xe0, 0xc1, 0x4b, 0x70, 0x37, 0xd9, 0x6d, + 0x68, 0x37, 0x53, 0xb2, 0x69, 0xfd, 0xe4, 0xde, 0x65, 0x27, 0x1b, 0xc1, 0xed, 0x25, 0x30, 0xf3, + 0xde, 0xef, 0xcd, 0x84, 0x21, 0xb7, 0xf9, 0x0a, 0xbe, 0xb9, 0x32, 0x4e, 0x3b, 0xad, 0x2a, 0x6e, + 0x40, 0x2a, 0xb1, 0x55, 0xb6, 0xd2, 0x60, 0x84, 0x36, 0x39, 0xc4, 0x6b, 0x0b, 0x0e, 0xe8, 0x51, + 0x6d, 0x8b, 0x83, 0xed, 0xe6, 0xa7, 0x43, 0x86, 0xaf, 0x20, 0xd5, 0x87, 0x77, 0xce, 0x4d, 0x0e, + 0x74, 0x44, 0x7a, 0x95, 0x2a, 0xb7, 0xca, 0xb2, 0x68, 0x1c, 0x4d, 0x0e, 0x92, 0xa6, 0xaa, 0xfb, + 0x19, 0x94, 0xa5, 0x76, 0xac, 0xe3, 0xfb, 0xbe, 0xa2, 0xe7, 0x64, 0x50, 0xad, 0xc1, 0x2e, 0x85, + 0x96, 0x6c, 0x6f, 0x1c, 0x4d, 0x0e, 0x93, 0x3e, 0xd6, 0x73, 0x49, 0xef, 0xc8, 0x31, 0x8e, 0xcd, + 0x60, 0x15, 0x96, 0x61, 0xdd, 0x71, 0x34, 0xe9, 0x26, 0xc3, 0xd0, 0x6f, 0x26, 0x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