You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support usage of the Peerstore interface type in (sub)module method signatures while preventing import cycles.
Origin Document
Observation made while working on #732 & #855. In order to complete the peerstore provider refactor as a submodule the Peerstore type needs to be moved to avoid creating an import cycle between the p2p/types package and the shared/modules package.
Goals
Avoid import cycle on Peerstore.
Deliverable
Move the Peerstore interface from p2p/types/peerstore.go to a shared/core/types (or similar / more appropriate)
Non-goals / Non-deliverables
Unrelated refactoring
General issue deliverables
Update the appropriate CHANGELOG(s)
Update any relevant local/global README(s)
Update relevant source code tree explanations
Add or update any relevant or supporting mermaid diagrams
Testing Methodology
All tests: make test_all
LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md
k8s LocalNet: verify a k8s LocalNet is still functioning correctly by following the instructions here
The text was updated successfully, but these errors were encountered:
bryanchriswhite
added
core
Core infrastructure - protocol related
p2p
P2P specific changes
triage
It requires some decision-making at team level (it can't be worked on as it stands)
labels
Jun 8, 2023
Objective
Support usage of the
Peerstore
interface type in (sub)module method signatures while preventing import cycles.Origin Document
Observation made while working on #732 & #855. In order to complete the peerstore provider refactor as a submodule the
Peerstore
type needs to be moved to avoid creating an import cycle between the p2p/types package and the shared/modules package.Goals
Peerstore
.Deliverable
Peerstore
interface from p2p/types/peerstore.go to a shared/core/types (or similar / more appropriate)Non-goals / Non-deliverables
General issue deliverables
Testing Methodology
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdk8s LocalNet
is still functioning correctly by following the instructions hereCreator: @bryanchriswhite
The text was updated successfully, but these errors were encountered: