Skip to content

Commit

Permalink
Collin/sdk 0.47 (#303)
Browse files Browse the repository at this point in the history
* Update dependencies

* WIP - 0.47 upgrade work

* WIP - Remove removed AppModule methods

* WIP - Debugging app setup

* WIP - grpc issue

* Go version changes in Dockerfile and toolchain

* Fixed gRPC issue

* Fix auction test

* Working axelarcork test

* Fix scheduled cork test

* Passing pubsub test

* Fix app_test.go

* WIP - Broken unit tests

* Update CI go version
  • Loading branch information
cbrit authored May 7, 2024
1 parent 2f1f8c2 commit 86340b6
Show file tree
Hide file tree
Showing 126 changed files with 2,621 additions and 1,673 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
packages: write
runs-on: ubuntu-20.04
steps:
- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.22
- name: checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
Expand Down Expand Up @@ -128,10 +128,10 @@ jobs:
"Pubsub",
]
steps:
- name: Set up Go 1.19
- name: Set up Go 1.22
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: 1.22
- name: checkout
uses: actions/checkout@v2
- name: go-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.22
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: '1.19'
go-version: '1.22'

- run: echo ":rocket::rocket::rocket:" > ../release_notes.md
if: startsWith(github.ref, 'refs/tags/')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.19]
go-version: [1.22]
os: [ubuntu-latest]
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine AS build-env
FROM golang:1.22.2-alpine AS build-env

RUN apk add --no-cache curl make git libc-dev bash gcc linux-headers eudev-dev python3

Expand Down
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,17 @@ test-docker-push: test-docker
###############################################################################
### Protobuf ###
###############################################################################

PROTO_BUILD_IMAGE=ghcr.io/cosmos/proto-builder:0.8
protoVer=0.13.1
protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer)
protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName)

proto-all: proto-format proto-lint proto-gen

proto-gen:
@echo "Generating Protobuf files"
$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(PROTO_BUILD_IMAGE) sh ./scripts/protocgen.sh
# todo: figure out why this old method was failing
# $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace tendermintdev/sdk-proto-gen:v0.1 sh ./contrib/local/protocgen.sh
@$(protoImage) sh ./scripts/protocgen.sh

proto-format:
@echo "Formatting Protobuf files"
Expand Down Expand Up @@ -364,6 +367,9 @@ e2e_build_images: e2e_clean_slate
e2e_clean_slate:
@./clean_slate.sh

e2e_test: e2e_clean_slate
@E2E_SKIP_CLEANUP=true integration_tests/integration_tests.test -test.failfast -test.v -test.run IntegrationTestSuite || make -s fail

e2e_basic: e2e_clean_slate
@integration_tests/integration_tests.test -test.run TestBasicChain -test.failfast -test.v || make -s fail

Expand Down
Loading

0 comments on commit 86340b6

Please sign in to comment.