mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 13:21:01 +00:00
No wildcard patterns in Cargo.toml (#1789)
* dependabot doesn't support wildcard patterns in cargo.toml and we want dependabot * spelling for "fresh" crates * and fmt * spelling again
This commit is contained in:
committed by
Bastian Köcher
parent
ec9cd8ddb0
commit
1b608e4b9f
@@ -101,8 +101,8 @@ macro_rules! assert_bridge_messages_pallet_types(
|
|||||||
|
|
||||||
/// Macro that combines four other macro calls - `assert_chain_types`, `assert_bridge_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
|
/// `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
|
/// at the chain that is implementing complete standard messages bridge (i.e. with bridge GRANDPA
|
||||||
/// messages pallets deployed).
|
/// and messages pallets deployed).
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! assert_complete_bridge_types(
|
macro_rules! assert_complete_bridge_types(
|
||||||
(
|
(
|
||||||
|
|||||||
@@ -163,13 +163,13 @@ pub mod source {
|
|||||||
#[derive(RuntimeDebug)]
|
#[derive(RuntimeDebug)]
|
||||||
pub struct FromThisChainMessageVerifier<B>(PhantomData<B>);
|
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 =
|
pub const MESSAGE_REJECTED_BY_OUTBOUND_LANE: &str =
|
||||||
"The outbound message lane has rejected the message.";
|
"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.
|
/// lane.
|
||||||
pub const TOO_MANY_PENDING_MESSAGES: &str = "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.";
|
pub const BAD_ORIGIN: &str = "Unable to match the source origin to expected target origin.";
|
||||||
|
|
||||||
impl<B> LaneMessageVerifier<OriginOf<ThisChain<B>>, FromThisChainMessagePayload>
|
impl<B> LaneMessageVerifier<OriginOf<ThisChain<B>>, FromThisChainMessagePayload>
|
||||||
|
|||||||
@@ -245,8 +245,8 @@ impl pallet_bridge_relayers::Config for TestRuntime {
|
|||||||
type WeightInfo = ();
|
type WeightInfo = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Bridge that is deployed on ThisChain and allows sending/receiving messages to/from
|
/// Bridge that is deployed on `ThisChain` and allows sending/receiving messages to/from
|
||||||
/// BridgedChain.
|
/// `BridgedChain`.
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub struct OnThisChainBridge;
|
pub struct OnThisChainBridge;
|
||||||
|
|
||||||
@@ -260,8 +260,8 @@ impl MessageBridge for OnThisChainBridge {
|
|||||||
type BridgedHeaderChain = pallet_bridge_grandpa::GrandpaChainHeaders<TestRuntime, ()>;
|
type BridgedHeaderChain = pallet_bridge_grandpa::GrandpaChainHeaders<TestRuntime, ()>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Bridge that is deployed on BridgedChain and allows sending/receiving messages to/from
|
/// Bridge that is deployed on `BridgedChain` and allows sending/receiving messages to/from
|
||||||
/// ThisChain;
|
/// `ThisChain`.
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub struct OnBridgedChainBridge;
|
pub struct OnBridgedChainBridge;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user