-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Config] Change default barriers of mainnet to 0 #6225
Merged
smartprogrammer93
merged 17 commits into
master
from
feature/change-mainnet-default-barriers-to-0
Dec 7, 2023
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2665609
init
smartprogrammer93 545e0a7
tests
smartprogrammer93 a79085d
format
smartprogrammer93 b0b89cc
fix config tests
smartprogrammer93 dfd0196
cover more cases
smartprogrammer93 43b4a8d
Add same logic to SyncProgressResolver with tests
smartprogrammer93 ed1029a
wip metadatadb usage to detect with what configuration was the sync s…
smartprogrammer93 3ad31de
add logic to ReceiptsSyncFeed
smartprogrammer93 8f8a782
fix ReceiptsSyncFeed
smartprogrammer93 74cc0ea
apply fix
smartprogrammer93 ca21641
remove useless using
smartprogrammer93 e25b7d2
Fix bodies not finishing
smartprogrammer93 245241a
Merge branch 'master' into feature/change-mainnet-default-barriers-to-0
smartprogrammer93 93f380c
refactor and minor fixes
smartprogrammer93 810de42
Merge branch 'master' into feature/change-mainnet-default-barriers-to-0
smartprogrammer93 63a8d16
Merge branch 'master' into feature/change-mainnet-default-barriers-to-0
smartprogrammer93 91d261b
fix test issue
smartprogrammer93 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
Oops, something went wrong.
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.
Do we want to remove these values completely? If user decide to enable them he can set value close to the head and CL will not be able to sync deposit contract. Maybe we can introduce something like
Sync.EnableBarrier
?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.
I dont think the user will set the value from his mind. If the user wants to enable them, we can have something in the docs to guide?
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.
Fair, but I think it's better option to have default value for this. User may decide to set it to current head
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.
If that is desired, we can just make another config file, like
mainet-barriers
, for exampleThere 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.
I'd better go with
mainnet-light
or something but not sure.