--- a/pallets/evm-contract-helpers/src/eth.rs +++ b/pallets/evm-contract-helpers/src/eth.rs @@ -306,7 +306,9 @@ None => return None, }; - if mode == SponsoringModeT::Allowlisted && !>::allowed(*contract_address, *who.as_eth()) { + if mode == SponsoringModeT::Allowlisted + && !>::allowed(*contract_address, *who.as_eth()) + { return None; } let block_number = >::block_number() as T::BlockNumber; --- a/pallets/evm-contract-helpers/src/lib.rs +++ b/pallets/evm-contract-helpers/src/lib.rs @@ -66,7 +66,7 @@ StorageMap; /// Store for contract sponsorship state. - /// + /// /// * **Key** - contract address. /// * **Value** - sponsorship state. #[pallet::storage]