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
Introduce BlockExecutionWeight and ExtrinsicBaseWeight
#5722
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
45c9841
Introduce `BlockExectionWeight` and `ExtrinsicBaseWeight`
shawntabrizi a3ca3c5
Add new traits everywhere
shawntabrizi a97bf26
Missed one update
shawntabrizi 6cfafe2
fix tests
shawntabrizi 70cbd72
Merge branch 'master' into shawntabrizi-additional-block-weights
shawntabrizi f3f7c1b
Update `check_weight` logic
shawntabrizi 2b3f96c
Merge branch 'master' into shawntabrizi-additional-block-weights
shawntabrizi c2f750f
introduce `max_extrinsic_weight` function
shawntabrizi 894fd52
fix + add tests
shawntabrizi 8367046
format nits
shawntabrizi 3c079c1
remove println
shawntabrizi 8d9c287
make test a bit more clear
shawntabrizi b02f55c
Remove minimum weight
shawntabrizi c2a6d54
newlines left over from find/replace
shawntabrizi ec1153c
Fix test, improve clarity
shawntabrizi a972a1d
Fix executor tests
shawntabrizi 80149d0
Extrinsic base weight same as old `MINIMUM_WEIGHT`
shawntabrizi 13f1205
fix example test
shawntabrizi 5e15c03
Expose constants
shawntabrizi 63ea16f
Merge branch 'master' into shawntabrizi-additional-block-weights
shawntabrizi 09b27ec
Add test for full block with operational and normal
shawntabrizi 541269c
Initiate test environment with `BlockExecutionWeight` weight
shawntabrizi 4bbb8f0
format nit
shawntabrizi b062b11
Update frame/system/src/lib.rs
shawntabrizi 290d7b5
Replace `TransactionBaseFee` with `ExtrinsicBaseWeight` (#5761)
shawntabrizi ff2da88
Merge branch 'master' into shawntabrizi-additional-block-weights
shawntabrizi f6dabd2
Remove minimum weight from merge
shawntabrizi 63d3181
Fix weight in contracts
shawntabrizi c688af0
remove `TransactionBaseFee` from contract tests
shawntabrizi 6aa8dbb
Let `register_extra_weight_unchecked` go past `MaximumBlockWeight`
shawntabrizi 26ad337
Merge branch 'master' into shawntabrizi-additional-block-weights
shawntabrizi 0c33223
Merge branch 'master' into shawntabrizi-additional-block-weights
shawntabrizi bafaed7
address feedback
shawntabrizi 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
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
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
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.