Skip to content
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

backport 583 to v1.1.x #591

Merged
merged 4 commits into from
Dec 6, 2021
Merged

Conversation

crodriguezvega
Copy link
Contributor

Backport #583.

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@colin-axner
Copy link
Contributor

Hmm, this pr seems to be missing the .pb.go changes (which is what fixes the issue at hand)

@crodriguezvega
Copy link
Contributor Author

crodriguezvega commented Dec 3, 2021

Hmm, this pr seems to be missing the .pb.go changes (which is what fixes the issue at hand)

Hmm, the previous PR had those changes and it was not building, so I thought that they were not needed for v1.x... Ok, I guess the release will not go out today then until we figure this out...

This is the error I got:

modules/light-clients/07-tendermint/types/tendermint.pb.go:9:2: cannot find module providing package github.com/cosmos/ibc-go/v2/modules/core/02-client/types: import lookup disabled by -mod=readonly
modules/light-clients/07-tendermint/types/tendermint.pb.go:10:2: cannot find module providing package github.com/cosmos/ibc-go/v2/modules/core/23-commitment/types: import lookup disabled by -mod=readonly
make: *** [build] Error 1

I thought that maybe because the proto files were generated using the v2 that's why it was causing issues in the v1.x branches...

Is the solution to run make proto-gen again to regenerate the pb.go files?

cc: @marbar3778

@seantking
Copy link
Contributor

Hmm, this pr seems to be missing the .pb.go changes (which is what fixes the issue at hand)

Hmm, the previous PR had those changes and it was not building, so I thought that they were not needed for v1.x... Ok, I guess the release will not go out today then until we figure this out...

This is the error I got:

modules/light-clients/07-tendermint/types/tendermint.pb.go:9:2: cannot find module providing package github.com/cosmos/ibc-go/v2/modules/core/02-client/types: import lookup disabled by -mod=readonly
modules/light-clients/07-tendermint/types/tendermint.pb.go:10:2: cannot find module providing package github.com/cosmos/ibc-go/v2/modules/core/23-commitment/types: import lookup disabled by -mod=readonly
make: *** [build] Error 1

I thought that maybe because the proto files were generated using the v2 that's why it was causing issues in the v1.x branches...

Is the solution to run make proto-gen again to regenerate the pb.go files?

cc: @marbar3778

I had the same issue on the interchain-accounts repo when I took the latest changes from main. I set the buf.yaml to just ignore the files that have issues. Seems like linting is failing anyway.

@tac0turtle
Copy link
Member

not sure why the pb.go files are missing, but running go mod tidy may fix this

@crodriguezvega
Copy link
Contributor Author

This is the PR I opened with the pb.go changes from main, but then it was not building, so I thought I made a mistake during the backport and closed that PR and opened this one without those changes...

@colin-axner
Copy link
Contributor

Is the solution to run make proto-gen again to regenerate the pb.go files?

Correct. This worked for me on this branch

@crodriguezvega
Copy link
Contributor Author

Is the solution to run make proto-gen again to regenerate the pb.go files?

Correct. This worked for me on this branch

Thanks, @colin-axner. Will do that!

Copy link
Contributor

@colin-axner colin-axner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK .pb.go changes

@crodriguezvega crodriguezvega merged commit b5e1547 into release/v1.1.x Dec 6, 2021
@crodriguezvega crodriguezvega deleted the carlos/backport-583-v1.1.x branch December 6, 2021 14:35
CosmosCar pushed a commit to caelus-labs/ibc-go that referenced this pull request Nov 6, 2023
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.13.1/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants