-
Notifications
You must be signed in to change notification settings - Fork 33
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
[TECHDEBT] [P2P] P2P integration with utility for addressBook lookups #270
Comments
The action item for this ticket is:
@andrewnguyen22 Do you think we should only have validators participating in RainTree or any protocol level actor that stakes. |
… - (Issue #270) (#378) ## Description This PR builds on top of #374 (the base branch is not `main` in order to highlight the delta of the changes) in order to tend to the TECHDEBT TODOs listed in #270 ## Issue Fixes #270 ## Type of change Please mark the relevant option(s): - [x] New feature, functionality or library - [ ] Bug fix - [x] Code health or cleanup - [ ] Major breaking change - [ ] Documentation - [ ] Other <!-- add details here if it a different type of change --> ## List of changes - Consensus - `LeaderElectionModule`'s `electNextLeaderDeterministicRoundRobin` now uses `Persistence` to access the list of validators instead of the static `ValidatorMap`. - Updated tests (mock configs) accounting for the updated logic - P2P - `ValidatorMapToAddrBook` renamed to `ActorToAddrBook` - `ValidatorToNetworkPeer` renamed to `ActorToNetworkPeer` ## Testing - [x] `make develop_test` - [x] [LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md) w/ all of the steps outlined in the `README` <!-- If you added additional tests or infrastructure, describe it here. Bonus points for images and videos or gifs. --> ## Required Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have tested my changes using the available tooling - [x] I have updated the corresponding CHANGELOG ### If Applicable Checklist - [ ] I have updated the corresponding README(s); local and/or global - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s) - [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s) Signed-off-by: Alessandro De Blasis <[email protected]> Co-authored-by: Daniel Olshansky <[email protected]>
… - (Issue #270) (#378) This PR builds on top of #374 (the base branch is not `main` in order to highlight the delta of the changes) in order to tend to the TECHDEBT TODOs listed in #270 Fixes #270 Please mark the relevant option(s): - [x] New feature, functionality or library - [ ] Bug fix - [x] Code health or cleanup - [ ] Major breaking change - [ ] Documentation - [ ] Other <!-- add details here if it a different type of change --> - Consensus - `LeaderElectionModule`'s `electNextLeaderDeterministicRoundRobin` now uses `Persistence` to access the list of validators instead of the static `ValidatorMap`. - Updated tests (mock configs) accounting for the updated logic - P2P - `ValidatorMapToAddrBook` renamed to `ActorToAddrBook` - `ValidatorToNetworkPeer` renamed to `ActorToNetworkPeer` - [x] `make develop_test` - [x] [LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md) w/ all of the steps outlined in the `README` <!-- If you added additional tests or infrastructure, describe it here. Bonus points for images and videos or gifs. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have tested my changes using the available tooling - [x] I have updated the corresponding CHANGELOG - [ ] I have updated the corresponding README(s); local and/or global - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s) - [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s) Signed-off-by: Alessandro De Blasis <[email protected]> Co-authored-by: Daniel Olshansky <[email protected]>
Objective
Tend for the TODO
Origin Document
Techdebt week emphasizes code health. Particularly, removing all
placeholder
andhacky
code.The past few months,
shared/modules
have built up quite a few TODOs.The PR should remove all
non-blocked
TODOsGoals
Deliverable
Non-goals / Non-deliverables
General issue deliverables
[Optional] Testing Methodology
make ...
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdCreator: @deblasis
Co-Owners: @Olshansk
The text was updated successfully, but these errors were encountered: