diff --git a/.github/workflows/auto-generated-checker.yml b/.github/workflows/auto-generated-checker.yml index db42b6a4ae77..eb53ff4c5b83 100644 --- a/.github/workflows/auto-generated-checker.yml +++ b/.github/workflows/auto-generated-checker.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - uses: bufbuild/buf-setup-action@v1.26.1 - shell: bash @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - shell: bash run: scripts/mock.gen.sh @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - shell: bash run: go mod tidy diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index d59b80243a87..b2dad1c498b8 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - name: Set timeout on Windows # Windows UT run slower and need a longer timeout shell: bash diff --git a/.github/workflows/build-linux-binaries.yml b/.github/workflows/build-linux-binaries.yml index c571c3c198dd..dc1a358da550 100644 --- a/.github/workflows/build-linux-binaries.yml +++ b/.github/workflows/build-linux-binaries.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version @@ -81,7 +81,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version diff --git a/.github/workflows/build-macos-release.yml b/.github/workflows/build-macos-release.yml index 9b128216ac58..3699fc0b5e37 100644 --- a/.github/workflows/build-macos-release.yml +++ b/.github/workflows/build-macos-release.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version diff --git a/.github/workflows/build-public-ami.yml b/.github/workflows/build-public-ami.yml index 505f91c900b8..1e483ccd7f6a 100644 --- a/.github/workflows/build-public-ami.yml +++ b/.github/workflows/build-public-ami.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version diff --git a/.github/workflows/build-ubuntu-amd64-release.yml b/.github/workflows/build-ubuntu-amd64-release.yml index 86390bec8e83..bbb0cbd3f4a2 100644 --- a/.github/workflows/build-ubuntu-amd64-release.yml +++ b/.github/workflows/build-ubuntu-amd64-release.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version diff --git a/.github/workflows/build-ubuntu-arm64-release.yml b/.github/workflows/build-ubuntu-arm64-release.yml index b20dc13f7cbf..8d1ba4a2ea2e 100644 --- a/.github/workflows/build-ubuntu-arm64-release.yml +++ b/.github/workflows/build-ubuntu-arm64-release.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version diff --git a/.github/workflows/build-win-release.yml b/.github/workflows/build-win-release.yml index 362f43293608..c84767d4c87d 100644 --- a/.github/workflows/build-win-release.yml +++ b/.github/workflows/build-win-release.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - run: go version diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index b25d4e0f1d8d..7fa95a88e7f3 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - name: Run fuzz tests shell: bash diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 9208ab993b22..8510a693632c 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - name: Run static analysis tests shell: bash diff --git a/.github/workflows/test.e2e.persistent.yml b/.github/workflows/test.e2e.persistent.yml index 7f860a795671..d3448904d4c5 100644 --- a/.github/workflows/test.e2e.persistent.yml +++ b/.github/workflows/test.e2e.persistent.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - name: Build the avalanchego binary shell: bash diff --git a/.github/workflows/test.e2e.yml b/.github/workflows/test.e2e.yml index ba2d8de5f590..4e7c70ad8a11 100644 --- a/.github/workflows/test.e2e.yml +++ b/.github/workflows/test.e2e.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - name: Build the avalanchego binary shell: bash diff --git a/.github/workflows/test.upgrade.yml b/.github/workflows/test.upgrade.yml index 9d067412d34d..e564a51f5630 100644 --- a/.github/workflows/test.upgrade.yml +++ b/.github/workflows/test.upgrade.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '~1.20.8' + go-version: '~1.20.10' check-latest: true - name: Build the avalanchego binary shell: bash diff --git a/Dockerfile b/Dockerfile index 70fd694aa23a..f4e6c21441cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # README.md # go.mod # ============= Compilation Stage ================ -FROM golang:1.20.8-bullseye AS builder +FROM golang:1.20.10-bullseye AS builder WORKDIR /build # Copy and download avalanche dependencies using go mod diff --git a/README.md b/README.md index c75a21521cab..34230a00a3c0 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The minimum recommended hardware specification for nodes connected to Mainnet is If you plan to build AvalancheGo from source, you will also need the following software: -- [Go](https://golang.org/doc/install) version >= 1.20.8 +- [Go](https://golang.org/doc/install) version >= 1.20.10 - [gcc](https://gcc.gnu.org/) - g++ diff --git a/RELEASES.md b/RELEASES.md index 73e79cc8bda0..f69f1b698f9c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,86 @@ # Release Notes +## [v1.10.12](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.12) + +This version is backwards compatible to [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0). It is optional, but encouraged. + +The plugin version is unchanged at `28` and compatible with versions `v1.10.9 - v1.10.11`. + +### APIs + +- Added `avalanche_{chainID}_total_weight` metric +- Added `avalanche_{chainID}_num_validators` metric +- Added `avalanche_{chainID}_num_processing_ancestor_fetches_failed` metric +- Added `avalanche_{chainID}_num_processing_ancestor_fetches_dropped` metric +- Added `avalanche_{chainID}_num_processing_ancestor_fetches_succeeded` metric +- Added `avalanche_{chainID}_num_processing_ancestor_fetches_unneeded` metric +- Added `avalanche_{chainID}_num_missing_accepted_blocks` metric +- Added `avalanche_{chainID}_selected_vote_index_count` metric +- Added `avalanche_{chainID}_selected_vote_index_sum` metric + +### Configs + +- Added `--snow-preference-quorum-size` flag +- Added `--snow-confidence-quorum-size` flag +- Added `"fx-owner-cache-size"` to the P-chain config + +### Fixes + +- Fixed concurrent node shutdown and chain creation race +- Updated http2 implementation to patch CVE-2023-39325 +- Exited `network.dial` early to avoid goroutine leak when shutting down +- Reduced log level of `"failed to send peer list for handshake"` messages from `ERROR` to `DEBUG` +- Reduced log level of `"state pruning failed"` messages from `ERROR` to `WARN` + +### What's Changed + +- Add last accepted height to the snowman interface by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2091 +- Delete kurtosis CI jobs by @marun in https://github.com/ava-labs/avalanchego/pull/2068 +- e2e: Ensure all Issue* calls use the default context by @marun in https://github.com/ava-labs/avalanchego/pull/2069 +- Remove Finalized from the consensus interface by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2093 +- Remove embedding of `verify.Verifiable` in `FxCredential` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/2089 +- Clarify decidable interface simple default parameter tests by @gyuho in https://github.com/ava-labs/avalanchego/pull/2094 +- snow/consensus/snowman/poll: remove "unused" no early term poller by @gyuho in https://github.com/ava-labs/avalanchego/pull/2095 +- Cleanup `.golangci.yml` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/2097 +- Refactor `ancestor.Tree` by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2099 +- Update AMI runner image and instance type by @charlie-ava in https://github.com/ava-labs/avalanchego/pull/1939 +- Add `tagalign` linter by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/2084 +- Fix flaky BuildBlockIsIdempotent test by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2101 +- Make `network.dial` honor context cancellation. by @danlaine in https://github.com/ava-labs/avalanchego/pull/2061 +- Add preference lookups by height to the consensus interface by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2092 +- Remove duplicate pullQuery method by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2103 +- Add additional validator set metrics by @aaronbuchwald in https://github.com/ava-labs/avalanchego/pull/2051 +- Remove `snowball.Initialize` and `snowball.Factory` by @danlaine in https://github.com/ava-labs/avalanchego/pull/2104 +- Remove initialize functions from the snowball package by @danlaine in https://github.com/ava-labs/avalanchego/pull/2105 +- Remove `genesis.State` by @joshua-kim in https://github.com/ava-labs/avalanchego/pull/2112 +- add `SetSubnetOwner` to `Chain` interface by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/2031 +- Move vote bubbling before poll termination by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2100 +- testing: Switch upgrade test to testnet fixture by @marun in https://github.com/ava-labs/avalanchego/pull/1887 +- Reduce archivedb key lengths by 1 byte by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2113 +- Cleanup uptime manager constructor by @abi87 in https://github.com/ava-labs/avalanchego/pull/2118 +- MerkleDB Compact Path Bytes by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/2010 +- MerkleDB Path changes cleanup by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/2120 +- Fix consensus engine interface comments by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2115 +- Standardize consensus variable names in tests by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2129 +- Prevent bytesNeeded overflow by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2130 +- Migrate xsvm from github.com/ava-labs/xsvm by @marun in https://github.com/ava-labs/avalanchego/pull/2045 +- Fix handling of wg in the networking dial test by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2132 +- Update go.mod and add update check by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2133 +- Reduce log level of failing to send a peerList message by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2134 +- RPCChainVM fail-fast health RPCs by @hexfusion in https://github.com/ava-labs/avalanchego/pull/2123 +- MerkleDB allow warming node cache by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/2128 +- Add vote bubbling metrics by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2138 +- Reduce log level of an error during Prune by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2141 +- Exit chain creation routine before shutting down chain router by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2140 +- Merkle db fix type cast bug by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/2142 +- Add Warp Payload Types by @nytzuga in https://github.com/ava-labs/avalanchego/pull/2116 +- Add height voting for chits by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2102 +- Add Heap Queue by @joshua-kim in https://github.com/ava-labs/avalanchego/pull/2135 +- Add additional payload.Hash examples by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2145 +- Split Alpha into AlphaPreference and AlphaConfidence by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/2125 + +**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.10.11...v1.10.12 + ## [v1.10.11](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.11) This version is backwards compatible to [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0). It is optional, but encouraged. diff --git a/api/server/server.go b/api/server/server.go index 731c46763320..8522a208534d 100644 --- a/api/server/server.go +++ b/api/server/server.go @@ -22,6 +22,8 @@ import ( "go.uber.org/zap" + "golang.org/x/net/http2" + "github.com/ava-labs/avalanchego/api" "github.com/ava-labs/avalanchego/ids" "github.com/ava-labs/avalanchego/snow" @@ -31,7 +33,10 @@ import ( "github.com/ava-labs/avalanchego/utils/logging" ) -const baseURL = "/ext" +const ( + baseURL = "/ext" + maxConcurrentStreams = 64 +) var ( errUnknownLockOption = errors.New("invalid lock options") @@ -141,6 +146,20 @@ func New( handler = wrapper.WrapHandler(handler) } + httpServer := &http.Server{ + Handler: handler, + ReadTimeout: httpConfig.ReadTimeout, + ReadHeaderTimeout: httpConfig.ReadHeaderTimeout, + WriteTimeout: httpConfig.WriteTimeout, + IdleTimeout: httpConfig.IdleTimeout, + } + err = http2.ConfigureServer(httpServer, &http2.Server{ + MaxConcurrentStreams: maxConcurrentStreams, + }) + if err != nil { + return nil, err + } + log.Info("API created", zap.Strings("allowedOrigins", allowedOrigins), ) @@ -153,14 +172,8 @@ func New( tracer: tracer, metrics: m, router: router, - srv: &http.Server{ - Handler: handler, - ReadTimeout: httpConfig.ReadTimeout, - ReadHeaderTimeout: httpConfig.ReadHeaderTimeout, - WriteTimeout: httpConfig.WriteTimeout, - IdleTimeout: httpConfig.IdleTimeout, - }, - listener: listener, + srv: httpServer, + listener: listener, }, nil } diff --git a/go.mod b/go.mod index fd3f1e144537..4e18510a305d 100644 --- a/go.mod +++ b/go.mod @@ -56,10 +56,11 @@ require ( go.uber.org/goleak v1.2.1 go.uber.org/mock v0.2.0 go.uber.org/zap v1.24.0 - golang.org/x/crypto v0.1.0 + golang.org/x/crypto v0.14.0 golang.org/x/exp v0.0.0-20230206171751-46f607a40771 + golang.org/x/net v0.17.0 golang.org/x/sync v0.1.0 - golang.org/x/term v0.7.0 + golang.org/x/term v0.13.0 golang.org/x/time v0.0.0-20220922220347-f3bd1da661af gonum.org/v1/gonum v0.11.0 google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 @@ -141,9 +142,8 @@ require ( go.opentelemetry.io/proto/otlp v0.19.0 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.8.0 // indirect - golang.org/x/net v0.8.0 // indirect - golang.org/x/sys v0.8.0 // indirect - golang.org/x/text v0.8.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index 914507ff2a20..9fe68d7800d4 100644 --- a/go.sum +++ b/go.sum @@ -685,8 +685,8 @@ golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.1.0 h1:MDRAIl0xIo9Io2xV565hzXHw3zVseKrJKodhohM5CjU= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -771,8 +771,8 @@ golang.org/x/net v0.0.0-20211008194852-3b03d305991f/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -866,12 +866,12 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.7.0 h1:BEvjmm5fURWqcfbSKTdpkDXYBrUS1c0m8agp14W48vQ= -golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -882,8 +882,8 @@ golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= -golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/scripts/build_avalanche.sh b/scripts/build_avalanche.sh index 515095f7c526..1db63eb946f4 100755 --- a/scripts/build_avalanche.sh +++ b/scripts/build_avalanche.sh @@ -27,7 +27,7 @@ done # Dockerfile # README.md # go.mod -go_version_minimum="1.20.8" +go_version_minimum="1.20.10" go_version() { go version | sed -nE -e 's/[^0-9.]+([0-9.]+).+/\1/p' diff --git a/version/compatibility.json b/version/compatibility.json index 1f500a1497e5..3588566a55aa 100644 --- a/version/compatibility.json +++ b/version/compatibility.json @@ -2,7 +2,8 @@ "28": [ "v1.10.9", "v1.10.10", - "v1.10.11" + "v1.10.11", + "v1.10.12" ], "27": [ "v1.10.5", diff --git a/version/constants.go b/version/constants.go index 11aad9dbe7ec..2dd8db352d6e 100644 --- a/version/constants.go +++ b/version/constants.go @@ -21,7 +21,7 @@ var ( Current = &Semantic{ Major: 1, Minor: 10, - Patch: 11, + Patch: 12, } CurrentApp = &Application{ Major: Current.Major,