File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,11 @@ where
100100
101101 let executor = sc_service:: new_wasm_executor :: < HostFunctions > ( & config. executor ) ;
102102 let ( client, backend, keystore_container, task_manager) =
103-
104103 sc_service:: new_full_parts :: < Block , RuntimeApi , RuntimeExecutor > (
105- config,
106- telemetry. as_ref ( ) . map ( |( _, telemetry) | telemetry. handle ( ) ) ,
107- executor,
108- ) ?;
104+ config,
105+ telemetry. as_ref ( ) . map ( |( _, telemetry) | telemetry. handle ( ) ) ,
106+ executor,
107+ ) ?;
109108
110109 let client = Arc :: new ( client) ;
111110
Original file line number Diff line number Diff line change 3030
3131// We make sure this pallet uses `no_std` for compiling to Wasm.
3232#![ cfg_attr( not( feature = "std" ) , no_std) ]
33+ // Many errors are transformed throughout the pallet.
34+ #![ allow( clippy:: manual_inspect) ]
3335
3436// Re-export pallet items so that they can be accessed from the crate namespace.
3537pub use pallet:: * ;
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ impl frame_system::offchain::CreateSignedTransaction<pallet_drand::Call<Runtime>
141141 let raw_payload = SignedPayload :: new ( call. clone ( ) , extra. clone ( ) ) . ok ( ) ?;
142142 let signature = raw_payload. using_encoded ( |payload| S :: sign ( payload, public) ) ?;
143143
144- let signature_payload = ( address, signature. into ( ) , extra) ;
144+ let signature_payload = ( address, signature, extra) ;
145145
146146 Some ( ( call, signature_payload) )
147147 }
@@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
220220 // `spec_version`, and `authoring_version` are the same between Wasm and native.
221221 // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
222222 // the compatible custom types.
223- spec_version : 208 ,
223+ spec_version : 209 ,
224224 impl_version : 1 ,
225225 apis : RUNTIME_API_VERSIONS ,
226226 transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments