From 0d71a49ddad318e30db0cab82e38e7f2a8df0593 Mon Sep 17 00:00:00 2001 From: Leonardo Razovic <4128940+lrazovic@users.noreply.github.com> Date: Fri, 13 Sep 2024 14:23:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Update=20zombienet=20config=20(#?= =?UTF-8?q?400)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- justfile | 2 +- pallets/funding/src/lib.rs | 5 ++++- scripts/zombienet/polimec-paseo-local.toml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 5053c3413..c5f0f567f 100644 --- a/justfile +++ b/justfile @@ -121,5 +121,5 @@ create-chainspec-base: ./scripts/create_base_chain_spec.sh ./runtimes/base/target/srtool/release/wbuild/polimec-runtime/polimec_runtime.compact.compressed.wasm 2105 # Use zombienet to spawn rococo + polimec testnet -zombienet path_to_file="scripts/zombienet/native/base-rococo-local.toml": +dev path_to_file="scripts/zombienet/polimec-paseo-local.toml": zombienet spawn {{ path_to_file }} diff --git a/pallets/funding/src/lib.rs b/pallets/funding/src/lib.rs index 117ab002e..9d945fafd 100644 --- a/pallets/funding/src/lib.rs +++ b/pallets/funding/src/lib.rs @@ -88,7 +88,7 @@ pub use pallet::*; use pallet_xcm::ensure_response; use polimec_common::{ credentials::{Cid, Did, EnsureOriginWithCredentials, InvestorType, UntrustedToken}, - migration_types::{Migration, MigrationStatus, ParticipationType}, + migration_types::{Migration, MigrationStatusd}, }; use polkadot_parachain_primitives::primitives::Id as ParaId; use sp_arithmetic::traits::{One, Saturating}; @@ -112,6 +112,9 @@ pub mod tests; #[cfg(not(feature = "on-chain-release-build"))] pub mod instantiator; +#[cfg(not(feature = "on-chain-release-build"))] +use polimec_common::migration_types::ParticipationType; + #[cfg(feature = "runtime-benchmarks")] pub mod benchmarking; pub mod runtime_api; diff --git a/scripts/zombienet/polimec-paseo-local.toml b/scripts/zombienet/polimec-paseo-local.toml index db2df7309..4ba85965c 100644 --- a/scripts/zombienet/polimec-paseo-local.toml +++ b/scripts/zombienet/polimec-paseo-local.toml @@ -4,7 +4,7 @@ provider = "native" [relaychain] default_command = "polkadot" -chain_spec_path = "./scripts/zombienet/relay-chain-specs/paseo-local.plain.json" +chain = "rococo-local" [[relaychain.nodes]] name = "eve"