cumulus
cumulus copied to clipboard
XCM emulator cannot handle networks defined on other crates
I want to reuse the networks defined in integration-tests-common in our own tests but getting this
error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate
--> runtime/integration-tests/src/relaychain/kusama_test_net.rs:99:1
|
99 | / decl_test_networks! {
100 | | pub struct TestNet {
101 | | relay_chain = KusamaNet,
| | --------- `integration_tests_common::Kusama` is not defined in the current crate
102 | | parachains = vec![
... |
109 | | }
110 | | }
| |_^ impl doesn't use only types from inside the current crate
I want to avoid duplicate the networks defs.