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

weights update - all pallets #210

Closed
wants to merge 3 commits into from
Closed

Conversation

enthusiastmartin
Copy link
Contributor

@enthusiastmartin enthusiastmartin commented Apr 14, 2021

Description

Use weights from hydra benchmark machine for all pallets the node uses.
Perform benchmarks of each pallet on hydra bench machine.

Benchmarks of some of the pallet cannot complete successfully with the parameters set in the runtime:
Democracy - fails with MaxVotesReached error
Tips - fails with ReasonTooBig error
Election phragmen - fails with Failed to submit candidacy
Balances - fails because Existential deposit is 0.

And the following fails to compile with runtime-benchmarks features : collective, election_provider_multi_phase.

Babe and grandpa generate different WeightInfo that the one in the pallet - so not sure what to do about that.

For those pallets mentioned above - it uses SubstrateWeights for now.

Related Issue

#203

@enthusiastmartin enthusiastmartin linked an issue Apr 14, 2021 that may be closed by this pull request
@jak-pan
Copy link
Contributor

jak-pan commented Aug 16, 2021

Closing needs re-do

@jak-pan jak-pan closed this Aug 16, 2021
@jak-pan jak-pan deleted the weights_update branch January 21, 2025 07:18
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.

Bug: Re-benchmark every pallet in runtime
2 participants