Closed kehiy closed 1 year ago
@shazow @fjl @Shadowfiend @jmcnevin
The new defer makes sense and looks like it should resolve the linked issue (I didn't actually try it out yet).
The format change is nothing we want to include at the moment, because it increases the diff to the upstream geth version and will cause additional merge conflicts when updating to more recent upstream versions. The code is already formatted with gofmt, but with version 1.18 specifically to avoid this problem. You probably used a more recent gofmt version.
Thanks for the PR!
The new defer makes sense and looks like it should resolve the linked issue (I didn't actually try it out yet).
The format change is nothing we want to include at the moment, because it increases the diff to the upstream geth version and will cause additional merge conflicts when updating to more recent upstream versions. The code is already formatted with gofmt, but with version 1.18 specifically to avoid this problem. You probably used a more recent gofmt version.
Thanks for the PR!
is that going to be merged or not? only the connection part (if the formatting is not planned)
Patch coverage has no change and project coverage change: -0.03
:warning:
Comparison is base (
e10394d
) 55.31% compared to head (7fb7a0c
) 55.29%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
The tests succeed, the CI just seems to be unable to post a PR comment (I assume because the PR is made from a different repo).
yeah, maybe(?)
Coverage from tests in ./e2e_test/...
for ./consensus/istanbul/...
at commit e4359ea5c7f4bc5cfb679d9038bed21fbc7a82ec
coverage: 59.6% of statements in consensus/istanbul coverage: 40.5% of statements in consensus/istanbul/announce coverage: 54.5% of statements in consensus/istanbul/backend coverage: 0.0% of statements in consensus/istanbul/backend/backendtest coverage: 24.3% of statements in consensus/istanbul/backend/internal/replica coverage: 57.9% of statements in consensus/istanbul/core coverage: 45.0% of statements in consensus/istanbul/db coverage: 0.0% of statements in consensus/istanbul/proxy coverage: 64.4% of statements in consensus/istanbul/uptime coverage: 51.8% of statements in consensus/istanbul/validator coverage: 79.2% of statements in consensus/istanbul/validator/random
Test failures: | |
---|---|
TestPrecompileWrappers: e2e_test
|
Description
I added a missing defer in main function of node
Other changes
also i used go fmt command for make code structure clean
Related issues