Skip to content

Commit

Permalink
Bump golang version to v1.19 (#3947)
Browse files Browse the repository at this point in the history
* Update to go 1.19

* Bump dep

* update deps

* Update ibc hook

* Update main tag

* Update E2E to use 1.19

* Fix changelog error
  • Loading branch information
ValarDragon authored Jan 7, 2023
1 parent 49272a0 commit 6b715b0
Show file tree
Hide file tree
Showing 10 changed files with 1,513 additions and 41 deletions.
22 changes: 1 addition & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,30 +95,10 @@ Additionally, the swagger files for v13 have been updated to improve compatibili
* [#3712](https://github.com/osmosis-labs/osmosis/pull/3712) replace `osmomath.BigDec` `Power` with `PowerInteger`
* [#3711](https://github.com/osmosis-labs/osmosis/pull/3711) Use Dec instead of Int for additive `ErrTolerace` in `osmoutils`.

## v14.0.0
### Features
* [#3609](https://github.com/osmosis-labs/osmosis/pull/3609) Add Downtime-detection module.
* [#2788](https://github.com/osmosis-labs/osmosis/pull/2788) Add logarithm base 2 implementation.
* [#3693](https://github.com/osmosis-labs/osmosis/pull/3693) Add `EstimateSwapExactAmountOut` query to stargate whitelist
* [#3852](https://github.com/osmosis-labs/osmosis/pull/3852) GeometricTwap and GeometricTwapToNow queries added to Stargate whitelist.
* [#3812](https://github.com/osmosis-labs/osmosis/pull/3812) Add geometric option to TWAP cli.
* IBC features
* [#3838](https://github.com/osmosis-labs/osmosis/pull/3838)Upgrade to IBC v4.2.0
* Cosmwasm
* Upgrade to wasmd v0.30.x

### Bug fixes

* [#3608](https://github.com/osmosis-labs/osmosis/pull/3608) Make it possible to state export from any directory.

### Misc Improvements
* [#3678](https://github.com/osmosis-labs/osmosis/pull/3678) Add methods for cloning and mutative multiplication on osmomath.BigDec.
* [#3899](https://github.com/osmosis-labs/osmosis/pull/3899) Fixed osmoutils so its importable by chains that don't use the osmosis CosmosSDK fork
* [#3676](https://github.com/osmosis-labs/osmosis/pull/3676) Implement `PowerInteger` function on `osmomath.BigDec`
* [#3678](https://github.com/osmosis-labs/osmosis/pull/3678) Implement mutative `PowerIntegerMut` function on `osmomath.BigDec`.
* [#3708](https://github.com/osmosis-labs/osmosis/pull/3708) `Exp2` function to compute 2^decimal.
* [#3763](https://github.com/osmosis-labs/osmosis/pull/3763) Move binary search and error tolerance code from `osmoutils` into `osmomath`
* [#3771](https://github.com/osmosis-labs/osmosis/pull/3771) Move osmomath into its own go.mod
* [#3827](https://github.com/osmosis-labs/osmosis/pull/3827) Move osmoutils into its own go.mod

## v13.0.0

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.18"
ARG GO_VERSION="1.19"
ARG RUNNER_IMAGE="gcr.io/distroless/static-debian11"

# --------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ endif
###############################################################################

check_version:
ifneq ($(GO_MINOR_VERSION),18)
@echo "ERROR: Go version 1.18 is required for this version of Osmosis. Go 1.19 has changes that are believed to break consensus."
ifneq ($(GO_MINOR_VERSION),19)
@echo "ERROR: Go version 1.19 is required for this version of Osmosis."
exit 1
endif

Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/osmosis-labs/osmosis/v13

go 1.18
go 1.19

require (
github.com/CosmWasm/wasmd v0.30.0
Expand All @@ -17,9 +17,9 @@ require (
github.com/mattn/go-sqlite3 v1.14.16
github.com/ory/dockertest/v3 v3.9.1
github.com/osmosis-labs/go-mutesting v0.0.0-20221208041716-b43bcd97b3b3
github.com/osmosis-labs/osmosis/osmomath v0.0.0-20230105183030-bccf5202f260
github.com/osmosis-labs/osmosis/osmoutils v0.0.0-20230107103045-bd927ebeed7e
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230107103145-55fa2321dbd4
github.com/osmosis-labs/osmosis/osmomath v0.0.3-rc0
github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.5-rc0
github.com/pkg/errors v0.9.1
github.com/rakyll/statik v0.1.7
github.com/spf13/cast v1.5.0
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -853,12 +853,12 @@ github.com/osmosis-labs/cosmos-sdk v0.45.1-0.20221118211718-545aed73e94e h1:A3by
github.com/osmosis-labs/cosmos-sdk v0.45.1-0.20221118211718-545aed73e94e/go.mod h1:rud0OaBIuq3+qOqtwT4SR7Q7iSzRp7w41fjninTjfnQ=
github.com/osmosis-labs/go-mutesting v0.0.0-20221208041716-b43bcd97b3b3 h1:YlmchqTmlwdWSmrRmXKR+PcU96ntOd8u10vTaTZdcNY=
github.com/osmosis-labs/go-mutesting v0.0.0-20221208041716-b43bcd97b3b3/go.mod h1:lV6KnqXYD/ayTe7310MHtM3I2q8Z6bBfMAi+bhwPYtI=
github.com/osmosis-labs/osmosis/osmomath v0.0.0-20230105183030-bccf5202f260 h1:+EbINXzHQyDtHje2CND357A22H2zUpceTtwJClC9IAM=
github.com/osmosis-labs/osmosis/osmomath v0.0.0-20230105183030-bccf5202f260/go.mod h1:KrzYoNtnWUH75rj1XAsSR4nymlHFU7jeVOx7/1KMe0k=
github.com/osmosis-labs/osmosis/osmoutils v0.0.0-20230107103045-bd927ebeed7e h1:CV1wJzCnutpfqUE/OiwBv0b3mPQTAzpA8WPcvojuNxo=
github.com/osmosis-labs/osmosis/osmoutils v0.0.0-20230107103045-bd927ebeed7e/go.mod h1:K4de+n3DtLdueen98dOzaRXZvqMd8JvigL8O1xW445o=
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230107103145-55fa2321dbd4 h1:YsCGVv8R9DaxPXR8d8p2o+pPw7V5/MXw924TN177XaQ=
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230107103145-55fa2321dbd4/go.mod h1:wvVANZFT8i2pawEwZhxQJ40ngoWXXODv30UsHhA53m8=
github.com/osmosis-labs/osmosis/osmomath v0.0.3-rc0 h1:azr1ckcQcNJuZ/wmy0A/VxKdkYQPVaoUiIY/Rc8CPNc=
github.com/osmosis-labs/osmosis/osmomath v0.0.3-rc0/go.mod h1:HnjJrDohWYpshcYqB9eRRh9cV1j0q9SMeiW4FfhahbE=
github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0 h1:u91mXL0DbbQdLy95gCkLrM6cxya9b53fuiNkLO04KOE=
github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0/go.mod h1:rO4YKI0ZQkS3o4UDhFuQFy+j4eM/as8GLvuBDNBStkQ=
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.5-rc0 h1:lhOYhY1jk7AqnMn5+4U0gjVtPbiFDXx37Ga0p+G5gRg=
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.5-rc0/go.mod h1:xOjcodgukvc6ZgUtJHzkW9gM4mt/CE1PQpDc/nrB/0E=
github.com/osmosis-labs/wasmd v0.29.2-0.20221222131554-7c8ea36a6e30 h1:6uMi7HhPSwvKKU7j5NqljseFTEz4I7qHr+IPnnn42Ck=
github.com/osmosis-labs/wasmd v0.29.2-0.20221222131554-7c8ea36a6e30/go.mod h1:5fDYJyMXBq6u2iuHqqOTYiZ5NitIOeIW5k7qEXqbwJE=
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
Expand Down
Loading

0 comments on commit 6b715b0

Please sign in to comment.