Skip to content

No wildcard patterns in Cargo.toml #1789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 50 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,54 @@
resolver = "2"

members = [
"bin/*/node",
"bin/*/runtime",
"fuzz/*",
"modules/*",
"primitives/*",
"relays/*",
"bin/millau/node",
"bin/millau/runtime",
"bin/rialto/node",
"bin/rialto/runtime",
"bin/rialto-parachain/node",
"bin/rialto-parachain/runtime",
"bin/runtime-common",
"fuzz/storage-proof",
"modules/beefy",
"modules/grandpa",
"modules/messages",
"modules/parachains",
"modules/relayers",
"modules/shift-session-manager",
"primitives/beefy",
"primitives/chain-bridge-hub-cumulus",
"primitives/chain-bridge-hub-rococo",
"primitives/chain-bridge-hub-wococo",
"primitives/chain-kusama",
"primitives/chain-millau",
"primitives/chain-polkadot",
"primitives/chain-rialto",
"primitives/chain-rialto-parachain",
"primitives/chain-rococo",
"primitives/chain-westend",
"primitives/chain-wococo",
"primitives/header-chain",
"primitives/messages",
"primitives/parachains",
"primitives/polkadot-core",
"primitives/relayers",
"primitives/runtime",
"primitives/test-utils",
"relays/bin-substrate",
"relays/client-bridge-hub-rococo",
"relays/client-bridge-hub-wococo",
"relays/client-kusama",
"relays/client-millau",
"relays/client-polkadot",
"relays/client-rialto",
"relays/client-rialto-parachain",
"relays/client-rococo",
"relays/client-substrate",
"relays/client-westend",
"relays/client-wococo",
"relays/finality",
"relays/lib-substrate-relay",
"relays/messages",
"relays/parachains",
"relays/utils",
]
4 changes: 2 additions & 2 deletions bin/runtime-common/src/integrity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ macro_rules! assert_bridge_messages_pallet_types(

/// Macro that combines four other macro calls - `assert_chain_types`, `assert_bridge_types`,
/// `assert_bridge_grandpa_pallet_types` and `assert_bridge_messages_pallet_types`. It may be used
/// at the chain that is implemeting complete standard messages bridge (i.e. with bridge GRANDPA and
/// messages pallets deployed).
/// at the chain that is implementing complete standard messages bridge (i.e. with bridge GRANDPA
/// and messages pallets deployed).
#[macro_export]
macro_rules! assert_complete_bridge_types(
(
Expand Down
6 changes: 3 additions & 3 deletions bin/runtime-common/src/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ pub mod source {
#[derive(RuntimeDebug)]
pub struct FromThisChainMessageVerifier<B>(PhantomData<B>);

/// The error message returned from LaneMessageVerifier when outbound lane is disabled.
/// The error message returned from `LaneMessageVerifier` when outbound lane is disabled.
pub const MESSAGE_REJECTED_BY_OUTBOUND_LANE: &str =
"The outbound message lane has rejected the message.";
/// The error message returned from LaneMessageVerifier when too many pending messages at the
/// The error message returned from `LaneMessageVerifier` when too many pending messages at the
/// lane.
pub const TOO_MANY_PENDING_MESSAGES: &str = "Too many pending messages at the lane.";
/// The error message returned from LaneMessageVerifier when call origin is mismatch.
/// The error message returned from `LaneMessageVerifier` when call origin is mismatch.
pub const BAD_ORIGIN: &str = "Unable to match the source origin to expected target origin.";

impl<B> LaneMessageVerifier<OriginOf<ThisChain<B>>, FromThisChainMessagePayload>
Expand Down
8 changes: 4 additions & 4 deletions bin/runtime-common/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ impl pallet_bridge_relayers::Config for TestRuntime {
type WeightInfo = ();
}

/// Bridge that is deployed on ThisChain and allows sending/receiving messages to/from
/// BridgedChain.
/// Bridge that is deployed on `ThisChain` and allows sending/receiving messages to/from
/// `BridgedChain`.
#[derive(Debug, PartialEq, Eq)]
pub struct OnThisChainBridge;

Expand All @@ -260,8 +260,8 @@ impl MessageBridge for OnThisChainBridge {
type BridgedHeaderChain = pallet_bridge_grandpa::GrandpaChainHeaders<TestRuntime, ()>;
}

/// Bridge that is deployed on BridgedChain and allows sending/receiving messages to/from
/// ThisChain;
/// Bridge that is deployed on `BridgedChain` and allows sending/receiving messages to/from
/// `ThisChain`.
#[derive(Debug, PartialEq, Eq)]
pub struct OnBridgedChainBridge;

Expand Down