onflow / flow-go-sdk

Tools for building Go applications on Flow :ocean:
https://onflow.org
Apache License 2.0
212 stars 86 forks source link

Update GetNodeVersionInfo response object #761

Closed illia-malachyn closed 1 month ago

illia-malachyn commented 2 months ago

This is part of #736.

Align the response object we have in the protobuf schema with what we return in flow-go-sdk

The object we return on flow-go-sdk side: https://github.com/onflow/flow-go-sdk/blob/master/access/grpc/grpc.go#L174

Protobuf schema: https://github.com/onflow/flow/blob/master/protobuf/flow/entities/node_version_info.proto#L32

Difference: 1 fields is missing.

// The compatible version range.
CompatibleRange compatible_range = 7;