-
Notifications
You must be signed in to change notification settings - Fork 650
ADR 101: Refactor height check-related logic and tests #1271
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
Merged
thanethomson
merged 32 commits into
feature/adr101-pull-companion
from
thane/adr101/height-logic
Aug 22, 2023
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
effffbb
state: Invert logic of whether retain heights are set to be more read…
thanethomson ac4d923
state: Refactor findMinRetainHeight logic for clarity and to respect …
thanethomson b631193
state: Rename findMinRetainHeight to findMinBlockRetainHeight for cla…
thanethomson 7caad29
state: Rename Pruner.SetApplicationRetainHeight to SetApplicationBloc…
thanethomson 8449670
state: Rename pruner SetCompanionRetainHeight to SetCompanionBlockRet…
thanethomson 79e9897
state: Refactor - shorten local variable name
thanethomson 2931a2f
state: Refactor - rename local method name for clarity
thanethomson b30cae7
state: Refactor - remove redundant condition
thanethomson fd52091
state: Refactor - use helper instead of redefining logic
thanethomson 3131394
state: Refactor - shorten local variable names
thanethomson 125a9de
state: Refactor - shorten local variable names
thanethomson 3915236
state: Refactor Pruner.SetApplicationBlockRetainHeight logic
thanethomson 6152f7d
state: Refactor Pruner.SetCompanionBlockRetainHeight logic
thanethomson 9e20618
state: Refactor Pruner.SetABCIResRetainHeight logic
thanethomson 43dac06
state: Refactor - shorten local variable names
thanethomson e6f1766
state: Simplify pruner logic assuming retain heights are always set
thanethomson cee14ac
node: Tell pruner whether companion is enabled
thanethomson 8bfd93c
state: Expand error message detail
thanethomson cbd6f82
state+store: Align tests with new logic
thanethomson fa62edc
state: Refactor - shorten local variable names
thanethomson 07da80b
rpc/grpc: Return trace IDs in error responses from pruning service
thanethomson a0c1114
node: Refactor/expand pruning service initialization logic
thanethomson 5cd9d4a
test/e2e: Minor cosmetic tweaks to gRPC tests
thanethomson 543d427
test/e2e: Enable data companion pruning
thanethomson 77f9554
node: Refactor - extract pruner creation as function
thanethomson 7a81468
test/e2e: Only enable companion-based pruning on full nodes and valid…
thanethomson 2c21a38
state: Only start ABCI results pruning routine when data companion is…
thanethomson 64f94ef
state: Fix TestMinRetainHeight logic
thanethomson 9ab6eea
node: Fix companion retain height initialization logic
thanethomson 79dea5f
test/e2e: Expand testing framework
thanethomson 0678891
state: Rename background routines
thanethomson 2aeee6e
node: Apply change from code review
thanethomson 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.