mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
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:
@@ -316,7 +316,7 @@ use frame_support::{
|
||||
Currency, Defensive, DefensiveOption, DefensiveResult, DefensiveSaturating,
|
||||
ExistenceRequirement, Get,
|
||||
},
|
||||
CloneNoBound, DefaultNoBound, PartialEqNoBound, RuntimeDebugNoBound,
|
||||
CloneNoBound, DefaultNoBound, RuntimeDebugNoBound,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_core::U256;
|
||||
@@ -398,7 +398,7 @@ enum AccountType {
|
||||
|
||||
/// A member in a pool.
|
||||
#[derive(Encode, Decode, MaxEncodedLen, TypeInfo, RuntimeDebugNoBound, CloneNoBound)]
|
||||
#[cfg_attr(feature = "std", derive(PartialEqNoBound, DefaultNoBound))]
|
||||
#[cfg_attr(feature = "std", derive(frame_support::PartialEqNoBound, DefaultNoBound))]
|
||||
#[codec(mel_bound(T: Config))]
|
||||
#[scale_info(skip_type_params(T))]
|
||||
pub struct PoolMember<T: Config> {
|
||||
|
||||
Reference in New Issue
Block a user