-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Labels
BugSomething isn't workingSomething isn't workingPreserveStale Bot repellentStale Bot repellentS-Access
Description
The Access API's node version info endpoint includes the range of blocks that the node's version is compatible with
flow-go/engine/access/rpc/backend/backend.go
Lines 322 to 327 in 99875f9
| if b.versionControl != nil { | |
| compatibleRange = &access.CompatibleRange{ | |
| StartHeight: b.versionControl.StartHeight(), | |
| EndHeight: b.versionControl.EndHeight(), | |
| } | |
| } |
$ curl "http://access-001.devnet52.nodes.onflow.org:8070/v1/node_version_info"
{
"semver": "v0.38.1",
"commit": "1bfbed9de87fff55e551ac97ffec3f758653d4b1",
"spork_id": "5b88b81cfce2619305213489c2137f98e6efa0ec333dab2c31042b743388a3ce",
"protocol_version": "36",
"spork_root_block_height": "218215349",
"node_root_block_height": "218215349",
"compatible_range": {
"start_height": "242365900",
"end_height": "242374176"
}
}
This does not reflect the compatibility overrides:
flow-go/engine/common/version/version_control.go
Lines 40 to 46 in 99875f9
| var defaultCompatibilityOverrides = map[string]struct{}{ | |
| "0.37.17": {}, | |
| "0.37.18": {}, | |
| "0.37.22": {}, | |
| "0.37.26": {}, | |
| "0.38.0": {}, | |
| } |
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingPreserveStale Bot repellentStale Bot repellentS-Access