mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Extend orchestration as actually needed for testnet
Contains various bug fixes.
This commit is contained in:
@@ -276,9 +276,9 @@ fn dockerfiles(network: Network) {
|
||||
Zeroizing::new(<Ristretto as Ciphersuite>::F::from_repr(*serai_key_repr).unwrap())
|
||||
};
|
||||
|
||||
coordinator(&orchestration_path, network, coordinator_key.0, serai_key);
|
||||
coordinator(&orchestration_path, network, coordinator_key.0, &serai_key);
|
||||
|
||||
serai(&orchestration_path, network);
|
||||
serai(&orchestration_path, network, &serai_key);
|
||||
}
|
||||
|
||||
fn key_gen(network: Network) {
|
||||
@@ -448,7 +448,20 @@ fn start(network: Network, services: HashSet<String>) {
|
||||
assert_eq!(network, Network::Dev, "monero-wallet-rpc is only for dev");
|
||||
command.arg("-p").arg("18082:18082")
|
||||
}
|
||||
"serai" => command.arg("--volume").arg(format!("{serai_runtime_volume}:/runtime")),
|
||||
"coordinator" => {
|
||||
if network != Network::Dev {
|
||||
command.arg("-p").arg("30563:30563")
|
||||
} else {
|
||||
command
|
||||
}
|
||||
}
|
||||
"serai" => {
|
||||
let mut command = command;
|
||||
if network != Network::Dev {
|
||||
command = command.arg("-p").arg("30333:30333");
|
||||
}
|
||||
command.arg("--volume").arg(format!("{serai_runtime_volume}:/runtime"))
|
||||
}
|
||||
_ => command,
|
||||
};
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user