mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
b493e3e31f
* 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
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "serai-full-stack-tests"
|
|
version = "0.1.0"
|
|
description = "Tests for Serai's Full Stack"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/tests/full-stack"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = []
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
hex = "0.4"
|
|
|
|
async-trait = "0.1"
|
|
async-recursion = "1"
|
|
|
|
zeroize = { version = "1", default-features = false }
|
|
rand_core = { version = "0.6", default-features = false }
|
|
|
|
curve25519-dalek = { version = "4", features = ["rand_core"] }
|
|
|
|
bitcoin-serai = { path = "../../coins/bitcoin" }
|
|
monero-serai = { path = "../../coins/monero" }
|
|
|
|
scale = { package = "parity-scale-codec", version = "3" }
|
|
serde = "1"
|
|
serde_json = "1"
|
|
|
|
processor = { package = "serai-processor", path = "../../processor", features = ["bitcoin", "monero"] }
|
|
|
|
serai-client = { path = "../../substrate/client", features = ["serai"] }
|
|
|
|
tokio = { version = "1", features = ["time"] }
|
|
|
|
dockertest = "0.4"
|
|
serai-docker-tests = { path = "../docker" }
|
|
serai-message-queue-tests = { path = "../message-queue" }
|
|
serai-processor-tests = { path = "../processor" }
|
|
serai-coordinator-tests = { path = "../coordinator" }
|