Replace T::AccountId with <T::Lookup as StaticLookup>::Source (#11670)

* initial

* update

* update

* update

* cargo fmt

* update

* update benchmarks

* AccountIdLookupOf<T>

* cargo fmt

* fix conflits

* cargo fmt

* update

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
DoordashconandOliver Tale-Yazdi authored and GitHub committed 2022-08-18 09:30:46 +00:00
1 parent 511e5c9651
commit d46f6f0d34
50 files changed
+465 -309

No files matched your search

@@ -57,7 +57,7 @@ const INSTR_BENCHMARK_BATCHES: u32 = 50;
struct Contract<T: Config> {
caller: T::AccountId,
account_id: T::AccountId,
addr: <T::Lookup as StaticLookup>::Source,
addr: AccountIdLookupOf<T>,
value: BalanceOf<T>,
}