Skip to content
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

Marko/added benchmark for set code #180

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

markopoloparadox
Copy link
Contributor

@markopoloparadox markopoloparadox commented Jul 18, 2023

A change was made in how the scheduler calculates used weight. A scheduled tx that uses max_block_weight will fail with the following error: PermanentlyOverweight.

The fix was to add a proper benchmark for the set_code tx.

Closes: https://github.com/availproject/engineering/issues/100
Related Substrate Issue: paritytech/substrate#13192

@markopoloparadox markopoloparadox force-pushed the marko/added-benchmark-for-set-code branch 2 times, most recently from 95a1f19 to c87c224 Compare July 27, 2023 08:48
A change was made in how the scheduler calculates used weight. A scheduled tx with max_block_weight will fail with the following error: PermanentlyOverweight. The fix was to add a proper benchmark for set_code tx.
@markopoloparadox markopoloparadox force-pushed the marko/added-benchmark-for-set-code branch from c87c224 to 6554ec4 Compare July 27, 2023 09:30
@markopoloparadox markopoloparadox merged commit 8b3df03 into develop Jul 27, 2023
4 checks passed
@markopoloparadox markopoloparadox deleted the marko/added-benchmark-for-set-code branch July 27, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants