Fix all warnings when building for wasm (#11569)

* Fix all warnings when building for wasm

Besides that it also enables warnings as errors for wasm builds in the CI.

* FMT

* Make clippy happy
This commit is contained in:
Bastian Köcher
2022-06-01 15:03:21 +02:00
committed by GitHub
parent a4fdcb9a06
commit bb6bbab687
9 changed files with 19 additions and 17 deletions
-1
View File
@@ -20,7 +20,6 @@
#![cfg_attr(not(feature = "std"), no_std)]
use frame_support::weights::Weight;
use sp_std::prelude::*;
sp_api::decl_runtime_apis! {
/// Runtime api for testing the execution of a runtime upgrade.