Skip to content

Commit

Permalink
Renamed according to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyanaAndrukhiv committed Aug 12, 2024
1 parent 7e9b700 commit 72fdc9e
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 40 deletions.
3 changes: 1 addition & 2 deletions openapi/access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,6 @@ components:
- protocol_version
- spork_root_block_height
- node_root_block_height
- execution_version_range
properties:
semver:
type: string
Expand All @@ -1230,7 +1229,7 @@ components:
node_root_block_height:
type: string
format: uint64
execution_version_range:
compatible_range:
$ref: '#/components/schemas/CompatibleRange'
SubscribeEvents:
type: object
Expand Down
7 changes: 3 additions & 4 deletions openapi/go-client-generated/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,6 @@ components:
NodeVersionInfo:
required:
- commit
- execution_version_range
- node_root_block_height
- protocol_version
- semver
Expand All @@ -2110,14 +2109,14 @@ components:
node_root_block_height:
type: string
format: uint64
execution_version_range:
compatible_range:
$ref: '#/components/schemas/CompatibleRange'
example:
protocol_version: protocol_version
execution_version_range:
semver: semver
compatible_range:
end_height: end_height
start_height: start_height
semver: semver
commit: commit
node_root_block_height: node_root_block_height
spork_id: spork_id
Expand Down
2 changes: 1 addition & 1 deletion openapi/go-client-generated/docs/NodeVersionInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**ProtocolVersion** | **string** | | [default to null]
**SporkRootBlockHeight** | **string** | | [default to null]
**NodeRootBlockHeight** | **string** | | [default to null]
**ExecutionVersionRange** | [***CompatibleRange**](CompatibleRange.md) | | [default to null]
**CompatibleRange** | [***CompatibleRange**](CompatibleRange.md) | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion openapi/go-client-generated/model_node_version_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ type NodeVersionInfo struct {
ProtocolVersion string `json:"protocol_version"`
SporkRootBlockHeight string `json:"spork_root_block_height"`
NodeRootBlockHeight string `json:"node_root_block_height"`
ExecutionVersionRange *CompatibleRange `json:"execution_version_range"`
CompatibleRange *CompatibleRange `json:"compatible_range,omitempty"`
}
4 changes: 2 additions & 2 deletions protobuf/flow/entities/node_version_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ message NodeVersionInfo {
// If the node started after the beginning of the spork, it is the height of the first sealed block
// indexed.
uint64 node_root_block_height = 6;
// The compatible execution version range.
CompatibleRange execution_version_range = 7;
// The compatible version range.
CompatibleRange compatible_range = 7;
}
59 changes: 29 additions & 30 deletions protobuf/go/flow/entities/node_version_info.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72fdc9e

Please sign in to comment.