Make generics for pallet parts omissible in construct_runtime#9658
Make generics for pallet parts omissible in construct_runtime#9658
Conversation
|
Getting this to work with the pallet declarative macros is really tough, I've been trying different methods for a while now and it is looking like that there's no possible solution for this. The primary problem that I'm facing now is that I have half a mind to simply restrict this feature to pallet proc macros, but then I'll have to figure out a way to feature gate this so that it only works with proc macros, which should be doable but not ideal... |
I think this is sensible... also we must be very close to having no decl macros anymore. Maybe working to get that past the finish line is the way to go. |
|
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions. |
…pallet-part-generics
d7a5b1f to
97c06e5
Compare
|
I don't understand why do we need this after #9681 ? |
|
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions. |
Fixes #8743.
This PR makes it possible to omit the generics while declaring the
Event,ConfigandOriginparts in theconstruct_runtime!macro.Things left to do:
Originpallet partConfigpallet partconstruct_runtime!