diff --git a/primitives/bridge/src/symbiotic_message_processor.rs b/primitives/bridge/src/symbiotic_message_processor.rs index aead5ac0d..8b48793d8 100644 --- a/primitives/bridge/src/symbiotic_message_processor.rs +++ b/primitives/bridge/src/symbiotic_message_processor.rs @@ -1,3 +1,19 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + use frame_support::pallet_prelude::*; use parity_scale_codec::DecodeAll; use snowbridge_core::Channel; diff --git a/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/integration_tests.rs b/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/integration_tests.rs index 7434f1efe..0a7c1681a 100644 --- a/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/integration_tests.rs +++ b/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/integration_tests.rs @@ -1,4 +1,20 @@ -use crate::symbiotic_message_processor::{Command, Payload, MAGIC_BYTES}; +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + +use tp_bridge::symbiotic_message_processor::{Message as SymbioticMessage, Command, Payload, MAGIC_BYTES}; use crate::tests::common::ExtBuilder; use crate::{AccountId, EthereumInboundQueue, ExternalValidators, Runtime}; use alloy_sol_types::SolEvent; @@ -78,7 +94,7 @@ fn test_inbound_queue_message_passing() { let payload = Payload { magic_bytes: MAGIC_BYTES, - message: crate::symbiotic_message_processor::Message::V1(Command::::ReceiveValidators { + message: SymbioticMessage::V1(Command::::ReceiveValidators { validators: payload_validators.clone() }), }; diff --git a/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/message_processor_tests.rs b/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/message_processor_tests.rs index b24fbbf71..0f7a8d259 100644 --- a/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/message_processor_tests.rs +++ b/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/message_processor_tests.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see -use crate::symbiotic_message_processor::{ +use tp_bridge::symbiotic_message_processor::{ Command, Message, Payload, SymbioticMessageProcessor, MAGIC_BYTES, }; use crate::tests::common::ExtBuilder; diff --git a/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/mod.rs b/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/mod.rs index 14f8f0186..1397115fa 100644 --- a/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/mod.rs +++ b/solo-chains/runtime/dancelight/src/tests/inbound_queue_tests/mod.rs @@ -1,2 +1,18 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + mod integration_tests; mod message_processor_tests;