From b9acdabb039c79ac489f0ab5a1411dbfbf778f3f 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) --- bin/.keep | 0 primitives/runtime/src/chain.rs | 11 ----------- scripts/verify-pallets-build.sh | 3 +++ 3 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 bin/.keep diff --git a/bin/.keep b/bin/.keep deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/primitives/runtime/src/chain.rs b/primitives/runtime/src/chain.rs index 00bea2b3ca613..9ba21a1cddf13 100644 --- a/primitives/runtime/src/chain.rs +++ b/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. diff --git a/scripts/verify-pallets-build.sh b/scripts/verify-pallets-build.sh index b96bbf1833b6b..4eefaa8efa0a2 100755 --- a/scripts/verify-pallets-build.sh +++ b/scripts/verify-pallets-build.sh @@ -68,6 +68,7 @@ rm -rf $BRIDGES_FOLDER/modules/beefy rm -rf $BRIDGES_FOLDER/modules/shift-session-manager rm -rf $BRIDGES_FOLDER/primitives/beefy rm -rf $BRIDGES_FOLDER/relays +rm -rf $BRIDGES_FOLDER/relay-clients rm -rf $BRIDGES_FOLDER/scripts/add_license.sh rm -rf $BRIDGES_FOLDER/scripts/build-containers.sh rm -rf $BRIDGES_FOLDER/scripts/ci-cache.sh @@ -77,6 +78,7 @@ rm -rf $BRIDGES_FOLDER/scripts/regenerate_runtimes.sh rm -rf $BRIDGES_FOLDER/scripts/update-weights.sh rm -rf $BRIDGES_FOLDER/scripts/update-weights-setup.sh rm -rf $BRIDGES_FOLDER/scripts/update_substrate.sh +rm -rf $BRIDGES_FOLDER/substrate-relay rm -rf $BRIDGES_FOLDER/tools rm -f $BRIDGES_FOLDER/.dockerignore rm -f $BRIDGES_FOLDER/local.Dockerfile.dockerignore @@ -89,6 +91,7 @@ rm -f $BRIDGES_FOLDER/local.Dockerfile rm -f $BRIDGES_FOLDER/CODEOWNERS rm -f $BRIDGES_FOLDER/Dockerfile rm -f $BRIDGES_FOLDER/rustfmt.toml +rm -f $BRIDGES_FOLDER/RELEASE.md # let's fix Cargo.toml a bit (it'll be helpful if we are in the bridges repo) if [[ ! -f "Cargo.toml" ]]; then