-
Notifications
You must be signed in to change notification settings - Fork 82
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(blockManager): refactor and use state as single source of truth for height #847
Merged
mtsitrin
merged 38 commits into
main
from
mtsitrin/634-refactor-use-state-as-single-source-of-truth
May 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
e36a9a5
removed pending block as submit to SL retries forever
mtsitrin 0d4c641
removed BlockBatchSize and fix UT
mtsitrin 5803cda
moved accumulated count to produce to be mutex protected
mtsitrin aef3bc4
refactored error handling
mtsitrin 1e766ab
removed healthEvents from layers. set by manager on submission skew
mtsitrin 8c4df90
cleanup
mtsitrin f3592e5
fixed defaults
mtsitrin 6973282
fix UT
mtsitrin 81baf80
changed accumaletd counter to be atomic
mtsitrin 24d8b85
fixed UT
mtsitrin 6c1741a
spelling, typo, format
danwt b1c0131
spelling
danwt 9364c7c
feat: block progress to support ibc should be managed by produceloop …
mtsitrin 9f76e0b
refactored the signaling
mtsitrin c7ffbf1
added ctx support for blocking signals
mtsitrin a501fa2
cleanup. comments
mtsitrin 72a8893
moved indexers to own package
mtsitrin 9815da3
renamed state and some struct fields
mtsitrin 5c7c454
moved store back to store package
mtsitrin f53ddc4
moving height related managment to be based on State
mtsitrin 8402076
fixed store pruning
mtsitrin 90031e7
updated block manager to use state. rpc needs fix
mtsitrin d2be2ce
cleanup
mtsitrin a095024
Merge branch 'main' into mtsitrin/634-refactor-use-state-as-single-so…
mtsitrin d9698f8
simplified commit
mtsitrin 051a4e7
moved gossip methods to gossip.go
mtsitrin cecf106
reverted executer key
mtsitrin b896eaa
fixed publishEvents
mtsitrin bb66c2c
removed unused fields. saving state post commit
mtsitrin efcf193
removed unused params. cleaned the state flow
mtsitrin 3992f2a
fixed LastBlockHeight to be atomic
mtsitrin 5b3cda0
avoid copying state and pass by reference
mtsitrin 953a9b8
fixed PR comments
mtsitrin 576325e
simplified genesis check on produce block
mtsitrin 403ec9e
Merge branch 'main' into mtsitrin/634-refactor-use-state-as-single-so…
mtsitrin 31c8906
pr comments
mtsitrin 5ab2f15
Merge branch 'main' into mtsitrin/634-refactor-use-state-as-single-so…
mtsitrin 74bfba0
linter
mtsitrin 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
simplified commit
- Loading branch information
commit d9698f80faf4d4da3c9fed3b8be5dc5fb12fd2ac
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
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.
method not being used (though it can be used as we do get the BaseHeight in pruning.go)