-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix: go install cosmovisor v1.1.+ #11212
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11212 +/- ##
==========================================
- Coverage 66.04% 66.00% -0.04%
==========================================
Files 666 671 +5
Lines 69238 69118 -120
==========================================
- Hits 45730 45624 -106
+ Misses 20827 20819 -8
+ Partials 2681 2675 -6
|
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.
I would prefer to find a better solution than reverting the change.
We didn't want to copy the expected struct between the packages, and rather import it from the x/upgrade
package.
Moreover there are new changes coming which require to import x/upgrade
.
if we want to support go install then the only workaround I see is to copy the generated go file into cosmovisor. this way its not manual duplication but auto generated |
Any module which will be imported by other modules cannot effectively use |
@alexanderbez @AmauryM @aaronc would like to hear from you guys here. Not having go install work is a pain for many node operators. Id like to duplicate the code until the fix lands since the fix timeline is unknown |
I agree @marbar3778. Having However, I'm not really privy to the core of the issue here though. Can someone summarize so I could perhaps provide some feedback? Is there a proposed solution that prevents reverting but also allows |
I think we can remove the replace. I've started a PR: #11218 |
I think the right solution would be to consistently use regen gogo proto fork without using the replace. |
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.
We can make this as a temporal fix. But we still need a solution for #10378
Exactly. @aaronc just shared it with me. I also wrote about this idea yesterday: #11212 (comment). We can handle it in our team. |
should I close this or can we merge it? I think the fix of renaming the generated code will take a bit of time, id rather have go install working now for users. |
we started working on it. |
Description
reverts #10442 as it breaks go install.
closes #11199
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change