-
Notifications
You must be signed in to change notification settings - Fork 667
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
Add storage size check to construct_runtime!
#263
Comments
Does it need to be in Also, we can have something like a runtime level set of |
No particular reason. It went stale, but we should revive it. |
If you want less magic, you can just provide this method for checking the storage size as method in |
There are already tests to check call encode size. We should be able to do something similar for storage. |
More of an idea:
Since we have paritytech/substrate#11699, we could add it to
construct_runtime!
with some sensible (and configurable) default.This would help us and para-chain teams (eg. NodleCode/chain#655) to spot large storage structs, which bloat the PoV.
What do you think?
The text was updated successfully, but these errors were encountered: