-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed without_storage_info from messages and schema pallets (#1702)
# 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
- Loading branch information
Showing
14 changed files
with
244 additions
and
180 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.