Skip to content

Commit

Permalink
Merge pull request #212 from bandprotocol/patch-ibc-v3
Browse files Browse the repository at this point in the history
Update Go and IBC version
  • Loading branch information
taobun authored Jul 12, 2022
2 parents 25e7141 + 7b0b130 commit e5cf2f3
Show file tree
Hide file tree
Showing 29 changed files with 1,412 additions and 1,036 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: "1.16.7"
go-version: '1.18.3'

- name: Install Wabt (wat2wasm)
run: |
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:1.16.9-buster
FROM golang:1.18.3-buster

WORKDIR /chain
COPY . /chain
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,19 @@ test:
### Protobuf ###
###############################################################################

PROTO_BUILDER_IMAGE=tendermintdev/sdk-proto-gen@sha256:372dce7be2f465123e26459973ca798fc489ff2c75aeecd814c0ca8ced24faca
PROTO_FORMATTER_IMAGE=tendermintdev/docker-build-proto@sha256:aabcfe2fc19c31c0f198d4cd26393f5e5ca9502d7ea3feafbfe972448fee7cae

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

proto-gen:
@echo "Generating Protobuf files"
$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace tendermintdev/sdk-proto-gen sh ./scripts/protocgen.sh
$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(PROTO_BUILDER_IMAGE) sh ./scripts/protocgen.sh

proto-format:
@echo "Formatting Protobuf files"
$(DOCKER) run --rm -v $(CURDIR):/workspace \
--workdir /workspace tendermintdev/docker-build-proto \
--workdir /workspace $(PROTO_FORMATTER_IMAGE) \
find ./ -not -path "./third_party/*" -name *.proto -exec clang-format -i {} \;

# This generates the SDK's custom wrapper for google.protobuf.Any. It should only be run manually when needed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ We recommend the following for running a BandChain Validator:

**Step 1. Install Golang**

Go v1.16+ or higher is required for BandChain.
Go v1.18+ or higher is required for BandChain.

If you haven't already, install Golang by following the [official docs](https://golang.org/doc/install). Make sure that your GOPATH and GOBIN environment variables are properly set up.

Expand All @@ -76,7 +76,7 @@ server_name: bandd
version: 2.3.0
commit: 4fe19638b33043eed4dec9861cda40962fb5b2a7
build_tags: ledger
go: go version go1.16.7 darwin/amd64
go: go version go1.18.3 darwin/amd64
build_deps:
...
```
Expand Down
Loading

0 comments on commit e5cf2f3

Please sign in to comment.