Skip to content

Commit

Permalink
Upgrade GO to 1.17 and hedera-sdk to v2.17.7 (#764)
Browse files Browse the repository at this point in the history
* Upgrade GO to 1.17 and hedera-sdk to v2.17.7

* update github workflow

* update github workflow timeout for e2e tests

* update testify version to fix a known issue



Signed-off-by: Stanislav Viyachev <[email protected]>
  • Loading branch information
Coiling-Dragon authored Nov 16, 2022
1 parent 8ba55ec commit 1fa70be
Show file tree
Hide file tree
Showing 6 changed files with 518 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/setup-go@v2
name: Setup GO Env
with:
go-version: '1.13'
go-version: '1.17'
- name: Cache Go modules
uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/setup-go@v2
name: Setup GO Env
with:
go-version: '1.13'
go-version: '1.17'
- name: Cache Go Test modules
uses: actions/cache@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-go@v2
name: Setup GO Env
with:
go-version: '1.13'
go-version: '1.17'
- name: Cache Go E2E Test modules
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
echo "${{ secrets.E2E_TEST_CONFIG }}" > ./e2e/setup/application.yml
echo "${{ secrets.E2E_BRIDGE_CONFIG }}" > ./e2e/setup/bridge.yml
- name: Run E2E Tests
run: go test ./e2e/ -timeout 2000s # 25 minutes
run: go test ./e2e/ -timeout 3000s # 50 minutes
- name: Prepare container logs
if: ${{ always() }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13 as build
FROM golang:1.17 as build
WORKDIR /tmp/src/hedera-eth-bridge-validator
COPY . .
RUN go build -o main ./cmd
Expand Down
62 changes: 56 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,26 +1,76 @@
module github.com/limechain/hedera-eth-bridge-validator

go 1.13
go 1.17

require (
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/caarlos0/env/v6 v6.4.0
github.com/dariubs/percent v1.0.0
github.com/ethereum/go-ethereum v1.10.17
github.com/ethereum/go-ethereum v1.10.25
github.com/go-chi/chi v4.1.2+incompatible
github.com/go-chi/render v1.0.1
github.com/gookit/event v1.0.6
github.com/hashgraph/hedera-sdk-go/v2 v2.15.0
github.com/hashgraph/hedera-sdk-go/v2 v2.17.7
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.0.0
github.com/rs/cors v1.7.0
github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc
github.com/sirupsen/logrus v1.4.2
github.com/stretchr/testify v1.7.1
github.com/stretchr/testify v1.7.5
github.com/ybbus/httpretry v1.0.1
golang.org/x/net v0.0.0-20210907225631-ff17edfbf26d
google.golang.org/protobuf v1.26.1-0.20210525005349-febffdd88e85
golang.org/x/net v0.0.0-20220919232410-f2f64ebce3c1
google.golang.org/protobuf v1.28.1
gopkg.in/yaml.v2 v2.4.0
gorm.io/driver/postgres v1.0.5
gorm.io/gorm v1.20.6
)

require (
github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
github.com/beorn7/perks v1.0.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.2.1 // indirect
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/go-ole/go-ole v1.2.1 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashgraph/hedera-protobufs-go v0.2.1-0.20220831114249-138cd7171d62 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.7.0 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.0.5 // indirect
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
github.com/jackc/pgtype v1.5.0 // indirect
github.com/jackc/pgx/v4 v4.9.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.1 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect
github.com/prometheus/common v0.6.0 // indirect
github.com/prometheus/procfs v0.0.2 // indirect
github.com/rjeczalik/notify v0.9.1 // indirect
github.com/rs/zerolog v1.28.0 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/stretchr/objx v0.4.0 // indirect
github.com/tklauser/go-sysconf v0.3.5 // indirect
github.com/tklauser/numcpus v0.2.2 // indirect
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 // indirect
golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51 // indirect
google.golang.org/grpc v1.49.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 1fa70be

Please sign in to comment.