-
Notifications
You must be signed in to change notification settings - Fork 33
[WIP] Block by Block Synchronous Sate Sync #812
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
Open
Olshansk
wants to merge
126
commits into
main
Choose a base branch
from
issues/352/state_sync
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
126 commits
Select commit
Hold shift + click to select a range
702cc81
WIP debugging
gokutheengineer bbf5458
wip
gokutheengineer 6e65731
Add debug channels
Olshansk b3a953f
tests pass
gokutheengineer 89fad5d
clean
gokutheengineer 0fabffc
clean
gokutheengineer 3ae3b88
clean, add comments
gokutheengineer e1091d0
syncs and adds blocks
gokutheengineer fd52e69
proceeds except when leader is one of new nodes
gokutheengineer c730357
leader election works
gokutheengineer f9a3424
debugging leader re-election
gokutheengineer 1810cda
debug
gokutheengineer 5a909ad
syncs up successfully, if itis not leader
gokutheengineer 7cd1f4b
clean
gokutheengineer 74def84
wip
gokutheengineer 97d3f87
Merge branch 'main' into consensus/state-sync-channels
gokutheengineer 48a912b
update state sync module
gokutheengineer 92c2acf
clean, add comments
gokutheengineer de491dd
clean
gokutheengineer 05161bd
fix typos
gokutheengineer 5e70748
Update consensus/e2e_tests/utils_test.go
gokutheengineer 9c17b18
Update consensus/e2e_tests/state_sync_test.go
gokutheengineer 3270ee9
Update consensus/e2e_tests/utils_test.go
gokutheengineer a8fd744
Update consensus/module_consensus_state_sync.go
gokutheengineer 1c4eb53
fixes
gokutheengineer c081464
move isValidator to persistence
gokutheengineer 64bbfb1
address comments
gokutheengineer 0a4140a
add block committed event
gokutheengineer c42790d
merge
gokutheengineer 0034be9
update config
gokutheengineer 386de6d
wip fixes
gokutheengineer 92328c5
tests pass
gokutheengineer 74675d1
clean commented parts
gokutheengineer 8224e9a
address comments
gokutheengineer da8bdd8
updates
gokutheengineer a481e51
clean
gokutheengineer 0671fd1
add generated helm docs
invalid-email-address 959f60a
address comments, fix errors
gokutheengineer 5068558
Merge branch 'state-sync' of github.com:pokt-network/pocket into stat…
gokutheengineer 992a7d9
nits
gokutheengineer 582d6f0
add helper
gokutheengineer 97fb9ef
Lowercase some local testing types for consensus
Olshansk 19a3a2e
Rename PKs to privKeys
Olshansk 81af631
Remove privKeys from placeholderBlocks
Olshansk f74fb4c
Cleaning up some test code
Olshansk 3619377
Finished reviewing consensus/e2e_tests/utils_test.go
Olshansk 8150b76
Simplified state sync module interface
Olshansk 373dc48
All tests still passing
Olshansk a0ddcfc
review consensus/fsm_handler.go
Olshansk f01d704
Remove isValidator
Olshansk 66a0148
Merge with main
Olshansk 84e2bc3
Tests pass after merging to main
Olshansk a0ec8d6
Rename background processes
Olshansk 85f2156
Reviewed the block application loop
Olshansk 476ade9
Reviewed server.go
Olshansk 7dc5870
Cleaning up some code
Olshansk 9945564
Cleanup consensus module a bit
Olshansk 8d9f824
Completely removed the state sync from the consensus module
Olshansk 1b16ab5
Merge branch 'main' into issues/352/state_sync
Olshansk 60966cb
Interim commit to help me pick up
Olshansk 0d760ba
Merge with main
Olshansk f86b491
add generated helm docs
invalid-email-address f7e0fbe
Add some notes & qualifiers to the protocol state sync document
Olshansk a4b7a7b
Moved WithDebugEventsChannel into a file with the test tag
Olshansk 239661f
Moved some helpers into a debug helper file
Olshansk da3684e
Code cleanup figuring things out before diving into the business logi…
Olshansk 0bcc33a
Add some comments
Olshansk ab8db90
Removed SetBlock
Olshansk 759788e
Cleanup to some of the consensus testing utilities
Olshansk 5205d9a
Update factory functions for consensus submodules
Olshansk b24871f
Updated StartSynchronousStateSync
Olshansk e82e41d
WIP - simplifying the test
Olshansk 5696d48
Using broadcast instead of send with a loop where appropriate
Olshansk 54fcd1b
A little bit of cleanup
Olshansk f0570da
Reverted utility module changes
Olshansk 51864e2
Interim commit while working on 'TestStateSync_UnsyncedPeerSyncs_Succ…
Olshansk 3a6cd23
State sync test passes with time.Sleep hack
Olshansk 839cb3d
Merge with main
Olshansk c82860a
Merge with main
Olshansk b20b43a
Merge with main
Olshansk ed16e80
Some code cleanup while validating that unit tests all pass and doing…
Olshansk 918e65b
Renamed eventsChannel to sharedNetworkEvents in consensus
Olshansk d2ed2bb
Added runtime/debug_helpers.go
Olshansk d2d7d01
Removed waitForNetworkFSMEvents
Olshansk 8f540f2
Removed waitForNetworkFSMEvents
Olshansk 7a1e146
Removed all the 'OLSH' comments
Olshansk c9bdebf
Removed an unnecessary check for m.utilityUnitOfWork
Olshansk 1fa2a69
Removed unnecessary checks in hotstuff_replica
Olshansk 730a1bf
Reverted changelogs
Olshansk c1057b0
Removed unused debug channels
Olshansk 17384e9
Removed publishStateSyncBlockCommittedEvent
Olshansk 2771a84
Renamed module_state_sync to state_sync_helpers
Olshansk 54f6bce
Consolidated handlers and helpers for state sync
Olshansk e9fd550
Minor formatting issues in the .feature files
Olshansk 5a4ec3b
Merge branch 'main' into issues/352/state_sync
Olshansk 4efaa53
Merge with main
Olshansk 54caf5b
Merge branch 'main' into issues/352/state_sync
Olshansk 680f49b
Merge branch 'main' into issues/352/state_sync
Olshansk 0cdcd9a
Merge branch 'main' into issues/352/state_sync
Olshansk d6d6b99
Merge with main
Olshansk c9fe524
Merge with main
Olshansk 6856feb
Merge branch 'main' into issues/352/state_sync
Olshansk e6d0d5d
Merge with main
Olshansk c2cc4ae
Remove code from merge conflict
Olshansk 209d8cc
Tend to go lint errors
Olshansk 21e4441
Merge branch 'main' into issues/352/state_sync
Olshansk e74cc90
E2E State Sync Test
Olshansk 9d840ed
Linting improvements
Olshansk 9118167
Merge with main
Olshansk 8418390
Merge with main
Olshansk 2395a61
Update e2e/tests/steps_init_test.go
Olshansk 489978f
Update documentation related to installing rsync
Olshansk 4cc8405
Added # IMPROVE(#959): Remove time-based waits from tests
Olshansk da5c48f
Merge with main
Olshansk 2792210
Follow up on minor comments
Olshansk 9ce7882
s/validator/node in a few places
Olshansk 4df3e28
Add account.feature and validator.feature
Olshansk 34f635a
Remove kubectl_check from install_cli_deps
Olshansk 1289063
Remove kubectl_check from install_cli_deps
Olshansk 031c10c
Skip E2E test
Olshansk f5c68ba
Updated TODOs
Olshansk fa5577c
Added tags to the ./argo-linux-amd64 commands when running e2e-tests
Olshansk 8a4dc0b
Merge with issues/829/state_sync_test
Olshansk 46cd8e5
Merge with main
Olshansk 819f990
Updated a few comments
Olshansk 6ffe41d
Last week's state sync debugging changes
Olshansk 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
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.