Skip to content
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

reorganizing p2p and backfill service registration for consistency #14640

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Nov 14, 2024

What type of PR is this?

Other

What does this PR do? Why is it needed?

P2P and backfill service registrations aren't starting in the right spots, these services are not started at the time of registration so they should probably be moved.

Which issues(s) does this PR fix?

Fixes #

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@james-prysm james-prysm added the Cleanup Code health! label Nov 14, 2024
@james-prysm james-prysm marked this pull request as ready for review November 14, 2024 19:24
@james-prysm james-prysm requested a review from a team as a code owner November 14, 2024 19:24
@james-prysm james-prysm marked this pull request as draft November 15, 2024 20:09
@james-prysm james-prysm marked this pull request as ready for review November 15, 2024 20:11
beacon-chain/node/node.go Outdated Show resolved Hide resolved
@@ -1136,6 +1130,16 @@ func (b *BeaconNode) registerBuilderService(cliCtx *cli.Context) error {
return b.services.RegisterService(svc)
}

func (b *BeaconNode) RegisterBackFillService(cliCtx *cli.Context, bfs *backfill.Store) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Backfill" is one word. This should be written RegisterBackfillService.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cleanup Code health!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants