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: changing nodebuilder/<pkg>/service.go to <pkg>.go #1301

Merged
merged 4 commits into from
Nov 25, 2022

Conversation

distractedm1nd
Copy link
Collaborator

@distractedm1nd distractedm1nd commented Oct 31, 2022

Closes #1278

@distractedm1nd distractedm1nd self-assigned this Oct 31, 2022
@distractedm1nd distractedm1nd changed the title feat(wip): client wrapper refactor: changing nodebuilder/<pkg>/service.go to <pkg>.go Nov 1, 2022
api/docgen/cmd/docgen.go Outdated Show resolved Hide resolved
api/docgen/examples.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Nov 17, 2022

Codecov Report

Merging #1301 (ba66974) into main (b4a8145) will increase coverage by 0.02%.
The diff coverage is 86.04%.

@@            Coverage Diff             @@
##             main    #1301      +/-   ##
==========================================
+ Coverage   55.28%   55.30%   +0.02%     
==========================================
  Files         180      181       +1     
  Lines       10904    10962      +58     
==========================================
+ Hits         6028     6063      +35     
- Misses       4276     4298      +22     
- Partials      600      601       +1     
Impacted Files Coverage Δ
nodebuilder/core/constructors.go 100.00% <ø> (ø)
nodebuilder/das/constructors.go 75.00% <ø> (ø)
nodebuilder/gateway/constructors.go 0.00% <ø> (ø)
nodebuilder/header/service.go 57.14% <ø> (ø)
share/empty.go 100.00% <ø> (ø)
nodebuilder/header/constructors.go 71.42% <71.42%> (ø)
nodebuilder/p2p/p2p.go 85.18% <85.18%> (ø)
api/rpc/client/client.go 78.57% <100.00%> (+0.79%) ⬆️
nodebuilder/p2p/flags.go 67.46% <100.00%> (ø)
nodebuilder/p2p/host.go 90.90% <100.00%> (+9.65%) ⬆️
... and 12 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@derrandz derrandz left a comment

Choose a reason for hiding this comment

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

Just a nit, and a few questions, and discussion openers.

api/docgen/openrpc.go Outdated Show resolved Hide resolved
nodebuilder/header/constructors.go Show resolved Hide resolved
nodebuilder/share/share.go Outdated Show resolved Hide resolved
@distractedm1nd
Copy link
Collaborator Author

Tests are failing (new races) but they are unrelated

Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

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

one last comment

nodebuilder/share/share.go Outdated Show resolved Hide resolved
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.

LGTM, but let's keep those constructors private

nodebuilder/share/constructors.go Outdated Show resolved Hide resolved
@distractedm1nd distractedm1nd merged commit 95907f4 into celestiaorg:main Nov 25, 2022
@Wondertan Wondertan deleted the service-filenames branch November 25, 2022 12:47
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.

Rename nodebuilder/<pkg>/service.go files to respective package name
6 participants