-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pruning): prune ChangeSets & History during pipeline #3728
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
90ae3c3
prune changesets when writing to db from post state
joshieDo e980b15
prune history on their stages
joshieDo 1899c85
add deserializer helper to acc/storage history pruning
joshieDo 2f05db3
add deserialize_opt_prune_mode_unsupported_full test
joshieDo 880d2f6
Merge remote-tracking branch 'origin/main' into pruning/hist
joshieDo 5466e9b
add changeset checks to execution prune test
joshieDo 1ba88ba
add history stages to the prune test
joshieDo b4b013e
move test_prune
joshieDo 87f475e
rename to gen_prune_methods
joshieDo 5b41c0d
Merge remote-tracking branch 'origin/main' into pruning/hist
joshieDo bf93292
dedup test struct
joshieDo f0cf8f6
fix prune_target_block when PruneMode::Before
joshieDo 2539015
prune_target_block_ only returns None on invalid configuration
joshieDo e30447d
history prune parts require 64 min blocks
joshieDo 1e96152
fix up test_prune
joshieDo 792ef89
add an explanation to test_prune
joshieDo d451ddf
remove dup test
joshieDo c89a8da
prune_target_block_* returns err if badly configured
joshieDo c1fcc86
revert serde_helper change
joshieDo e380fff
add missing doc
joshieDo 2e707df
rename prune_targets to prune_modes
joshieDo b4ff2d1
add explanation on test_prune
joshieDo 28d6f67
check if target has been reached after prune check on history stages
joshieDo a483c8b
run from scratch hashing and merkle stages if there's required change…
joshieDo d46a5bc
remove dbg line
joshieDo 6a33867
fix stage test runners
joshieDo 84b0f27
Merge remote-tracking branch 'origin/main' into pruning/hist
joshieDo 0e88fc9
fix testrunner
joshieDo c7d83ec
Merge remote-tracking branch 'origin/main' into pruning/hist
joshieDo 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 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
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shekhirin what do you think about renaming this to
PruneStep
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally, "Step" sounds like a consecutive action like "Stage" in the context of pipeline, while in pruning you can enable different parts and it doesn't really matter in which order and composition they are executed. But I do agree that "Part" is weird too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe
PruneComponent
?