-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
linters: enable stylecheck #4153
Conversation
p2p/conn/secret_connection.go
Outdated
var _, err1 = cdc.MarshalBinaryLengthPrefixedWriter(conn, locEphPub) | ||
if err1 != nil { | ||
return nil, err1, true // abort | ||
return nil, false, err1 // abort |
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.
!!!!!!!!!!!!!!!!!!!
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.
TODO: create an issue because tests weren't failing
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.
Codecov Report
@@ Coverage Diff @@
## master #4153 +/- ##
==========================================
+ Coverage 66.68% 66.69% +0.01%
==========================================
Files 247 247
Lines 21221 21221
==========================================
+ Hits 14151 14154 +3
+ Misses 6010 6008 -2
+ Partials 1060 1059 -1
|
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.
@@ -45,6 +45,7 @@ program](https://hackerone.com/tendermint). | |||
- Go API | |||
- [libs/pubsub] [\#4070](https://github.com/tendermint/tendermint/pull/4070) `Query#(Matches|Conditions)` returns an error. | |||
- [rpc/client] \#3471 `Validators` now requires two more args: `page` and `perPage` | |||
- [libs/common] \#3262 Make error the last parameter of `Task` (@PSalant726) |
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.
also cryptoAmino rename.
Also I thought I saw some XYZError
get renamed to ErrXYZ
but I can't find it now and not sure it was even in a package covered by our versioning
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.
also cryptoAmino rename.
how's this breaking? I am not even sure it's worth mentioning in the changelog
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.
isn't it a change in package name?
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.
imo it's only breaking if you rename the folder
Client code uses the package path when importing the package. By convention, the last element of the package path is the package name
#3961
This PR repairs linter errors seen when running the following command:
golangci-lint run --no-config --disable-all=true --enable=stylecheck
Contributes to #3262
Updated all relevant documentation in docsUpdated all code comments where relevantWrote tests