serai/substrate/client/tests
Luke Parker b493e3e31f
Validator DHT (#494)
* Route validators for any active set through sc-authority-discovery

Additionally adds an RPC route to retrieve their P2P addresses.

* Have the coordinator get peers from substrate

* Have the RPC return one address, not up to 3

Prevents the coordinator from believing it has 3 peers when it has one.

* Add missing feature to serai-client

* Correct network argument in serai-client for p2p_validators call

* Add a test in serai-client to check DHT population with a much quicker failure than the coordinator tests

* Update to latest Substrate

Removes distinguishing BABE/AuthorityDiscovery keys which causes
sc_authority_discovery to populate as desired.

* Update to a properly tagged substrate commit

* Add all dialed to peers to GossipSub

* cargo fmt

* Reduce common code in serai-coordinator-tests with amore involved new_test

* Use a recursive async function to spawn `n` DockerTests with the necessary networking configuration

* Merge UNIQUE_ID and ONE_AT_A_TIME

* Tidy up the new recursive code in tests/coordinator

* Use a Mutex in CONTEXT to let it be set multiple times

* Make complimentary edits to full-stack tests

* Augment coordinator P2p connection logs

* Drop lock acquisitions before recursing

* Better scope lock acquisitions in full-stack, preventing a deadlock

* Ensure OUTER_OPS is reset across the test boundary

* Add cargo deny allowance for dockertest fork
2023-12-22 21:09:18 -05:00
..
common Further expand clippy workspace lints 2023-12-17 00:04:49 -05:00
batch.rs Move serai-client off serai-runtime, MIT licensing it 2023-12-07 02:30:09 -05:00
burn.rs Cache the block's events within TemporalSerai 2023-12-08 10:46:10 -05:00
dex.rs Remove redundant fields from dex-pallet, add cargo machete ignores 2023-12-11 07:47:23 -05:00
dht.rs Validator DHT (#494) 2023-12-22 21:09:18 -05:00
time.rs Remove subxt (#460) 2023-11-28 02:29:50 -05:00
validator_sets.rs Remove the RemoveParticipant protocol for having new DKGs specify the participants which were removed 2023-12-14 23:51:57 -05:00