From 8e01624236d50eb89cb08c7b4bf33929aaf8a5c2 Mon Sep 17 00:00:00 2001 From: Jordan Schalm Date: Wed, 26 Feb 2025 14:42:40 -0800 Subject: [PATCH 1/4] add protocol state version field --- .../flow/entities/node_version_info.proto | 10 ++- .../go/flow/entities/node_version_info.pb.go | 72 +++++++++++-------- 2 files changed, 52 insertions(+), 30 deletions(-) diff --git a/protobuf/flow/entities/node_version_info.proto b/protobuf/flow/entities/node_version_info.proto index 90c8edd89..4f76742b9 100644 --- a/protobuf/flow/entities/node_version_info.proto +++ b/protobuf/flow/entities/node_version_info.proto @@ -19,8 +19,10 @@ message NodeVersionInfo { string commit = 2; // The unique identifier for the node's network within the current spork. bytes spork_id = 3; - // The protocol version of the currently running node software. - uint64 protocol_version = 4; + // The deprecated protocol version number. + // Previously this referred to the major software version as of the most recent spork. + // Replaced by protocol_state_version. + uint64 protocol_version = 4 [deprecated = true]; // The spork root block height. This is the height of the first sealed block in the spork network. uint64 spork_root_block_height = 5; // The node's root block height. This is the first sealed block in the node's protocol database. @@ -30,4 +32,8 @@ message NodeVersionInfo { uint64 node_root_block_height = 6; // The compatible version range. CompatibleRange compatible_range = 7; + // The Protocol State version as of the latest finalized block. + // This tracks the schema version of the Protocol State and is used to coordinate breaking changes in the Protocol. + // Version numbers are monotonically increasing. + uint64 protocol_state_version = 8; } diff --git a/protobuf/go/flow/entities/node_version_info.pb.go b/protobuf/go/flow/entities/node_version_info.pb.go index d50ecfa9f..1ad3bbae0 100644 --- a/protobuf/go/flow/entities/node_version_info.pb.go +++ b/protobuf/go/flow/entities/node_version_info.pb.go @@ -76,8 +76,10 @@ type NodeVersionInfo struct { Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // The unique identifier for the node's network within the current spork. SporkId []byte `protobuf:"bytes,3,opt,name=spork_id,json=sporkId,proto3" json:"spork_id,omitempty"` - // The protocol version of the currently running node software. - ProtocolVersion uint64 `protobuf:"varint,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` + // The deprecated protocol version number. + // Previously this referred to the major software version as of the most recent spork. + // Replaced by protocol_state_version. + ProtocolVersion uint64 `protobuf:"varint,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // Deprecated: Do not use. // The spork root block height. This is the height of the first sealed block in the spork network. SporkRootBlockHeight uint64 `protobuf:"varint,5,opt,name=spork_root_block_height,json=sporkRootBlockHeight,proto3" json:"spork_root_block_height,omitempty"` // The node's root block height. This is the first sealed block in the node's protocol database. @@ -86,10 +88,14 @@ 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 compatible version range. - CompatibleRange *CompatibleRange `protobuf:"bytes,7,opt,name=compatible_range,json=compatibleRange,proto3" json:"compatible_range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CompatibleRange *CompatibleRange `protobuf:"bytes,7,opt,name=compatible_range,json=compatibleRange,proto3" json:"compatible_range,omitempty"` + // The Protocol State version as of the latest finalized block. + // This tracks the schema version of the Protocol State and is used to coordinate breaking changes in the Protocol. + // Version numbers are monotonically increasing. + ProtocolStateVersion uint64 `protobuf:"varint,8,opt,name=protocol_state_version,json=protocolStateVersion,proto3" json:"protocol_state_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *NodeVersionInfo) Reset() { *m = NodeVersionInfo{} } @@ -138,6 +144,7 @@ func (m *NodeVersionInfo) GetSporkId() []byte { return nil } +// Deprecated: Do not use. func (m *NodeVersionInfo) GetProtocolVersion() uint64 { if m != nil { return m.ProtocolVersion @@ -166,6 +173,13 @@ func (m *NodeVersionInfo) GetCompatibleRange() *CompatibleRange { return nil } +func (m *NodeVersionInfo) GetProtocolStateVersion() uint64 { + if m != nil { + return m.ProtocolStateVersion + } + return 0 +} + func init() { proto.RegisterType((*CompatibleRange)(nil), "flow.entities.CompatibleRange") proto.RegisterType((*NodeVersionInfo)(nil), "flow.entities.NodeVersionInfo") @@ -176,26 +190,28 @@ func init() { } var fileDescriptor_ff9e447351cb4a8a = []byte{ - // 331 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcd, 0x4a, 0xc3, 0x40, - 0x10, 0x26, 0xb5, 0xb6, 0x76, 0x5a, 0x49, 0x59, 0xa5, 0x46, 0x50, 0xa9, 0x05, 0xa1, 0x5e, 0x12, - 0xb1, 0xf8, 0x02, 0xf5, 0x62, 0x2f, 0x22, 0x2b, 0x78, 0xf0, 0x12, 0x9a, 0x64, 0x93, 0x2e, 0x4d, - 0x76, 0xca, 0x66, 0x5b, 0xdf, 0xce, 0x67, 0x93, 0x4c, 0xb2, 0x85, 0xd6, 0x4b, 0x60, 0xbe, 0x9f, - 0xd9, 0xf9, 0x3e, 0x02, 0x0f, 0x69, 0x8e, 0x3f, 0x81, 0x50, 0x46, 0x1a, 0x29, 0xca, 0x40, 0x61, - 0x22, 0xc2, 0x9d, 0xd0, 0xa5, 0x44, 0x15, 0x4a, 0x95, 0xa2, 0xbf, 0xd1, 0x68, 0x90, 0x9d, 0x57, - 0x32, 0xdf, 0xca, 0x26, 0x9f, 0xe0, 0xbe, 0x62, 0xb1, 0x59, 0x1a, 0x19, 0xe5, 0x82, 0x2f, 0x55, - 0x26, 0xd8, 0x3d, 0x0c, 0x4a, 0xb3, 0xd4, 0x26, 0x5c, 0x09, 0x99, 0xad, 0x8c, 0xe7, 0x8c, 0x9d, - 0x69, 0x9b, 0xf7, 0x09, 0x7b, 0x23, 0x88, 0xdd, 0x02, 0x08, 0x95, 0x58, 0x41, 0x8b, 0x04, 0x3d, - 0xa1, 0x92, 0x9a, 0x9e, 0xfc, 0xb6, 0xc0, 0x7d, 0xc7, 0x44, 0x7c, 0xd5, 0xcf, 0x2f, 0x54, 0x8a, - 0x6c, 0x04, 0x9d, 0x52, 0x14, 0x3b, 0xa1, 0x69, 0x5f, 0x8f, 0x37, 0x53, 0x85, 0xc7, 0x58, 0x14, - 0xb2, 0x5e, 0xd3, 0xe3, 0xcd, 0xc4, 0xae, 0xe1, 0xac, 0xdc, 0xa0, 0x5e, 0x87, 0x32, 0xf1, 0x4e, - 0xc6, 0xce, 0x74, 0xc0, 0xbb, 0x34, 0x2f, 0x12, 0xf6, 0x08, 0x43, 0xca, 0x12, 0x63, 0x6e, 0x13, - 0x7a, 0x6d, 0xba, 0xc1, 0xb5, 0x78, 0xf3, 0x32, 0x7b, 0x81, 0xab, 0x7a, 0x8b, 0x46, 0x34, 0x61, - 0x94, 0x63, 0xbc, 0xb6, 0x57, 0x9f, 0x92, 0xe3, 0x92, 0x68, 0x8e, 0x68, 0xe6, 0x15, 0xd9, 0xe4, - 0x9b, 0xc1, 0x88, 0xfa, 0xfb, 0xef, 0xea, 0x90, 0xeb, 0xa2, 0x62, 0x8f, 0x4d, 0x0b, 0x18, 0xc6, - 0xfb, 0x2a, 0x43, 0x5d, 0x75, 0xe9, 0x75, 0xc7, 0xce, 0xb4, 0xff, 0x7c, 0xe7, 0x1f, 0x94, 0xee, - 0x1f, 0x35, 0xce, 0xdd, 0xf8, 0x10, 0x98, 0x7f, 0xc0, 0x0d, 0xea, 0xcc, 0x47, 0x45, 0x3e, 0x0a, - 0x15, 0x6d, 0xd3, 0xfd, 0x82, 0xef, 0xa7, 0x4c, 0x9a, 0xd5, 0x36, 0xf2, 0x63, 0x2c, 0x82, 0x5a, - 0x14, 0xd0, 0xc7, 0x2a, 0x83, 0x0c, 0x83, 0x83, 0xdf, 0x21, 0xea, 0x10, 0x35, 0xfb, 0x0b, 0x00, - 0x00, 0xff, 0xff, 0xf6, 0x11, 0xfd, 0x6f, 0x26, 0x02, 0x00, 0x00, + // 359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcb, 0x6a, 0xe3, 0x40, + 0x10, 0x44, 0x5e, 0xaf, 0x1f, 0x6d, 0x2f, 0x32, 0xda, 0xc5, 0xab, 0x40, 0x12, 0x1c, 0x43, 0xc0, + 0x97, 0x48, 0x21, 0x4e, 0x7e, 0xc0, 0xb9, 0xc4, 0x97, 0x10, 0xc6, 0x90, 0x43, 0x2e, 0x42, 0x8f, + 0x91, 0x3c, 0x58, 0x9a, 0x36, 0xa3, 0xb1, 0xf3, 0xeb, 0x39, 0x06, 0xb5, 0x34, 0x02, 0x3b, 0x17, + 0x41, 0x77, 0x55, 0x77, 0x57, 0xd5, 0x08, 0x6e, 0xd3, 0x1c, 0x3f, 0x7d, 0x2e, 0xb5, 0xd0, 0x82, + 0x97, 0xbe, 0xc4, 0x84, 0x07, 0x47, 0xae, 0x4a, 0x81, 0x32, 0x10, 0x32, 0x45, 0x6f, 0xaf, 0x50, + 0xa3, 0xf3, 0xa7, 0xa2, 0x79, 0x86, 0x36, 0xdf, 0x80, 0xfd, 0x8c, 0xc5, 0x3e, 0xd4, 0x22, 0xca, + 0x39, 0x0b, 0x65, 0xc6, 0x9d, 0x1b, 0x18, 0x97, 0x3a, 0x54, 0x3a, 0xd8, 0x72, 0x91, 0x6d, 0xb5, + 0x6b, 0xcd, 0xac, 0x45, 0x97, 0x8d, 0xa8, 0xf7, 0x42, 0x2d, 0xe7, 0x0a, 0x80, 0xcb, 0xc4, 0x10, + 0x3a, 0x44, 0x18, 0x72, 0x99, 0xd4, 0xf0, 0xfc, 0xab, 0x03, 0xf6, 0x2b, 0x26, 0xfc, 0xbd, 0x3e, + 0xbf, 0x96, 0x29, 0x3a, 0x53, 0xe8, 0x95, 0xbc, 0x38, 0x72, 0x45, 0xfb, 0x86, 0xac, 0xa9, 0xaa, + 0x7e, 0x8c, 0x45, 0x21, 0xea, 0x35, 0x43, 0xd6, 0x54, 0xce, 0x05, 0x0c, 0xca, 0x3d, 0xaa, 0x5d, + 0x20, 0x12, 0xf7, 0xd7, 0xcc, 0x5a, 0x8c, 0x59, 0x9f, 0xea, 0x75, 0xe2, 0xdc, 0xc1, 0x84, 0xbc, + 0xc4, 0x98, 0x1b, 0x87, 0x6e, 0xb7, 0xd2, 0xb0, 0xea, 0xb8, 0x16, 0xb3, 0x0d, 0xd6, 0x5c, 0x77, + 0x9e, 0xe0, 0x7f, 0xbd, 0x49, 0x21, 0xea, 0x20, 0xca, 0x31, 0xde, 0x19, 0xe5, 0xbf, 0x49, 0xf9, + 0x3f, 0x82, 0x19, 0xa2, 0x5e, 0x55, 0x60, 0xe3, 0x71, 0x09, 0x53, 0xca, 0xf0, 0xe7, 0x54, 0x8f, + 0xa6, 0xfe, 0x56, 0xe8, 0xf9, 0xd0, 0x1a, 0x26, 0x71, 0x1b, 0x67, 0xa0, 0xaa, 0x3c, 0xdd, 0xfe, + 0xcc, 0x5a, 0x8c, 0x1e, 0xae, 0xbd, 0x93, 0xe0, 0xbd, 0xb3, 0xd4, 0x99, 0x1d, 0x9f, 0x3d, 0xc3, + 0x23, 0x4c, 0x5b, 0x97, 0xa5, 0x0e, 0x75, 0xfb, 0x9a, 0xee, 0xa0, 0x56, 0x6d, 0xd0, 0x4d, 0x05, + 0x36, 0x66, 0x57, 0x6f, 0x70, 0x89, 0x2a, 0xf3, 0x50, 0xd2, 0x35, 0xa2, 0x44, 0x87, 0xb4, 0x3d, + 0xfb, 0x71, 0x9f, 0x09, 0xbd, 0x3d, 0x44, 0x5e, 0x8c, 0x85, 0x5f, 0x93, 0x7c, 0xfa, 0x18, 0xa6, + 0x9f, 0xa1, 0x7f, 0xf2, 0x23, 0x45, 0x3d, 0x82, 0x96, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x82, + 0xdb, 0x38, 0xe9, 0x60, 0x02, 0x00, 0x00, } From 2b182db23e968d6fb2e755baef2846e14a3c9feb Mon Sep 17 00:00:00 2001 From: Jordan Schalm Date: Wed, 26 Feb 2025 14:43:12 -0800 Subject: [PATCH 2/4] add results of make generate not associated with this PR --- protobuf/go/flow/execution/execution.pb.go | 2 +- protobuf/go/flow/executiondata/executiondata.pb.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/protobuf/go/flow/execution/execution.pb.go b/protobuf/go/flow/execution/execution.pb.go index 50e7200f1..b28408535 100644 --- a/protobuf/go/flow/execution/execution.pb.go +++ b/protobuf/go/flow/execution/execution.pb.go @@ -1215,7 +1215,7 @@ func (m *GetTransactionExecutionMetricsAfterRequest) GetBlockHeight() uint64 { // The response for GetTransactionExecutionMetricsAfter // The response contains the execution metrics for transactions in each block -// after the requested block height. The execution node only keeps a limited +// after the requested block height (block_height + 1). The execution node only keeps a limited // number of blocks in memory, so the response may not contain metrics for all // blocks. Only finalized and executed blocks will be in the response. // The blocks are sorted by block height in descending order. diff --git a/protobuf/go/flow/executiondata/executiondata.pb.go b/protobuf/go/flow/executiondata/executiondata.pb.go index f855b6d7a..b1e97f996 100644 --- a/protobuf/go/flow/executiondata/executiondata.pb.go +++ b/protobuf/go/flow/executiondata/executiondata.pb.go @@ -741,7 +741,7 @@ type SubscribeEventsResponse struct { Events []*entities.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // Timestamp from the block containing the events. BlockTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"` - // The message index of the response message. Used by the client to ensure they received all messages. Starts from "1". + // The message index of the response message. Used by the client to ensure they received all messages. Starts from "0". MessageIndex uint64 `protobuf:"varint,5,opt,name=message_index,json=messageIndex,proto3" json:"message_index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -1240,7 +1240,7 @@ type SubscribeAccountStatusesResponse struct { BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // Block height of the block containing the events. BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` - // The message index of the response message. Used by the client to ensure they received all messages. Starts from "1". + // The message index of the response message. Used by the client to ensure they received all messages. Starts from "0". MessageIndex uint64 `protobuf:"varint,3,opt,name=message_index,json=messageIndex,proto3" json:"message_index,omitempty"` // The API may return no results which signals a periodic heartbeat. This // allows clients to track which blocks were searched. Client can use this From c83e553999dac367e52f7912cf6e7a7cd2d35bb8 Mon Sep 17 00:00:00 2001 From: Jordan Schalm Date: Wed, 26 Feb 2025 14:51:41 -0800 Subject: [PATCH 3/4] update openapi defn --- openapi/access.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openapi/access.yaml b/openapi/access.yaml index e60edecab..a4fd0d103 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1220,6 +1220,7 @@ components: - commit - spork_id - protocol_version + - protocol_state_version - spork_root_block_height - node_root_block_height properties: @@ -1230,6 +1231,10 @@ components: spork_id: $ref: '#/components/schemas/Identifier' protocol_version: + type: string + deprecated: true + format: uint64 + protocol_state_version: type: string format: uint64 spork_root_block_height: From 321bed0617085c7e59759f2150d7dd622a15e242 Mon Sep 17 00:00:00 2001 From: Jordan Schalm Date: Wed, 26 Feb 2025 14:57:47 -0800 Subject: [PATCH 4/4] generate go client --- .../.swagger-codegen/VERSION | 2 +- openapi/go-client-generated/api/swagger.yaml | 354 +++++++++--------- .../docs/NodeVersionInfo.md | 1 + .../model_node_version_info.go | 1 + 4 files changed, 183 insertions(+), 175 deletions(-) diff --git a/openapi/go-client-generated/.swagger-codegen/VERSION b/openapi/go-client-generated/.swagger-codegen/VERSION index a254f0ac2..6cdf9d224 100644 --- a/openapi/go-client-generated/.swagger-codegen/VERSION +++ b/openapi/go-client-generated/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.41 \ No newline at end of file +3.0.67 \ No newline at end of file diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index 8cad874e7..a3c248c4f 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -32,7 +32,7 @@ paths: uniqueItems: true type: array items: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: start_height in: query description: The start height of the block range to get. Must be used together @@ -41,7 +41,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: end_height in: query description: The ending height of the block range to get. Must be used together @@ -50,7 +50,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -85,26 +85,26 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Block' + $ref: "#/components/schemas/Block" x-content-type: application/json "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /blocks/{id}: get: tags: @@ -125,7 +125,7 @@ paths: uniqueItems: true type: array items: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -160,26 +160,26 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Block' + $ref: "#/components/schemas/Block" x-content-type: application/json "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /blocks/{id}/payload: get: tags: @@ -194,7 +194,7 @@ paths: style: simple explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -227,25 +227,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BlockPayload' + $ref: "#/components/schemas/BlockPayload" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /transactions/{id}: get: tags: @@ -260,7 +260,7 @@ paths: style: simple explode: false schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: block_id in: query description: A block ID optional parameter @@ -268,7 +268,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: collection_id in: query description: A collection ID optional parameter. @@ -276,7 +276,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -309,25 +309,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Transaction' + $ref: "#/components/schemas/Transaction" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /transaction_results/{transaction_id}: get: tags: @@ -342,7 +342,7 @@ paths: style: simple explode: false schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: block_id in: query description: A block ID optional parameter @@ -350,7 +350,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: collection_id in: query description: A collection ID optional parameter. @@ -358,7 +358,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -391,25 +391,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TransactionResult' + $ref: "#/components/schemas/TransactionResult" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /transactions: post: tags: @@ -422,7 +422,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/transactions_body' + $ref: "#/components/schemas/transactions_body" required: true responses: "201": @@ -438,19 +438,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Transaction' + $ref: "#/components/schemas/Transaction" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /collections/{id}: get: tags: @@ -465,7 +465,7 @@ paths: style: simple explode: false schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -498,25 +498,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Collection' + $ref: "#/components/schemas/Collection" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /execution_results: get: tags: @@ -536,7 +536,7 @@ paths: uniqueItems: true type: array items: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: select in: query description: A comma-separated list indicating which properties of the content @@ -558,26 +558,26 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ExecutionResult' + $ref: "#/components/schemas/ExecutionResult" x-content-type: application/json "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /execution_results/{id}: get: tags: @@ -592,7 +592,7 @@ paths: style: simple explode: false schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: select in: query description: A comma-separated list indicating which properties of the content @@ -612,25 +612,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExecutionResult' + $ref: "#/components/schemas/ExecutionResult" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /accounts/{address}: get: tags: @@ -646,7 +646,7 @@ paths: style: simple explode: false schema: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" - name: block_height in: query description: The block height to query for the account details at the "sealed" @@ -655,7 +655,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -688,25 +688,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Account' + $ref: "#/components/schemas/Account" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /accounts/{address}/keys/{index}: get: tags: @@ -722,7 +722,7 @@ paths: style: simple explode: false schema: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" - name: index in: path description: The index of the account key. @@ -741,7 +741,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: expand in: query description: A comma-separated list indicating which properties of the content @@ -774,25 +774,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AccountPublicKey' + $ref: "#/components/schemas/AccountPublicKey" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /scripts: post: tags: @@ -810,7 +810,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: block_height in: query description: The height of the block to execute the script against. This parameter @@ -819,13 +819,13 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" requestBody: description: The script to execute. content: application/json: schema: - $ref: '#/components/schemas/scripts_body' + $ref: "#/components/schemas/scripts_body" required: true responses: "200": @@ -833,19 +833,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/inline_response_200' + $ref: "#/components/schemas/inline_response_200" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /events: get: tags: @@ -863,7 +863,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/EventType' + $ref: "#/components/schemas/EventType" - name: start_height in: query description: The start height of the block range for events. Must be used @@ -873,7 +873,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: end_height in: query description: The end height of the block range for events. Must be used together @@ -883,7 +883,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: block_ids in: query description: List of block IDs. Either provide this parameter or both height @@ -898,7 +898,7 @@ paths: uniqueItems: true type: array items: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: select in: query description: A comma-separated list indicating which properties of the content @@ -918,25 +918,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/BlockEvents' + $ref: "#/components/schemas/BlockEvents" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /network/parameters: get: tags: @@ -949,25 +949,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NetworkParameters' + $ref: "#/components/schemas/NetworkParameters" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /node_version_info: get: tags: @@ -981,25 +981,25 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NodeVersionInfo' + $ref: "#/components/schemas/NodeVersionInfo" "400": description: Bad Request content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /subscribe_events: get: tags: @@ -1020,7 +1020,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/BlockHeight' + $ref: "#/components/schemas/BlockHeight" - name: start_block_id in: query description: The block id of the events being streamed. Either provide this @@ -1030,7 +1030,7 @@ paths: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" - name: heartbeat_interval in: query description: Interval in block heights at which the server should return a @@ -1054,7 +1054,7 @@ paths: uniqueItems: true type: array items: - $ref: '#/components/schemas/EventType' + $ref: "#/components/schemas/EventType" - name: addresses in: query description: A comma-separated list of addresses who's events should be included. @@ -1087,7 +1087,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SubscribeEvents' + $ref: "#/components/schemas/SubscribeEvents" "400": description: | Bad Request @@ -1096,7 +1096,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "408": description: | Server Timeout @@ -1105,7 +1105,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500": description: | Internal Server Error @@ -1114,7 +1114,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "503": description: | Service Unavailable @@ -1123,7 +1123,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" components: schemas: Account: @@ -1134,7 +1134,7 @@ components: type: object properties: address: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" balance: type: string description: Flow balance of the account. @@ -1144,16 +1144,16 @@ components: uniqueItems: true type: array items: - $ref: '#/components/schemas/AccountPublicKey' + $ref: "#/components/schemas/AccountPublicKey" contracts: type: object additionalProperties: type: string format: byte _expandable: - $ref: '#/components/schemas/Account__expandable' + $ref: "#/components/schemas/Account__expandable" _links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" example: address: address balance: balance @@ -1199,9 +1199,9 @@ components: description: Hex encoded public key. format: hex signing_algorithm: - $ref: '#/components/schemas/SigningAlgorithm' + $ref: "#/components/schemas/SigningAlgorithm" hashing_algorithm: - $ref: '#/components/schemas/HashingAlgorithm' + $ref: "#/components/schemas/HashingAlgorithm" sequence_number: type: string description: Current account sequence number. @@ -1242,15 +1242,15 @@ components: type: object properties: id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" transactions: type: array items: - $ref: '#/components/schemas/Transaction' + $ref: "#/components/schemas/Transaction" _expandable: - $ref: '#/components/schemas/Collection__expandable' + $ref: "#/components/schemas/Collection__expandable" _links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" example: _links: _self: _self @@ -1374,7 +1374,7 @@ components: type: object properties: id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" script: type: string description: Base64 encoded Cadence script. @@ -1387,34 +1387,34 @@ components: type: string format: byte reference_block_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" gas_limit: type: string description: The limit on the amount of computation a transaction is allowed to preform. format: uint64 payer: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" proposal_key: - $ref: '#/components/schemas/ProposalKey' + $ref: "#/components/schemas/ProposalKey" authorizers: type: array items: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" payload_signatures: type: array items: - $ref: '#/components/schemas/TransactionSignature' + $ref: "#/components/schemas/TransactionSignature" envelope_signatures: type: array items: - $ref: '#/components/schemas/TransactionSignature' + $ref: "#/components/schemas/TransactionSignature" result: - $ref: '#/components/schemas/TransactionResult' + $ref: "#/components/schemas/TransactionResult" _expandable: - $ref: '#/components/schemas/Transaction__expandable' + $ref: "#/components/schemas/Transaction__expandable" _links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" example: _links: null reference_block_id: null @@ -1473,7 +1473,7 @@ components: type: object properties: address: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" key_index: type: string format: uint64 @@ -1492,12 +1492,12 @@ components: type: object properties: address: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" key_index: type: string format: uint64 signature: - $ref: '#/components/schemas/Signature' + $ref: "#/components/schemas/Signature" description: Base64 encoded signature. example: address: null @@ -1515,13 +1515,13 @@ components: type: object properties: block_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" collection_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" execution: - $ref: '#/components/schemas/TransactionExecution' + $ref: "#/components/schemas/TransactionExecution" status: - $ref: '#/components/schemas/TransactionStatus' + $ref: "#/components/schemas/TransactionStatus" status_code: type: integer error_message: @@ -1533,9 +1533,9 @@ components: events: type: array items: - $ref: '#/components/schemas/Event' + $ref: "#/components/schemas/Event" _links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" example: collection_id: null error_message: error_message @@ -1589,17 +1589,17 @@ components: type: object properties: header: - $ref: '#/components/schemas/BlockHeader' + $ref: "#/components/schemas/BlockHeader" payload: - $ref: '#/components/schemas/BlockPayload' + $ref: "#/components/schemas/BlockPayload" execution_result: - $ref: '#/components/schemas/ExecutionResult' + $ref: "#/components/schemas/ExecutionResult" _expandable: - $ref: '#/components/schemas/Block__expandable' + $ref: "#/components/schemas/Block__expandable" _links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" block_status: - $ref: '#/components/schemas/BlockStatus' + $ref: "#/components/schemas/BlockStatus" example: block_status: BLOCK_UNKNOWN payload: @@ -1701,9 +1701,9 @@ components: type: object properties: id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" parent_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" height: type: string format: uint64 @@ -1711,7 +1711,7 @@ components: type: string format: date-time parent_voter_signature: - $ref: '#/components/schemas/Signature' + $ref: "#/components/schemas/Signature" example: parent_id: null id: id @@ -1728,12 +1728,12 @@ components: uniqueItems: true type: array items: - $ref: '#/components/schemas/CollectionGuarantee' + $ref: "#/components/schemas/CollectionGuarantee" block_seals: uniqueItems: true type: array items: - $ref: '#/components/schemas/BlockSeal' + $ref: "#/components/schemas/BlockSeal" example: collection_guarantees: - collection_id: null @@ -1787,15 +1787,15 @@ components: type: object properties: collection_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" signer_ids: minItems: 1 uniqueItems: true type: array items: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" signature: - $ref: '#/components/schemas/Signature' + $ref: "#/components/schemas/Signature" example: collection_id: null signer_ids: @@ -1811,17 +1811,17 @@ components: type: object properties: block_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" result_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" final_state: - $ref: '#/components/schemas/StateCommitment' + $ref: "#/components/schemas/StateCommitment" aggregated_approval_signatures: minItems: 1 uniqueItems: true type: array items: - $ref: '#/components/schemas/AggregatedSignature' + $ref: "#/components/schemas/AggregatedSignature" example: result_id: null final_state: final_state @@ -1855,13 +1855,13 @@ components: uniqueItems: true type: array items: - $ref: '#/components/schemas/Signature' + $ref: "#/components/schemas/Signature" signer_ids: minItems: 1 uniqueItems: true type: array items: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" example: verifier_signatures: - null @@ -1878,21 +1878,21 @@ components: type: object properties: id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" block_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" events: type: array items: - $ref: '#/components/schemas/Event' + $ref: "#/components/schemas/Event" chunks: type: array items: - $ref: '#/components/schemas/Chunk' + $ref: "#/components/schemas/Chunk" previous_result_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" _links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" example: _links: _self: _self @@ -1931,7 +1931,7 @@ components: type: object properties: block_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" block_height: type: string block_timestamp: @@ -1940,9 +1940,9 @@ components: events: type: array items: - $ref: '#/components/schemas/Event' + $ref: "#/components/schemas/Event" _links: - $ref: '#/components/schemas/Links' + $ref: "#/components/schemas/Links" example: _links: _self: _self @@ -1970,9 +1970,9 @@ components: type: object properties: type: - $ref: '#/components/schemas/EventType' + $ref: "#/components/schemas/EventType" transaction_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" transaction_index: type: string format: uint64 @@ -2033,7 +2033,7 @@ components: type: object properties: block_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" collection_index: type: string format: uint64 @@ -2098,6 +2098,7 @@ components: required: - commit - node_root_block_height + - protocol_state_version - protocol_version - semver - spork_id @@ -2109,10 +2110,14 @@ components: commit: type: string spork_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" protocol_version: type: string format: uint64 + deprecated: true + protocol_state_version: + type: string + format: uint64 spork_root_block_height: type: string format: uint64 @@ -2120,7 +2125,7 @@ components: type: string format: uint64 compatible_range: - $ref: '#/components/schemas/CompatibleRange' + $ref: "#/components/schemas/CompatibleRange" example: protocol_version: protocol_version semver: semver @@ -2131,17 +2136,18 @@ components: node_root_block_height: node_root_block_height spork_id: spork_id spork_root_block_height: spork_root_block_height + protocol_state_version: protocol_state_version SubscribeEvents: type: object properties: BlockId: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" Height: type: string Events: type: array items: - $ref: '#/components/schemas/Event' + $ref: "#/components/schemas/Event" example: Events: - transaction_id: null @@ -2181,30 +2187,30 @@ components: type: string format: base64 reference_block_id: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" gas_limit: type: string description: The limit on the amount of computation a transaction is allowed to preform. format: uint64 payer: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" proposal_key: - $ref: '#/components/schemas/ProposalKey' + $ref: "#/components/schemas/ProposalKey" authorizers: type: array items: - $ref: '#/components/schemas/Address' + $ref: "#/components/schemas/Address" payload_signatures: type: array description: A list of Base64 encoded signatures. items: - $ref: '#/components/schemas/TransactionSignature' + $ref: "#/components/schemas/TransactionSignature" envelope_signatures: type: array description: A list of Base64 encoded signatures. items: - $ref: '#/components/schemas/TransactionSignature' + $ref: "#/components/schemas/TransactionSignature" scripts_body: type: object properties: @@ -2274,31 +2280,31 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "404NotFound": description: Not Found content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "408ServerTimeout": description: Server Timeout content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500InternalServerError": description: Internal Server Error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "503ServiceUnavailable": description: Service Unavailable content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "400BadRequestWS": description: | Bad Request @@ -2307,7 +2313,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "408ServerTimeoutWS": description: | Server Timeout @@ -2316,7 +2322,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "500InternalServerErrorWS": description: | Internal Server Error @@ -2325,7 +2331,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" "503ServiceUnavailableWS": description: | Service Unavailable @@ -2334,7 +2340,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" parameters: expandParam: name: expand @@ -2372,7 +2378,7 @@ components: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" collectionIdParam: name: collection_id in: query @@ -2381,4 +2387,4 @@ components: style: form explode: true schema: - $ref: '#/components/schemas/Identifier' + $ref: "#/components/schemas/Identifier" diff --git a/openapi/go-client-generated/docs/NodeVersionInfo.md b/openapi/go-client-generated/docs/NodeVersionInfo.md index 4a06efc68..51df74453 100644 --- a/openapi/go-client-generated/docs/NodeVersionInfo.md +++ b/openapi/go-client-generated/docs/NodeVersionInfo.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **Commit** | **string** | | [default to null] **SporkId** | **string** | | [default to null] **ProtocolVersion** | **string** | | [default to null] +**ProtocolStateVersion** | **string** | | [default to null] **SporkRootBlockHeight** | **string** | | [default to null] **NodeRootBlockHeight** | **string** | | [default to null] **CompatibleRange** | [***CompatibleRange**](CompatibleRange.md) | | [optional] [default to null] diff --git a/openapi/go-client-generated/model_node_version_info.go b/openapi/go-client-generated/model_node_version_info.go index 3e550a191..ea2365bab 100644 --- a/openapi/go-client-generated/model_node_version_info.go +++ b/openapi/go-client-generated/model_node_version_info.go @@ -13,6 +13,7 @@ type NodeVersionInfo struct { Commit string `json:"commit"` SporkId string `json:"spork_id"` ProtocolVersion string `json:"protocol_version"` + ProtocolStateVersion string `json:"protocol_state_version"` SporkRootBlockHeight string `json:"spork_root_block_height"` NodeRootBlockHeight string `json:"node_root_block_height"` CompatibleRange *CompatibleRange `json:"compatible_range,omitempty"`