-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validator DHT #494
Validator DHT #494
Conversation
Additionally adds an RPC route to retrieve their P2P addresses.
Prevents the coordinator from believing it has 3 peers when it has one.
…r failure than the coordinator tests
Removes distinguishing BABE/AuthorityDiscovery keys which causes sc_authority_discovery to populate as desired.
This 'works'. The issue is it expects the IPs a node to be reachable over to be equal to the IPs a node's coordinator is reachable over. This isn't held by our Docker setup. |
I think this does require removing dockertest for our own library :/ |
…ssary networking configuration
Using recursive DockerTests, it's possible to achieve the multi-network effect desired. Unfortunately, recursive DockerTests is only feasible with orcalabs/dockertest-rs#10, hence the patch added (and failing deny CI). Assuming the above CIs pass in an hour, we can add a deny allowance or wait for the PR to be merged. |
coordinator key_gen passed, showing this can work. Unfortunately, any successive tests within a binary fail. It can't find serai-node-(5 .. = 8). full stack tests are deadlocking spawning everything. coordinator shows it's theoretically feasible. Still looking to what's up... |
full-stack dropped the shadowed |
|
full-stack locally pass. |
batch and sign passed. key_gen, the least complex, failed with
I'm unsure if these tests are significantly more flakey or if this truly is a random fluke. We didn't actually use new networks. The coordinators attach to specific nodes' networks, so we aren't assigning two coordinators to the same node by coincidence (with an ID unique across tests). The nodes should've had their networking untouched and it sounds like the node is the one with the networking error. Coordinator and node are on different ports... Rerunning for further context. |
Will push a deny allowance. If CI passes without intervention, will merge. |
Passed without intervention. Assuming truly random fluke in CI timing which we can further debug later if necessary (it is a setup failure, not a test failure). Merging. |
Uses sc_authority_discovery and a new RPC route to let the coordinator find fellow validators.