Skip to content

Commit

Permalink
Updated rpc call according to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyanaAndrukhiv committed Aug 9, 2024
1 parent 832a677 commit 7e9b700
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 42 deletions.
13 changes: 9 additions & 4 deletions protobuf/flow/entities/node_version_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ package flow.entities;
option go_package = "github.com/onflow/flow/protobuf/go/flow/entities";
option java_package = "org.onflow.protobuf.entities";

message CompatibleRange {
// The first block that the version supports.
uint64 start_height = 1;
// The last block that the version supports.
uint64 end_height = 2;
}

message NodeVersionInfo {
// The currently running node software version.
string semver = 1;
Expand All @@ -21,8 +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 first block that the node's version supports.
uint64 protocol_version_start_height = 7;
// The last block the node's version supports.
uint64 protocol_version_end_height = 8;
// The compatible execution version range.
CompatibleRange execution_version_range = 7;
}
120 changes: 82 additions & 38 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 7e9b700

Please sign in to comment.