This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Streamline frame_system weight parametrization #6629
Merged
Merged
Changes from 32 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
c992d67
Basic weights builder.
tomusdrw 52e2033
Fixing WiP
tomusdrw 350976e
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 01b9aea
Make the tests work.
tomusdrw 201a5ba
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 6c2676d
Fix weights in node/runtime.
tomusdrw 390a359
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 4e11daf
WiP.
tomusdrw f914485
Update pallets with new weights parameters.
tomusdrw 17ce9a3
Validate returns a Result now.
tomusdrw 44e5981
Count mandatory weight separately.
tomusdrw 141fbfb
DRY
tomusdrw 3f0a2e9
BREAKING: Updating state root, because of the left-over weight-tracki…
tomusdrw 782cc72
Update tests affected by Mandatory tracking.
tomusdrw 8185cb1
Fixing tests.
tomusdrw 1525c76
Fix defaults for simple_max
tomusdrw 9441b00
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 9f3a541
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 2ab1f18
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw f09c6f3
Update frame/system/src/weights.rs
tomusdrw eb84c74
Rework the API a bit.
tomusdrw edab564
Fix compilation & tests.
tomusdrw 738ac18
Merge remote-tracking branch 'origin/td-weight-parameters-refactor' i…
tomusdrw 319ee5c
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw da4ff09
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 95e249c
Apply suggestions from code review
tomusdrw 22ef5d3
Add extra docs & rename few things.
tomusdrw cad3d96
Fix whitespace in ASCII art.
tomusdrw 22fa090
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw eb75ba3
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 98fdb4a
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw a2359eb
Update frame/system/src/limits.rs
tomusdrw bea4dd0
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 31706c6
Fix max_extrinsic calculations.
tomusdrw fa3203c
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw e197126
Fix conflicts.
tomusdrw 804bee5
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw f4da99a
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 233a5ff
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw da260bd
Fix compilation.
tomusdrw 91366d9
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 1e1bcf7
Fix new code.
tomusdrw 9b7d331
re-remove generic asset
shawntabrizi 6176f8e
Merge branch 'master' into td-weight-parameters-refactor
gnunicorn 0a138ac
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw b69b3e5
Fix usage.
tomusdrw d6e7776
Update state root.
tomusdrw 2d8875f
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 6e8ff1d
Update proxy.
tomusdrw b12359d
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 45c6fe6
Fix tests.
tomusdrw 543891f
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw 44946a8
Move weights validity to integrity_test
tomusdrw 2cf0631
Remove redundant BlockWeights.
tomusdrw 6f00731
Add all/non_mandatory comment
tomusdrw 7a8b774
Add test.
tomusdrw 8bc7ca5
Remove fn block_weights
tomusdrw d115561
Make the macro prettier.
tomusdrw f18cbab
Fix some docs.
tomusdrw 6e4c35c
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw b4c293c
Merge branch 'master' into td-weight-parameters-refactor
tomusdrw e2ee2b9
Make max_total behave more predictabily.
tomusdrw 953f845
Add BlockWeights to metadata.
tomusdrw 4854b95
Merge branch 'master' into td-weight-parameters-refactor
shawntabrizi ddc57b0
fix balances test
gui1117 ab0ba02
Fix utility test.
tomusdrw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.