-
Notifications
You must be signed in to change notification settings - Fork 198
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
chore(types): Cleanup unused types/funcs and expose Service Registry #2440
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2440 +/- ##
==========================================
- Coverage 32.36% 32.36% -0.01%
==========================================
Files 350 350
Lines 15592 15594 +2
Branches 20 20
==========================================
Hits 5047 5047
- Misses 10182 10184 +2
Partials 363 363
|
|
||
import "github.com/berachain/beacon-kit/errors" | ||
|
||
var ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
@@ -97,46 +91,15 @@ type ( | |||
/* -------------------------------------------------------------------------- */ | |||
|
|||
type ( | |||
// BeaconBlock type aliases. | |||
ConsensusBlock = consruntimetypes.ConsensusBlock | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
@@ -86,16 +86,6 @@ func (c Config) Template() string { | |||
return template.TomlTemplate | |||
} | |||
|
|||
// MustReadConfigFromAppOpts reads the configuration options from the given | |||
// application options. | |||
func MustReadConfigFromAppOpts(opts AppOptions) *Config { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only have a doubt around StartCmd
, other than that LGTM
89dcc5f
to
89b6ebd
Compare
89b6ebd
to
e2ceab3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
2f9f6cf
to
7e03572
Compare
This cleans up unused types and funcs, and exposes the Service Registry which allows us to fetch the various services such as Comet or Blockchain Service from the ABCI, which will support the future testing framework