-
Notifications
You must be signed in to change notification settings - Fork 974
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
Refactoring of Code #82
Conversation
Not a big fan of creating individual packages, especially as this will be really difficult for upstream merging. Just created #83 as an alternative proposal to this problem. |
@rauljordan Individual packages under the sharding package make no difference on the ease or difficulty of merging upstream. |
@prestonvanloon I agree there's no difference, the question is do we need it. When we introduce more actors (ex: executor), are we going to create a executor package as well? |
@terenc3t Yes, we need packages for proper code organization. As the sharding features grow, it will be unmaintainable to have a single package that does everything. Absolutely, the execution would go in another package since it’s another responsibility. |
Co-authored-by: rahul <raxhvl@users.noreply.github.com>
It was agreed by the team in #60 to refactor the code in order to prevent duplication of code and for easier testing.
The objectives of this PR are to
sharding/client
sharding/collator
andsharding/proposer
respectively.More documentation can be found here :
https://docs.google.com/document/d/1__74pTWFpzfLLJ8017XeWQWJfs89YgTGxuefjkFUAaY/edit