Skip to content

Commit

Permalink
move symbiotic_message_processor to primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Nov 25, 2024
1 parent f333606 commit 64e76dc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions primitives/bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ frame-support = { workspace = true }
frame-system = { workspace = true }
impl-trait-for-tuples = { workspace = true }
macro_rules_attribute = { workspace = true }
pallet-external-validators = { workspace = true }
parity-scale-codec = { workspace = true }
scale-info = { workspace = true }
serde = { workspace = true }
Expand All @@ -40,6 +41,7 @@ std = [
"ethabi/std",
"frame-support/std",
"frame-system/std",
"pallet-external-validators/std",
"parity-scale-codec/std",
"scale-info/std",
"serde/std",
Expand All @@ -55,6 +57,7 @@ runtime-benchmarks = [
"cumulus-primitives-core/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-external-validators/runtime-benchmarks",
"snowbridge-core/runtime-benchmarks",
"snowbridge-pallet-outbound-queue/runtime-benchmarks",
"snowbridge-router-primitives/runtime-benchmarks",
Expand Down
2 changes: 2 additions & 0 deletions primitives/bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#![cfg_attr(not(feature = "std"), no_std)]

pub mod symbiotic_message_processor;

use {
core::marker::PhantomData,
cumulus_primitives_core::{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
//! The bridge to ethereum config

pub const SLOTS_PER_EPOCH: u32 = snowbridge_pallet_ethereum_client::config::SLOTS_PER_EPOCH as u32;
#[cfg(not(feature = "runtime-benchmarks"))]
use crate::symbiotic_message_processor::SymbioticMessageProcessor;
#[cfg(not(test))]
use crate::EthereumBeaconClient;
use frame_support::weights::ConstantMultiplier;
use sp_core::H160;
use sp_core::{ConstU32, ConstU8};
#[cfg(not(feature = "runtime-benchmarks"))]
use tp_bridge::symbiotic_message_processor::SymbioticMessageProcessor;
use {
crate::{
parameter_types, weights, xcm_config, AggregateMessageOrigin, Balance, Balances,
Expand Down
1 change: 0 additions & 1 deletion solo-chains/runtime/dancelight/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ use dancelight_runtime_constants::{currency::*, fee::*, time::*};
pub mod xcm_config;

pub mod bridge_to_ethereum_config;
pub mod symbiotic_message_processor;

// Weights
mod weights;
Expand Down

0 comments on commit 64e76dc

Please sign in to comment.