-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Replace T::AccountId with <T::Lookup as StaticLookup>::Source
#11670
Replace T::AccountId with <T::Lookup as StaticLookup>::Source
#11670
Conversation
T::AccountId with <T::Lookup as StaticLookup>::Source
|
cc @kianenigma |
kianenigma
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, I wonder if anyone has an idea to reduce the clutter a bit?
cc @gilescope |
|
Could be a good case for using type alias? Maybe called AccoundIdLookup or some such? |
Sounds good, If this works @kianenigma I'll go right ahead and implement it. |
|
Yeah perhaps |
kianenigma
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to see this finally closed.
|
CI and git conflicts need to go away though. |
|
@athei please review |
|
This needs label |
|
Does this PR need any more attention apart from the conflicts? |
ggwpez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Just one case where pallet-unique::set_price still uses <T::Lookup as StaticLookup>::Source.
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
|
bot merge |
|
/tip medium |
|
@shawntabrizi A medium tip was successfully submitted for Doordashcon (12zsKEDVcHpKEWb99iFt3xrTCQQXZMu477nJQsTBBrof5k2h on polkadot). https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.polkadot.io#/treasury/tips |
|
Thanks for the tip! |
…ritytech#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 <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Fixes #6042
polkadot address: 12zsKEDVcHpKEWb99iFt3xrTCQQXZMu477nJQsTBBrof5k2h