Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Aug 15, 2023
1 parent 0645b2a commit 9692a2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parachain/test-parachains/adder/collator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use polkadot_node_primitives::CollationGenerationConfig;
use polkadot_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage};
use polkadot_primitives::Id as ParaId;
use sc_cli::{Error as SubstrateCliError, SubstrateCli};
use sc_service::Role;
use sp_core::hexdisplay::HexDisplay;
use test_parachain_adder_collator::Collator;

Expand Down Expand Up @@ -57,6 +58,9 @@ fn main() -> Result<()> {
let collator = Collator::new();

config.disable_beefy = true;
// Zombienet is spawning all collators currently with the same CLI, this means it
// sets `--validator` and this is wrong here.
config.role = Role::Full;
let full_node = polkadot_service::build_full(
config,
polkadot_service::NewFullParams {
Expand Down
4 changes: 4 additions & 0 deletions parachain/test-parachains/undying/collator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use polkadot_node_primitives::CollationGenerationConfig;
use polkadot_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage};
use polkadot_primitives::Id as ParaId;
use sc_cli::{Error as SubstrateCliError, SubstrateCli};
use sc_service::Role;
use sp_core::hexdisplay::HexDisplay;
use test_parachain_undying_collator::Collator;

Expand Down Expand Up @@ -57,6 +58,9 @@ fn main() -> Result<()> {
let collator = Collator::new(cli.run.pov_size, cli.run.pvf_complexity);

config.disable_beefy = true;
// Zombienet is spawning all collators currently with the same CLI, this means it
// sets `--validator` and this is wrong here.
config.role = Role::Full;
let full_node = polkadot_service::build_full(
config,
polkadot_service::NewFullParams {
Expand Down

0 comments on commit 9692a2e

Please sign in to comment.