From ff3ce66f9e3fb607994dded56bc3837a51b2af73 Mon Sep 17 00:00:00 2001 From: Serban Iorga Date: Tue, 26 Mar 2024 12:57:23 +0100 Subject: [PATCH] polkadot-sdk backport leftovers (#2896) --- bridges/primitives/runtime/src/chain.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/bridges/primitives/runtime/src/chain.rs b/bridges/primitives/runtime/src/chain.rs index 00bea2b3ca613..9ba21a1cddf13 100644 --- a/bridges/primitives/runtime/src/chain.rs +++ b/bridges/primitives/runtime/src/chain.rs @@ -98,17 +98,6 @@ impl Encode for EncodedOrDecodedCall { } } -// dummy implementation to satisfy `SignedPayload` requirements -impl sp_runtime::traits::Dispatchable for EncodedOrDecodedCall { - 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.