Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Nov 25, 2024
1 parent 64e76dc commit 3eba4a5
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 3 deletions.
16 changes: 16 additions & 0 deletions primitives/bridge/src/symbiotic_message_processor.rs
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>

use frame_support::pallet_prelude::*;
use parity_scale_codec::DecodeAll;
use snowbridge_core::Channel;
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>

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;
Expand Down Expand Up @@ -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::<Runtime>::ReceiveValidators {
message: SymbioticMessage::V1(Command::<Runtime>::ReceiveValidators {
validators: payload_validators.clone()
}),
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Tanssi. If not, see <http://www.gnu.org/licenses/>

use crate::symbiotic_message_processor::{
use tp_bridge::symbiotic_message_processor::{
Command, Message, Payload, SymbioticMessageProcessor, MAGIC_BYTES,
};
use crate::tests::common::ExtBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>

mod integration_tests;
mod message_processor_tests;

0 comments on commit 3eba4a5

Please sign in to comment.