ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.09k stars 646 forks source link

[tmpnet] Enable bootstrap of subnets with disjoint validator sets #3138

Closed marun closed 3 days ago

marun commented 1 week ago

Why this should be merged

Previously, tmpnet required that the node used for subnet bootstrap be a validator for all subnets. This was by virtue of attempting to perform API operations to bootstrap a given subnet against the first validator for that subnet. That validator would only be running if it was the one node selected for bootstrapping all subnets.

This change ensures the support of disjoint validator sets by always using the URI of the node used for subnet bootstrap.

How this works

How this was tested