diff --git a/node/src/service.rs b/node/src/service.rs index 74e39286a..0fd578907 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -100,12 +100,11 @@ where let executor = sc_service::new_wasm_executor::(&config.executor); let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::( - config, - telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), - executor, - )?; + config, + telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), + executor, + )?; let client = Arc::new(client); diff --git a/pallets/drand/src/lib.rs b/pallets/drand/src/lib.rs index 13fd1698c..5a863116e 100644 --- a/pallets/drand/src/lib.rs +++ b/pallets/drand/src/lib.rs @@ -30,6 +30,8 @@ // We make sure this pallet uses `no_std` for compiling to Wasm. #![cfg_attr(not(feature = "std"), no_std)] +// Many errors are transformed throughout the pallet. +#![allow(clippy::manual_inspect)] // Re-export pallet items so that they can be accessed from the crate namespace. pub use pallet::*; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 4b20616f5..b75c2a0a5 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -141,7 +141,7 @@ impl frame_system::offchain::CreateSignedTransaction let raw_payload = SignedPayload::new(call.clone(), extra.clone()).ok()?; let signature = raw_payload.using_encoded(|payload| S::sign(payload, public))?; - let signature_payload = (address, signature.into(), extra); + let signature_payload = (address, signature, extra); Some((call, signature_payload)) } @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 208, + spec_version: 209, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,