Skip to content

Commit

Permalink
Merge pull request #490 from ava-labs/update-avalanchego-1.19.16
Browse files Browse the repository at this point in the history
Update avalanche go v1.19.16
  • Loading branch information
felipemadero authored Apr 6, 2023
2 parents 683acc4 + 4022c84 commit c7f4e94
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/ava-labs/avalanche-network-runner
go 1.19

require (
github.com/ava-labs/avalanchego v1.9.10
github.com/ava-labs/coreth v0.11.8-rc.3
github.com/ava-labs/avalanchego v1.9.16
github.com/ava-labs/coreth v0.11.9-rc.0
github.com/ethereum/go-ethereum v1.10.26
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.0
github.com/onsi/ginkgo/v2 v2.7.0
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/ava-labs/avalanchego v1.9.10 h1:IQYUruncY3yuKLwfbGXGslydTJQcjzLMtZuW8g5wQOY=
github.com/ava-labs/avalanchego v1.9.10/go.mod h1:nNc+4JCIJMaEt2xRmeMVAUyQwDIap7RvnMrfWD2Tpo8=
github.com/ava-labs/avalanchego v1.9.16 h1:JarxIn7gy4V9f1dBgUxubRRO6CrqY2MprOLGqEmk+Vg=
github.com/ava-labs/avalanchego v1.9.16/go.mod h1:Unm7ruhAvLSRP+7gIfwyHNf+wEehWLsFhY9yp10nDbw=
github.com/ava-labs/coreth v0.11.8-rc.3 h1:pS+OTFPc9edcFuCJIQGn5TdyAZncT9Hhs9jCcmm7+PM=
github.com/ava-labs/coreth v0.11.8-rc.3/go.mod h1:pc44yvJD4jTPIwkPI64pUXyJDvQ/UAqkbmhXOx78PXA=
github.com/ava-labs/coreth v0.11.9-rc.0 h1:7oK5DWtvDEMKEaduw/34r5kdwUssRsFszCl1FFUvvPc=
github.com/ava-labs/coreth v0.11.9-rc.0/go.mod h1:y41I9mWK04s8oObvQeYjkdoidtPhkPqV8prRPN6zrd4=
github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
Expand Down
3 changes: 1 addition & 2 deletions local/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/message"
"github.com/ava-labs/avalanchego/network/peer"
"github.com/ava-labs/avalanchego/proto/pb/p2p"
"github.com/ava-labs/avalanchego/staking"
"github.com/ava-labs/avalanchego/utils/constants"
"github.com/ava-labs/avalanchego/utils/ips"
Expand Down Expand Up @@ -232,7 +231,7 @@ func TestAttachPeer(t *testing.T) {
requestID := uint32(42)
chainID := constants.PlatformChainID
// create the Chits message
msg, err := mc.Chits(chainID, requestID, []ids.ID{}, containerIDs, p2p.EngineType_ENGINE_TYPE_AVALANCHE)
msg, err := mc.Chits(chainID, requestID, []ids.ID{}, containerIDs)
require.NoError(err)
// send chits to [node]
ok := p.Send(context.Background(), msg)
Expand Down
6 changes: 3 additions & 3 deletions scripts/tests.e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ if ! [[ "$0" =~ scripts/tests.e2e.sh ]]; then
exit 255
fi

DEFAULT_VERSION_1=1.9.7
DEFAULT_VERSION_2=1.9.6
DEFAULT_SUBNET_EVM_VERSION=0.4.8
DEFAULT_VERSION_1=1.9.16
DEFAULT_VERSION_2=1.9.15
DEFAULT_SUBNET_EVM_VERSION=0.4.12

if [ $# == 0 ]; then
VERSION_1=$DEFAULT_VERSION_1
Expand Down
3 changes: 1 addition & 2 deletions tests/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"github.com/ava-labs/avalanchego/api/admin"
"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/message"
"github.com/ava-labs/avalanchego/proto/pb/p2p"
avago_constants "github.com/ava-labs/avalanchego/utils/constants"
"github.com/ava-labs/avalanchego/utils/logging"
ginkgo "github.com/onsi/ginkgo/v2"
Expand Down Expand Up @@ -478,7 +477,7 @@ var _ = ginkgo.Describe("[Start/Remove/Restart/Add/Stop]", func() {
}
requestID := uint32(42)
chainID := avago_constants.PlatformChainID
msg, err := mc.Chits(chainID, requestID, []ids.ID{}, containerIDs, p2p.EngineType_ENGINE_TYPE_AVALANCHE)
msg, err := mc.Chits(chainID, requestID, []ids.ID{}, containerIDs)
gomega.Ω(err).Should(gomega.BeNil())

ctx, cancel = context.WithTimeout(context.Background(), 15*time.Second)
Expand Down

0 comments on commit c7f4e94

Please sign in to comment.