mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-03 17:40:34 +00:00
Add empty string for the KEY to serai-client to use the default keystore
This commit is contained in:
parent
bca3728a10
commit
2a31d8552e
3 changed files with 13 additions and 3 deletions
|
@ -29,7 +29,12 @@ macro_rules! serai_test {
|
||||||
"--rpc-cors".to_string(),
|
"--rpc-cors".to_string(),
|
||||||
"all".to_string(),
|
"all".to_string(),
|
||||||
])
|
])
|
||||||
.replace_env(HashMap::from([("RUST_LOG".to_string(), "runtime=debug".to_string())]))
|
.replace_env(
|
||||||
|
HashMap::from([
|
||||||
|
("RUST_LOG".to_string(), "runtime=debug".to_string()),
|
||||||
|
("KEY".to_string(), String::new()),
|
||||||
|
])
|
||||||
|
)
|
||||||
.set_publish_all_ports(true)
|
.set_publish_all_ports(true)
|
||||||
.set_handle(handle)
|
.set_handle(handle)
|
||||||
.set_start_policy(StartPolicy::Strict)
|
.set_start_policy(StartPolicy::Strict)
|
||||||
|
|
|
@ -14,7 +14,9 @@ async fn dht() {
|
||||||
TestBodySpecification::with_image(
|
TestBodySpecification::with_image(
|
||||||
Image::with_repository("serai-dev-serai").pull_policy(PullPolicy::Never),
|
Image::with_repository("serai-dev-serai").pull_policy(PullPolicy::Never),
|
||||||
)
|
)
|
||||||
.replace_env([("SERAI_NAME".to_string(), name.to_string())].into())
|
.replace_env(
|
||||||
|
[("SERAI_NAME".to_string(), name.to_string()), ("KEY".to_string(), String::new())].into(),
|
||||||
|
)
|
||||||
.set_publish_all_ports(true)
|
.set_publish_all_ports(true)
|
||||||
.set_handle(handle(name))
|
.set_handle(handle(name))
|
||||||
.set_start_policy(StartPolicy::Strict)
|
.set_start_policy(StartPolicy::Strict)
|
||||||
|
|
|
@ -100,7 +100,10 @@ async fn validator_set_rotation() {
|
||||||
"local".to_string(),
|
"local".to_string(),
|
||||||
format!("--{name}"),
|
format!("--{name}"),
|
||||||
])
|
])
|
||||||
.replace_env(HashMap::from([("RUST_LOG=runtime".to_string(), "debug".to_string())]))
|
.replace_env(HashMap::from([
|
||||||
|
("RUST_LOG".to_string(), "runtime=debug".to_string()),
|
||||||
|
("KEY".to_string(), String::new()),
|
||||||
|
]))
|
||||||
.set_publish_all_ports(true)
|
.set_publish_all_ports(true)
|
||||||
.set_handle(handle(name))
|
.set_handle(handle(name))
|
||||||
.set_start_policy(StartPolicy::Strict)
|
.set_start_policy(StartPolicy::Strict)
|
||||||
|
|
Loading…
Reference in a new issue