Skip to content

Commit

Permalink
Merge branch 'main' into adam/display
Browse files Browse the repository at this point in the history
  • Loading branch information
toteki authored Sep 25, 2023
2 parents 0ef0011 + 9c1f366 commit 85177c7
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

### Improvements

- [2261](https://github.com/umee-network/umee/pull/2261) Use go 1.21

### Bug Fixes

- [2260](https://github.com/umee-network/umee/pull/2260) fix(oracle): avg params storage.
Expand Down
4 changes: 2 additions & 2 deletions contrib/images/umee.e2e-static.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Creates static binaries, by building from the latest version of:
# umeed, price-feeder.

FROM golang:1.20-alpine AS builder
FROM golang:1.21-alpine3.18 AS builder
ENV PACKAGES make git gcc linux-headers build-base curl
RUN apk add --no-cache $PACKAGES

Expand All @@ -25,7 +25,7 @@ RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make install && \


## Prepare the final clear binary
FROM alpine:latest
FROM alpine:3.18
EXPOSE 26656 26657 1317 9090 7171
ENTRYPOINT ["umeed", "start"]

Expand Down
2 changes: 1 addition & 1 deletion contrib/images/umee.e2e.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Docker for e2e testing
# Creates dynamic binaries, by building from the latest version of umeed

FROM golang:1.20-bookworm AS builder
FROM golang:1.21-bookworm AS builder
ARG EXPERIMENTAL=true

## Download go module dependencies for umeed
Expand Down
2 changes: 1 addition & 1 deletion contrib/images/umeed.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Stage-1: build
# We use Debian Bullseye rather then Alpine because Alpine has problem building libwasmvm
# - requires to download libwasmvm_muslc from external source. Build with glibc is straightforward.
FROM golang:1.20-bookworm AS builder
FROM golang:1.21-bookworm AS builder

WORKDIR /src/
# optimization: if go.sum didn't change, docker will use cached image
Expand Down
2 changes: 1 addition & 1 deletion contrib/scripts/go-mod-tidy-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ set -euo pipefail
for modfile in $(find . -name go.mod); do
echo "Updating $modfile"
DIR=$(dirname $modfile)
(cd $DIR; go mod tidy --compat=1.20)
(cd $DIR; go mod tidy --compat=1.21)
done
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/umee-network/umee/v6

go 1.20
go 1.21

require (
cosmossdk.io/errors v1.0.0
Expand Down
36 changes: 36 additions & 0 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/e2e/docker/gaia.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine
FROM golang:1.21-alpine
ARG GAIA_VERSION=v5.0.7

ENV PACKAGES curl make git libc-dev bash gcc linux-headers
Expand Down

0 comments on commit 85177c7

Please sign in to comment.