-
Notifications
You must be signed in to change notification settings - Fork 410
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
Use replace statements to enforce consistent versioning. #692
Conversation
Codecov Report
@@ Coverage Diff @@
## master #692 +/- ##
==========================================
- Coverage 60.24% 60.21% -0.04%
==========================================
Files 48 48
Lines 5361 5361
==========================================
- Hits 3230 3228 -2
- Misses 1902 1903 +1
- Partials 229 230 +1
|
|
Yep, see the PR on wasmvm. That accounts for at least some of them. |
@ethanfrey if we cut a release of wasmvm tagged like beta3, I can try this out and see how many of the replaces I can remove from go.mod here. |
👍 Thanks for the PR. Nice findings. |
This likely isn't true, and I think stems from a misunderstanding of the meaning of entries in the go.sum file. Also, the replace directive isn't meant to be used as a way to pin versions, or to be long-lived, and it's not respected by downstream consumers. This PR should probably be reverted. |
Those replace statements just caused me confusion in another update PR. |
Hi, I think this is a potoentially serious issue.
Before this commit, there are versions of tm as early as 0.34.0 and sdk 0.42.5 and iavl 16 being imported into wasmd. After the replace statements are added, the versioning is consistent throughout the application, which ought to at the very least improve safety.
This also fixes CI. I think.