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 authored Mar 26, 2024
1 parent 3ed3b7a commit e819d7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Empty file removed bridges/bin/.keep
Empty file.
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 e819d7c

Please sign in to comment.