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

refactor: exporting nodebuilder/header.InitStore, moving mock to nodebuilder/header #1515

Merged
merged 2 commits into from
Dec 22, 2022

Conversation

distractedm1nd
Copy link
Collaborator

Overview

Semi-old branch I forgot to open a PR for, that is related to #1458. Although we cannot fix the ugly error message without uber-go/fx#999, we can get rid of an ugly todo in a start hook.

This PR is purely a suggestion, and if the team doesn't like it we can just close it.

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Linked issues closed with keywords

Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

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

Very Nice! Suprised this idea didn't come when we introduced initStore. A bit concerned about it being public, but definitely worth it.

Requesting change to mock location

header/p2p/exchange_test.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants