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

Fix local variable names conflict in pallet call expansion#8450

Merged
bkchr merged 1 commit intomasterfrom
gui-fix-local-names
Mar 25, 2021
Merged

Fix local variable names conflict in pallet call expansion#8450
bkchr merged 1 commit intomasterfrom
gui-fix-local-names

Conversation

@gui1117
Copy link
Contributor

@gui1117 gui1117 commented Mar 24, 2021

The code generated to compute weight use local variables which names can conflict with dispatchable arguments.

In the past if a call has an argument weight: bool the name weight would conflict with the local variable.

@gui1117 gui1117 requested a review from ascjones March 24, 2021 18:31
@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Mar 24, 2021
@gui1117 gui1117 added 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 24, 2021
@bkchr bkchr merged commit e60597d into master Mar 25, 2021
@bkchr bkchr deleted the gui-fix-local-names branch March 25, 2021 09:43
hirschenberger pushed a commit to hirschenberger/substrate that referenced this pull request Apr 14, 2021
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants