-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[parachain-template] refactor pallet configurations for enhanced modularity #3804
[parachain-template] refactor pallet configurations for enhanced modularity #3804
Conversation
I'm not convinced that this improves the readability. You split up 250 lines across multiple files. IMO this makes it much harder to find all the configs. For bigger runtimes this probably makes sense, but not for such small runtimes. |
An 800-line This proposal for refactoring is merely an initial step towards this objective. |
Then maybe add all of them to the same |
Placing all configurations in a single It's a good middle ground: #3809 |
This series of patches refactors the configuration of various pallets into their own separate modules. The primary goal of this refactor is to improve the modularity and readability of the runtime configuration.
runtime/src/configs
. This includes configurations foraura
,authorship
,balances
, and several others.