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

test: updated dumping tests with new onboard_as_parachain and snapshots

parent e81e2c20
Branches
No related merge requests found
......@@ -283,6 +283,8 @@ impl NetworkConfigBuilder<WithRelaychain> {
mod tests {
use std::fs;
use crate::parachain::RegistrationStrategy;
use super::*;
#[test]
......@@ -699,6 +701,8 @@ mod tests {
.with_id(1000)
.with_chain("myparachain")
.with_chain_spec_path("/path/to/my/chain/spec.json")
.with_registration_strategy(RegistrationStrategy::UsingExtrinsic)
.onboard_as_parachain(false)
.with_default_db_snapshot("https://storage.com/path/to/db_snapshot.tgz")
.with_collator(|collator| {
collator
......
......@@ -32,7 +32,8 @@ balance = 2000000000000
[[parachains]]
id = 1000
chain = "myparachain"
add_to_genesis = true
register_para = true
onboard_as_parachain = false
balance = 2000000000000
default_db_snapshot = "https://storage.com/path/to/db_snapshot.tgz"
chain_spec_path = "/path/to/my/chain/spec.json"
......@@ -63,6 +64,7 @@ balance = 1000000000
id = 2000
chain = "myotherparachain"
add_to_genesis = true
onboard_as_parachain = true
balance = 2000000000000
chain_spec_path = "/path/to/my/other/chain/spec.json"
cumulus_based = true
......
......@@ -50,6 +50,7 @@ cpu = "5Gi"
id = 1000
chain = "myparachain"
add_to_genesis = true
onboard_as_parachain = true
balance = 2000000000000
default_command = "my-default-command"
default_image = "mydefaultimage:latest"
......
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