Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Remove default expansion from construct_runtime! #4937

Merged
merged 1 commit into from
Feb 15, 2020

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Feb 14, 2020

This removes the following syntactic sugar from construct_runtime!:

  • Expansion of default to the default set of module parts
  • Expansion of System: system to the default set of module parts

The macro now requires the user to provide all the module parts of a pallet.

Closes: #3001

This removes the following syntactic sugar from `construct_runtime!`:

- Expansion of `default` to the default set of module parts
- Expansion of `System: system` to the default set of module parts

The macro now requires the user to provide all the module parts of a pallet.
@bkchr bkchr requested a review from shawntabrizi February 14, 2020 20:52
@bkchr bkchr added A0-please_review Pull request needs code review. B1-runtimenoteworthy labels Feb 14, 2020
@bkchr bkchr merged commit 2e8080e into master Feb 15, 2020
@bkchr bkchr deleted the bkchr-construct-runtime-no-default branch February 15, 2020 13:40
General-Beck pushed a commit to General-Beck/substrate that referenced this pull request Feb 18, 2020
This removes the following syntactic sugar from `construct_runtime!`:

- Expansion of `default` to the default set of module parts
- Expansion of `System: system` to the default set of module parts

The macro now requires the user to provide all the module parts of a pallet.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minimize Macro Magic
2 participants