-
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
[P2P] Refactor CreateWithProvider
using the new bus
based DI
#429
Labels
Milestone
Comments
deblasis
added a commit
that referenced
this issue
Jan 6, 2023
16 tasks
16 tasks
16 tasks
bryanchriswhite
added a commit
that referenced
this issue
Feb 20, 2023
* pokt/main: [Infra] KISS 3 - Cluster Manager [Merge me after #521] - (Issues: #490) (#522) Refactor/fix state sync logs (#515) [P2P] KISS 2 - Peer discovery [Merge me after #520] - (Issues: #416, #429) (#521) [Core] KISS 1 - Finite State Machine [Merge me first] - (Issue: #499) (#520) [CLI] Stake command bugfix (#518) [CLI] Cannot run make localnet_client_debug: Cannot initialise the keybase with the validator keys: Unable to find YAML file (#517) Fix the link shown by `make go_doc` Fixed duplicate GITHUB_WIKI tag [Documentation] Update Devlog Formatting (#512) [Docs & Bugs] Minor fixes post keybase changes (#513) [Utility] Foundational bugs, tests, code cleanup and improvements (1 / 2) (#503) [Tooling] Integrate Keybase w/ CLI (Issue #484 ) (#501) update devlog2.md update devlog2.md Update devlog1.md
bryanchriswhite
added a commit
that referenced
this issue
Feb 20, 2023
* pokt/main: [Infra] KISS 3 - Cluster Manager [Merge me after #521] - (Issues: #490) (#522) Refactor/fix state sync logs (#515) [P2P] KISS 2 - Peer discovery [Merge me after #520] - (Issues: #416, #429) (#521) [Core] KISS 1 - Finite State Machine [Merge me first] - (Issue: #499) (#520) [CLI] Stake command bugfix (#518) [CLI] Cannot run make localnet_client_debug: Cannot initialise the keybase with the validator keys: Unable to find YAML file (#517) Fix the link shown by `make go_doc` Fixed duplicate GITHUB_WIKI tag [Documentation] Update Devlog Formatting (#512) [Docs & Bugs] Minor fixes post keybase changes (#513) [Utility] Foundational bugs, tests, code cleanup and improvements (1 / 2) (#503) [Tooling] Integrate Keybase w/ CLI (Issue #484 ) (#501) update devlog2.md update devlog2.md Update devlog1.md
scope-creepy is my new favorite phrase haha |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Objective
Improve code-health and consistency of patterns
Origin Document
While developing #402 and #331 I had to inject some dependencies into the
P2P
module. This was our first use case in our codebase and the initial approach was indeed marked as aHACK
from the beginning but there was something missing that is now available via #425: the ability to register modules dynamically on thebus
instance, effectively enabling Dependency InjectionThis ticket was descoped from #425 which became quite large and scope-creepy:
#425 (comment)
Goals
CreateWithProviders
constructor and use the standardizedCreate
instead.AddrBookProvider
andCurrentHeightProvider
by registering them at the caller site and consuming them inside theP2P
Create()
Deliverable
P2P
moduleCreate
AddrBookProvider
andCurrentHeightProvider
Non-goals / Non-deliverables
P2P
logicGeneral issue deliverables
Testing Methodology
make ...
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: