difftreelog
fix impl MaxEncodedLen for SponsoringMode
in: master
1 file changed
pallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth1#![cfg_attr(not(feature = "std"), no_std)]1#![cfg_attr(not(feature = "std"), no_std)]223use codec::{Decode, Encode};3use codec::{Decode, Encode, MaxEncodedLen};4pub use pallet::*;4pub use pallet::*;5pub use eth::*;5pub use eth::*;6use scale_info::TypeInfo;6use scale_info::TypeInfo;126 }126 }127}127}128128129#[derive(Encode, Decode, PartialEq, TypeInfo)]129#[derive(Encode, Decode, PartialEq, TypeInfo, MaxEncodedLen)]130pub enum SponsoringModeT {130pub enum SponsoringModeT {131 Disabled,131 Disabled,132 Allowlisted,132 Allowlisted,