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

Parachain runtime dependent weights #5091

Merged
merged 6 commits into from
Mar 12, 2022

Conversation

ggwpez
Copy link
Member

@ggwpez ggwpez commented Mar 11, 2022

Prepares for runtime dependent weights in parachains.
Corrects some mixup from here paritytech/cumulus#1076 (review) by:

  • only generate the constants in impl_runtime_weights! which are actually dependent on the runtime

This allows parachains to also use the constants.

Cumulus companion: paritytech/cumulus#1081

@ggwpez ggwpez added A3-in_progress Pull request is in progress. No review needed at this stage. I8-refactor Code needs refactoring. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Mar 11, 2022
@github-actions github-actions bot added A0-please_review Pull request needs code review. and removed A3-in_progress Pull request is in progress. No review needed at this stage. labels Mar 11, 2022
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
@shawntabrizi
Copy link
Member

bot merge

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. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. I8-refactor Code needs refactoring.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants