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

Update pallet weights to weights-v2 #570

Closed
Tracked by #573
1xstj opened this issue Apr 13, 2023 · 0 comments · Fixed by #583
Closed
Tracked by #573

Update pallet weights to weights-v2 #570

1xstj opened this issue Apr 13, 2023 · 0 comments · Fixed by #583
Assignees

Comments

@1xstj
Copy link
Contributor

1xstj commented Apr 13, 2023

The code base was upgraded to release 0.9.39, indicating that you are following the release pace consistently. However, you are still running weights v1 since the weights are still using the methods from_ref_time instead of the from_parts which involves the two fields from weights v2.

I recommend going through the following PR to migrate into Weights v2 properly:

paritytech/substrate#11637

You might also consider creating a weights template like this one to have more control over the weights process generation coming from the benchmarking.

From #569

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant