Skip to content
Snippets Groups Projects
Verified Commit d2e72ff5 authored by Loris Moulin's avatar Loris Moulin
Browse files

chore: fixed RelaychainConfigBuilder chain default

parent f9b589e8
No related merge requests found
......@@ -102,9 +102,9 @@ impl Default for RelaychainConfigBuilder<Initial> {
fn default() -> Self {
Self {
config: RelaychainConfig {
chain: ""
chain: "default"
.try_into()
.expect("empty string should be valid. this is a bug, please report it: https://github.com/paritytech/zombienet-sdk/issues"),
.expect("'default' overriding should be ensured by typestate. this is a bug, please report it: https://github.com/paritytech/zombienet-sdk/issues"),
default_command: None,
default_image: None,
default_resources: None,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment