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

Fix use of weight limit errors #4358

Merged
merged 1 commit into from
Nov 24, 2021
Merged

Fix use of weight limit errors #4358

merged 1 commit into from
Nov 24, 2021

Conversation

gavofyork
Copy link
Member

@gavofyork gavofyork commented Nov 24, 2021

The weight limit error TooMuchWeightRequired (used by Transact to indicate an invalid upper limit for the dispatchable call) was being incorrectly used in the place of WeightLimitReached.

This PR fixes that usage and renames the offending error into something more obvious.

Cumulus companion: paritytech/cumulus#791

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Nov 24, 2021
@gavofyork gavofyork added B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. D9-needsaudit 👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited. labels Nov 24, 2021
Copy link
Contributor

@KiChjang KiChjang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to remember to update the pending XCMv3 PR as well.

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. C1-low PR touches the given topic and has a low impact on builders. D9-needsaudit 👮 PR contains changes to fund-managing logic that should be properly reviewed and externally audited.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants