-
Notifications
You must be signed in to change notification settings - Fork 373
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
Running go vet
on the project fails.
#2954
Labels
🐞 bug
Something isn't working
in focus
Core team is prioritizing this work
📦 🌐 tendermint v2
Issues or PRs tm2 related
📦 ⛰️ gno.land
Issues or PRs gno.land package related
📦 🤖 gnovm
Issues or PRs gnovm related
Comments
mvertes
added
🐞 bug
Something isn't working
📦 🤖 gnovm
Issues or PRs gnovm related
📦 🌐 tendermint v2
Issues or PRs tm2 related
📦 ⛰️ gno.land
Issues or PRs gno.land package related
labels
Oct 15, 2024
thehowl
pushed a commit
that referenced
this issue
Oct 15, 2024
<!-- please provide a detailed description of the changes made in this pull request. --> Passing `go vet` is the minimum level of code quality for a go project. This is addressed here for the full mono-repo. Mainly trivial changes, except for a few `copy lock` issues which could be more meaningful (kept for a separate pull request). Addresses #2954 (but not sufficient to close it yet). Hint for reviewers: it's easier to review each commit individually. <details><summary>Contributors' checklist...</summary> - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details>
mvertes
added a commit
to mvertes/gno
that referenced
this issue
Oct 18, 2024
Avoid copying of Mutex at several places. Add missing lock / unlock calls. Improve test coverage for protobuf timestamp and duration. `go vet` doesn't complain anymore on Mutex copy. Addresses gnolang#2954.
2 tasks
thehowl
pushed a commit
that referenced
this issue
Oct 21, 2024
Avoid copying of Mutex at several places. Add missing lock / unlock calls. Improve test coverage for protobuf timestamp and duration. `go vet` doesn't complain anymore on Mutex copy. Addresses #2954. <!-- please provide a detailed description of the changes made in this pull request. --> <details><summary>Contributors' checklist...</summary> - [*] Added new tests, or not needed, or not feasible - [*] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [*] Updated the official documentation or not needed - [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [*] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests </details>
mvertes
added a commit
to mvertes/gno
that referenced
this issue
Oct 22, 2024
…aces amino codec.MarshallJSON has the same method name than Go standard library `json.Marshaler` interface but with a different signature. This is rejected by `go vet`. The same applies for codec.UnmarshallJSON vs `json.Unmarshaler`. To fix that, we rename codec.MarshalJSON to codec.JSONMarshal and codec.UnmarshalJSON to codec.JSONUnmarshal. Now `go vet ./...' pass on the full mono-repo. Fixes gnolang#2954.
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🐞 bug
Something isn't working
in focus
Core team is prioritizing this work
📦 🌐 tendermint v2
Issues or PRs tm2 related
📦 ⛰️ gno.land
Issues or PRs gno.land package related
📦 🤖 gnovm
Issues or PRs gnovm related
Description
The text was updated successfully, but these errors were encountered: