Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Oct 19, 2023
1 parent 4778fee commit f0277a5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions parachain/Cargo.lock

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

2 changes: 2 additions & 0 deletions parachain/primitives/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ scale-info = { version = "2.9.0", default-features = false, features = [ "derive
snowbridge-ethereum = { path = "../ethereum", default-features = false }

polkadot-primitives = { path = "../../../polkadot-sdk/polkadot/primitives", default-features = false }
polkadot-parachain-primitives = { path = "../../../polkadot-sdk/polkadot/parachain", default-features = false }
xcm = { package = "staging-xcm", path = "../../../polkadot-sdk/polkadot/xcm", default-features = false }

frame-support = { path = "../../../polkadot-sdk/substrate/frame/support", default-features = false }
Expand All @@ -35,6 +36,7 @@ std = [
"frame-support/std",
"frame-system/std",
"polkadot-primitives/std",
"polkadot-parachain-primitives/std",
"sp-std/std",
"sp-core/std",
"sp-runtime/std",
Expand Down
3 changes: 2 additions & 1 deletion parachain/primitives/core/src/inbound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
//! Types for representing inbound messages
use codec::{Decode, Encode};
use frame_support::{dispatch::DispatchError, scale_info::TypeInfo, RuntimeDebug};
use scale_info::TypeInfo;
use snowbridge_ethereum::Log;
use sp_core::H256;
use sp_runtime::{DispatchError, RuntimeDebug};
use sp_std::vec::Vec;

/// A trait for verifying inbound messages from Ethereum.
Expand Down
3 changes: 2 additions & 1 deletion parachain/primitives/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ pub mod inbound;
pub mod outbound;
pub mod ringbuffer;

pub use polkadot_parachain::primitives::{Id as ParaId, IsSystem};
pub use polkadot_parachain_primitives::primitives::IsSystem;
pub use polkadot_primitives::Id as ParaId;
pub use ringbuffer::{RingBufferMap, RingBufferMapImpl};
use sp_core::H256;

Expand Down
2 changes: 1 addition & 1 deletion parachain/primitives/core/src/outbound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use frame_support::{
traits::{tokens::Balance, Get},
BoundedVec, CloneNoBound, DebugNoBound, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound,
};
pub use polkadot_parachain::primitives::Id as ParaId;
pub use polkadot_primitives::Id as ParaId;
use scale_info::TypeInfo;
use sp_core::{RuntimeDebug, H160, H256, U256};
use sp_std::{borrow::ToOwned, vec, vec::Vec};
Expand Down

0 comments on commit f0277a5

Please sign in to comment.