Skip to content

Commit

Permalink
polkadot-sdk backport leftovers (paritytech#2896)
Browse files Browse the repository at this point in the history
  • Loading branch information
serban300 committed Apr 8, 2024
1 parent ce1c4e0 commit c7ab61d
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 c7ab61d

Please sign in to comment.