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 1.5k
Reduce the inclusion inherent's actual weight if the block is already heavy #2060
Merged
Merged
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
38299d3
don't modify inherent data on heavy block
coriolinus fd587b8
write up current thinking on block weight detection
coriolinus 5e59e4e
extract inherent inclusion check into its own function
coriolinus 0f373fd
put heavy block check into runtime
coriolinus e58858d
the `inclusion` inherent call is Operational, not Mandatory
coriolinus f670124
Revert "the `inclusion` inherent call is Operational, not Mandatory"
coriolinus d1c570f
Revert "write up current thinking on block weight detection"
coriolinus c260f94
Revert "don't modify inherent data on heavy block"
coriolinus 684309d
add backed candidate block weight assumption to configuration
coriolinus 66834f5
Limit backed candidates according to a candidate weight heuristic.
coriolinus 174f906
simplify limit_backed_candidates and weight assumption
coriolinus 63b4869
don't trust the provisioner to fairly distribute candidates
coriolinus e8d16fd
use saturating subtraction
coriolinus 13bf41b
empty commit to restart ci
coriolinus 38e5f66
Merge remote-tracking branch 'origin/master' into prgn-heavy-blocks
coriolinus 5bc1f4f
use new mechanism for getting max block weight
coriolinus 3dbed6d
apply weight refunds to the inclusion inherent
coriolinus 8aa71bd
use a correct fixed weight for the inclusion inherent
coriolinus 88fe99a
use dynamic inclusion weight so we reduce calculated weight when excl…
coriolinus 84afca7
don't double-count this intrinsic's weight in the block weight
coriolinus d43f2ab
add unit tests of fn limit_backed_candidates
coriolinus accd5f7
add tests that the inclusion inherent's weight correctly updates
coriolinus bb6a038
Merge remote-tracking branch 'origin/master' into prgn-heavy-blocks
coriolinus 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
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.