You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Goal
The goal of this PR is to remove `without_storage_info` which is
necessary to be able to calculate max encoded length for PoV.
Closes <!-- issue # -->
#1696
# Changes
- Since we can not submit a `MaxEncodedLen` PoV for messages due to
oversized PoV we would need to use `measured` until we reworked the
messages pallet.
- Reduced the `MessagesMaxPayloadSizeBytes` from 50K to 3K to reduce the
chance of Oversized PoV even for measured mode until the rework of
messages pallet.
- Reduced the `MessagesMaxPerBlock` from 7000 to 200 to reduce the
chance of Oversized PoV even for measured mode until the rework of
messages pallet.
# Checklist
- [X] Chain spec updated
- [X] Weights updated
# Notes
I checked all the submitted messages on rococo and main-net and there
are no messages that violate these restrctions
Here is list of all messages on rococo and there are none on main-net.
The biggest one has less than 700 bytes
[messages.txt](https://github.com/LibertyDSNP/frequency/files/13033855/messages.txt)
# Merge order
This most probably will get merged after node upgrade PR unless
something changes
Description
Based on the discussions in https://substrate.stackexchange.com/questions/3891/benchmarks-command-error/3894#3894 we should remove
without_storage_info
usages so that we can get accurate PoV benchmarksCurrently its been used in
Messages
andSchema
palletsAcceptence Criterea
without_storage_info
fromMessages
andSchema
pallets and fix all compile issuesAdditional details
Examples for migration and other changes from substrate:
paritytech/polkadot-sdk#323
The text was updated successfully, but these errors were encountered: