Skip to content

Commit

Permalink
polkadot-sdk backport leftovers (#2896)
Browse files Browse the repository at this point in the history
  • Loading branch information
serban300 authored and bkchr committed Apr 10, 2024
1 parent cc22d23 commit 4aa9594
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions bridges/primitives/runtime/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,6 @@ impl<ChainCall: Encode> Encode for EncodedOrDecodedCall<ChainCall> {
}
}

// dummy implementation to satisfy `SignedPayload` requirements
impl<ChainCall> sp_runtime::traits::Dispatchable for EncodedOrDecodedCall<ChainCall> {
type RuntimeOrigin = ();
type Config = ();
type Info = ();
type PostInfo = ();
fn dispatch(self, _origin: ()) -> sp_runtime::DispatchResultWithInfo<()> {
unreachable!("never used by relayer; qed")
}
}

/// Minimal Substrate-based chain representation that may be used from no_std environment.
pub trait Chain: Send + Sync + 'static {
/// Chain id.
Expand Down

0 comments on commit 4aa9594

Please sign in to comment.