difftreelog
fmt
in: master
2 files changed
pallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth--- 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 && !<Pallet<T>>::allowed(*contract_address, *who.as_eth()) {
+ if mode == SponsoringModeT::Allowlisted
+ && !<Pallet<T>>::allowed(*contract_address, *who.as_eth())
+ {
return None;
}
let block_number = <frame_system::Pallet<T>>::block_number() as T::BlockNumber;
pallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth66 StorageMap<Hasher = Twox128, Key = H160, Value = bool, QueryKind = ValueQuery>;66 StorageMap<Hasher = Twox128, Key = H160, Value = bool, QueryKind = ValueQuery>;676768 /// Store for contract sponsorship state.68 /// Store for contract sponsorship state.69 /// 69 ///70 /// * **Key** - contract address.70 /// * **Key** - contract address.71 /// * **Value** - sponsorship state.71 /// * **Value** - sponsorship state.72 #[pallet::storage]72 #[pallet::storage]