refactor: removed uncessary panics in zetaclientd process#2210
refactor: removed uncessary panics in zetaclientd process#2210
Conversation
|
!!!WARNING!!! Be very careful about using Only suppress a single rule (or a specific set of rules) within a section of code, while continuing to scan for other problems. To do this, you can list the rule(s) to be suppressed within the #nosec annotation, e.g: /* #nosec G401 */ or //#nosec G201 G202 G203 Pay extra attention to the way |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2210 +/- ##
===========================================
+ Coverage 68.07% 68.20% +0.12%
===========================================
Files 259 259
Lines 14982 14960 -22
===========================================
+ Hits 10199 10203 +4
+ Misses 4321 4298 -23
+ Partials 462 459 -3
|
lumtis
left a comment
There was a problem hiding this comment.
We have this test in zetacore_context:
assertPanic(t, func() {
zetaContext.GetBTCChainParams()
}, "BTCChain is missing for chainID 0")
Can't this be removed now? Do we still get panic on wrong Bitcoin params ?
skosito
left a comment
There was a problem hiding this comment.
looks good, just some minor comments
…r() and handle them in start.go
removed in 4286a09 |
Description
zetaclientdprocess, leaving the only one instart.gowhenzetaclientdfails to start telemetry server.ObserveInTxfunction of bitcoin.Closes: 2024
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: