-
Notifications
You must be signed in to change notification settings - Fork 150
feat(eth): ethereum sync finality support #2184
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
Closed
Closed
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
4d866ab
draft
olegshmuelov aa46e71
refactor(execution_client.go): rename logs channel to logsCh for clar…
kchojn 58c07af
update [skip ci]
kchojn f8a1592
refactor(common_test.go, event_handler_test.go, defaults.go, executio…
kchojn 837c45d
refactor(execution_client.go): remove unused reconnect method and rel…
kchojn 4d230e7
refactor(node.go): remove unused reconnection interval options to sim…
kchojn 879875b
merge stage [skip ci]
kchojn 476f4e3
fix(execution_client.go): update logging method names to improve clar…
kchojn 1c2db05
clean up
kchojn 7b7507c
test(execution_client_test.go): update test case for chain reorganiza…
kchojn e0429a5
refactor(common_test.go): rename followDistance to finalityBlocks for…
kchojn f66bb36
feat(executionclient): add DefaultFinalityDistance constant with valu…
kchojn 5fd0b41
Update eth/executionclient/defaults.go
kchojn ffe54fb
Update eth/executionclient/execution_client.go
kchojn fe53254
support finalized blocks
kchojn 309eb63
lint
kchojn 0a1bc18
feat(executionclient): introduce SlotsPerEpoch constant to improve re…
kchojn 7b19564
improve tests
kchojn 0d35334
improve docs + timeouts
kchojn 4ee20a4
restore followDistance logic back TODO: update tests [skip ci]
kchojn a8e9311
Merge remote-tracking branch 'origin/stage' into finality-sync
kchojn 209fcd7
feat(eth/executionclient): add tests for IsFinalityActive function
kchojn e26a0f2
small cleanup [skip ci]
kchojn 41846bc
fork support
kchojn 4440124
feat(multi_client_test.go): add support for follow distance and final…
kchojn dc3a03c
refactor(event_handler_test.go): add executionclient.WithFinalityFork…
kchojn d2faa93
refactor(execution_client.go): improve comments and add clarity to th…
kchojn c7a9a50
Update eth/executionclient/multi_client_test.go
kchojn 804ef76
refactor
kchojn 54a08d9
refactor(execution_client.go): refactor IsPreFinalityFork function to…
kchojn 826dd7a
refactor(execution_client.go): improve variable naming and add atomic…
kchojn 488546b
remove old stuff
kchojn 211ed9c
checkpoint [skip ci]
kchojn c7feb03
fix too old block, TODO: refactor, optimize rpc calls
kchojn d21c706
feat(event_syncer_test.go): add tests for finalized fork scenarios in…
kchojn f165470
refactor(execution_client.go): improve logic for determining target b…
kchojn 9ee2a15
refactor(execution_client.go): refactor logging in streamLogsToChan m…
kchojn 61e1ba2
refactor(event_syncer.go): improve readability by extracting lastBloc…
kchojn f4cca05
move fork stuff to networkconfig
kchojn cf357f7
feat(executionclient): add support for phase0.Epoch type in Config st…
kchojn d11f46b
refactor(executionclient): update Config struct to use GetFinalityCon…
kchojn 20f68fb
refactor(config.go): refactor NetworkName method to use active fork n…
kchojn 663f796
refactor(ssv_forks.go): rename Fork type to SSVForkName for clarity a…
kchojn d73cb19
some tests
kchojn d2fb9be
NewConfigFromNetworkConfig
kchojn fae6bd1
Merge remote-tracking branch 'origin/stage' into finality-sync
kchojn 2baf05b
feat(common_test.go): add support for finalityEpoch variable to confi…
kchojn c65d07c
merge stage
kchojn 3a1c0c2
merge stage, TODOs
kchojn 66ddc51
post merge cleanup
kchojn b3dbbcb
pr comments fixes
kchojn 4ae6ada
refactor(event_syncer.go): simplify staleness threshold comparison in…
kchojn d6dc4de
refactor(execution_client_test.go): extract copyNetworkConfig functio…
kchojn 73e7976
refactor(execution_client_test.go): remove unnecessary copyNetworkCon…
kchojn 17171c6
refactor(execution_client.go): remove logging statement for finality …
kchojn 503cc9c
refactor(event_syncer.go): improve comments and error messages for be…
kchojn 82cd6ca
merge stage
kchojn 7d85ef2
mock
kchojn 860b9bd
Merge branch 'stage' into finality-sync
kchojn dbc9e09
adapt gas-limit: default to 36 #2307
kchojn 67f3024
Merge branch 'stage' into finality-sync
kchojn 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
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.
style: Extra empty line should be removed for consistency with code formatting.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Prompt To Fix With AI