git.delta.rocks / unique-network / refs/commits / 619a7e5a8bf0

difftreelog

fix `SelfSponsoring` deprecated warning

Grigoriy Simonov2023-01-17parent: #497ad4d.patch.diff
in: master

1 file changed

modifiedpallets/evm-contract-helpers/src/lib.rsdiffbeforeafterboth
69 }69 }
7070
71 #[pallet::pallet]71 #[pallet::pallet]
72 #[pallet::generate_store(pub(super) trait Store)]72 #[pallet::generate_store(trait Store)]
73 pub struct Pallet<T>(_);73 pub struct Pallet<T>(_);
7474
75 /// Store owner for contract.75 /// Store owner for contract.
81 StorageMap<Hasher = Twox128, Key = H160, Value = H160, QueryKind = ValueQuery>;81 StorageMap<Hasher = Twox128, Key = H160, Value = H160, QueryKind = ValueQuery>;
8282
83 #[pallet::storage]83 #[pallet::storage]
84 #[deprecated]
85 pub(super) type SelfSponsoring<T: Config> =84 type SelfSponsoring<T: Config> =
86 StorageMap<Hasher = Twox128, Key = H160, Value = bool, QueryKind = ValueQuery>;85 StorageMap<Hasher = Twox128, Key = H160, Value = bool, QueryKind = ValueQuery>;
8786
88 /// Store for contract sponsorship state.87 /// Store for contract sponsorship state.