git.delta.rocks / unique-network / refs/commits / e7ebf1d3faa9

difftreelog

fix impl MaxEncodedLen for SponsoringMode

Yaroslav Bolyukin2022-02-10parent: #3b32197.patch.diff
in: master

1 file changed

modifiedpallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth
1#![cfg_attr(not(feature = "std"), no_std)]1#![cfg_attr(not(feature = "std"), no_std)]
22
3use 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}
128128
129#[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,