-
Notifications
You must be signed in to change notification settings - Fork 103
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
chore: update go module versions #1646
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1646 +/- ##
==========================================
- Coverage 78.25% 73.03% -5.22%
==========================================
Files 266 228 -38
Lines 19772 13332 -6440
==========================================
- Hits 15472 9737 -5735
+ Misses 3419 2884 -535
+ Partials 881 711 -170
|
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.
Pre-approving with one small nit. I think we have an unnecessary replace directive in x/intertx/go.mod
@@ -126,4 +126,6 @@ require ( | |||
|
|||
replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 | |||
|
|||
replace github.com/regen-network/regen-ledger/types => ../../types | |||
replace github.com/regen-network/regen-ledger/api/v2 => ../../api |
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.
replace github.com/regen-network/regen-ledger/api/v2 => ../../api |
I don't see api/v2
anywhere in this g.mod, so I don't think we need the replace directive here.
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.
types imports api so we get the following if not included:
go: github.com/regen-network/regen-ledger/api/v2@v2.0.0: invalid version: unknown revision api/v2.0.0
because it can't find api/v2 (it doesn't exist yet)
(cherry picked from commit 18fbac7)
@@ -1,4 +1,4 @@ | |||
module github.com/regen-network/regen-ledger/api | |||
module github.com/regen-network/regen-ledger/api/v2 |
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.
Why was this done? This seems like a spurious go module major version bump. Were there actually breaking changes? I thought we weren't releasing breaking proto changes to production. With proper buf breaking checks, the api go.mod should never have been bumped past v1.
Description
This pull request updates app, api, types, data, and ecocredit go module versions to the latest major versions that will be tagged as part of the v5.0 release (app => v5, api => v2, types => v2, data => v2, ecocredit => v3).
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