Repository navigation
feat: enable revive linter - #2232
Merged
Merged
Conversation
TestGenPrivKeySecp256k1
TestClientReplacesPrimaryWithWitnessIfPrimaryIsUnavailable
execAnsible function
This reverts commit ba108c6.
melekes
reviewed
Mar 13, 2024
| case spn.Right != nil: | ||
| innerHashes = append(innerHashes, spn.Right.Hash) | ||
| default: | ||
| break |
|
|
||
| select { | ||
| case <-ctx.Done(): | ||
| break |
Collaborator
|
@faddat please do not force-push again. otherwise it won't be possible to incrementally review changes |
Co-authored-by: Anton Kaliaev <[email protected]>
melekes
reviewed
Mar 18, 2024
|
|
||
| select { | ||
| case <-ctx.Done(): | ||
| break |
| switch err { | ||
| // no error means we move on to checking the hash of the two headers | ||
| case nil: | ||
| break |
| select { | ||
| case genCh <- struct{}{}: | ||
| case <-ctx.Done(): | ||
| break |
Co-authored-by: Anton Kaliaev <[email protected]>
Contributor
Author
|
An earlier version of this PR contained changes similar to what you made on the "confusing-results" linter. That method works too. |
melekes
approved these changes
Mar 18, 2024
melekes
added this pull request to the merge queue
Mar 18, 2024
mergify Bot
pushed a commit
that referenced
this pull request
Mar 18, 2024
This PR covers most of the linters mentioned in #2274. --- #### PR checklist - [x] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments - [x] Title follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec --------- Co-authored-by: Anton Kaliaev <[email protected]> Co-authored-by: Jacob Gadikian <[email protected]> (cherry picked from commit 9f457fc) # Conflicts: # internal/evidence/pool.go # internal/state/export_test.go # internal/state/store.go # light/store/db/db_key_layout.go # rpc/jsonrpc/server/http_server.go
2 of 4 tasks
Collaborator
|
@mergify backport v1.x |
Contributor
✅ Backports have been createdDetails
|
melekes
added a commit
that referenced
this pull request
Mar 18, 2024
This PR covers most of the linters mentioned in #2274. --- - [x] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments - [x] Title follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec --------- Co-authored-by: Anton Kaliaev <[email protected]> Co-authored-by: Jacob Gadikian <[email protected]>
melekes
added a commit
that referenced
this pull request
Mar 18, 2024
Manual backport of #2232 --------- Co-authored-by: Jacob Gadikian <[email protected]> Co-authored-by: Jacob Gadikian <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR covers most of the linters mentioned in #2274.
PR checklist
.changelog(we use unclog to manage our changelog)docs/orspec/) and code comments