diff --git a/Cargo.lock b/Cargo.lock index 678bd3864..0c7c90f79 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6432,7 +6432,7 @@ dependencies = [ [[package]] name = "pallet-claims" -version = "3.4.6" +version = "3.4.7" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/claims/Cargo.toml b/pallets/claims/Cargo.toml index 4db4019ec..e90065bcd 100644 --- a/pallets/claims/Cargo.toml +++ b/pallets/claims/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-claims' -version = '3.4.6' +version = '3.4.7' description = 'HydraDX Claims Module' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/claims/src/lib.rs b/pallets/claims/src/lib.rs index e6d00bff2..1c704cb20 100644 --- a/pallets/claims/src/lib.rs +++ b/pallets/claims/src/lib.rs @@ -58,7 +58,6 @@ pub mod pallet { use frame_system::pallet_prelude::OriginFor; #[pallet::pallet] - #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::hooks] diff --git a/pallets/claims/src/traits.rs b/pallets/claims/src/traits.rs index 0e72fb3fe..a06c8bc9d 100644 --- a/pallets/claims/src/traits.rs +++ b/pallets/claims/src/traits.rs @@ -17,7 +17,7 @@ #![allow(clippy::redundant_slicing)] -use codec::{Decode, Encode}; +use codec::{Decode, Encode, MaxEncodedLen}; use sp_io::{crypto::secp256k1_ecdsa_recover, hashing::keccak_256}; use sp_std::vec::Vec; @@ -27,7 +27,7 @@ use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Deserializer, Serialize, Serializer}; -#[derive(Clone, Copy, PartialEq, Eq, Encode, Decode, Default, Debug, TypeInfo)] +#[derive(Clone, Copy, PartialEq, Eq, Encode, Decode, Default, Debug, TypeInfo, MaxEncodedLen)] pub struct EthereumAddress(pub [u8; 20]); #[cfg(feature = "std")]