Skip to content

Commit

Permalink
Update versions for v1.12.1 (#3607)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Dec 17, 2024
1 parent 0ae6f7c commit a69772f
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 33 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,21 +117,20 @@ jobs:
- name: Build AvalancheGo Binary
shell: bash
run: ./scripts/build.sh
# TODO: Reactivate test once v1.12.0 is published
# - name: Run e2e tests
# uses: ./.github/actions/run-monitored-tmpnet-cmd
# with:
# run: ./scripts/tests.upgrade.sh
# filter_by_owner: avalanchego-e2e
# prometheus_id: ${{ secrets.PROMETHEUS_ID || '' }}
# prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
# loki_id: ${{ secrets.LOKI_ID || '' }}
# loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
# - name: Upload tmpnet network dir
# uses: ./.github/actions/upload-tmpnet-artifact
# if: always()
# with:
# name: upgrade-tmpnet-data
- name: Run e2e tests
uses: ./.github/actions/run-monitored-tmpnet-cmd
with:
run: ./scripts/tests.upgrade.sh
filter_by_owner: avalanchego-e2e
prometheus_id: ${{ secrets.PROMETHEUS_ID || '' }}
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
loki_id: ${{ secrets.LOKI_ID || '' }}
loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
- name: Upload tmpnet network dir
uses: ./.github/actions/upload-tmpnet-artifact
if: always()
with:
name: upgrade-tmpnet-data
Lint:
runs-on: ubuntu-latest
steps:
Expand Down
29 changes: 29 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Release Notes

## [v1.12.1](https://github.com/ava-labs/avalanchego/releases/tag/v1.12.1)

This version is backwards compatible to [v1.12.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.12.0). It is optional, but encouraged.

The plugin version is unchanged at `38` and is compatible with version `v1.12.0`.

### Configs

- Added PebbleDB option `sync` which defaults to `true`

### Fixes

- Fixed P-chain mempool verification to disallow transactions that exceed the available chain capacity

### What's Changed

- Expose test network cfg by @cam-schultz in https://github.com/ava-labs/avalanchego/pull/3573
- encapsulate signer by @richardpringle in https://github.com/ava-labs/avalanchego/pull/3576
- use pebble nosync by default by @ceyonur in https://github.com/ava-labs/avalanchego/pull/3581
- fix: feeState API call in docs by @ashucoder9 in https://github.com/ava-labs/avalanchego/pull/3596
- Format Service.MD by @samliok in https://github.com/ava-labs/avalanchego/pull/3599
- Verify tx gas isn't too large in VerifyTx by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3604
- Add already implemented merkledb.View to MerkleDB interface by @aaronbuchwald in https://github.com/ava-labs/avalanchego/pull/3593
- Add tempdir in for chain ctx data dir by @aaronbuchwald in https://github.com/ava-labs/avalanchego/pull/3594
- Improve block building and verification logging by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3605
- Bump golang.org/x/crypto from 0.26.0 to 0.31.0 by @dependabot in https://github.com/ava-labs/avalanchego/pull/3608

**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.12.0...v1.12.1

## [v1.12.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.12.0)

This upgrade consists of the following Avalanche Community Proposals (ACPs):
Expand Down
4 changes: 2 additions & 2 deletions scripts/tests.upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ fi
# local network, this flag must be updated to the last compatible
# version with the latest code.
#
# v1.11.3 fixes a regression in Coreth genesis for custom networks.
DEFAULT_VERSION="1.11.3"
# v1.12.0 is the earliest version that supports Etna.
DEFAULT_VERSION="1.12.0"

VERSION="${1:-${DEFAULT_VERSION}}"
if [[ -z "${VERSION}" ]]; then
Expand Down
23 changes: 9 additions & 14 deletions utils/constants/acps.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@ var (
//
// See: https://github.com/orgs/avalanche-foundation/projects/1
ActivatedACPs = set.Of[uint32](
// Durango:
23, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/23-p-chain-native-transfers/README.md
24, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/24-shanghai-eips/README.md
25, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/25-vm-application-errors/README.md
30, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/30-avalanche-warp-x-evm/README.md
31, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/31-enable-subnet-ownership-transfer/README.md
41, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/41-remove-pending-stakers/README.md
62, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/62-disable-addvalidatortx-and-adddelegatortx/README.md
)

// CurrentACPs is the set of ACPs that are currently, at the time of
// release, marked as implementable and not activated.
//
// See: https://github.com/orgs/avalanche-foundation/projects/1
CurrentACPs = set.Of[uint32](
// Etna:
77, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/77-reinventing-subnets/README.md
103, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/103-dynamic-fees/README.md
118, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/118-warp-signature-request/README.md
Expand All @@ -32,13 +28,12 @@ var (
151, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/151-use-current-block-pchain-height-as-context/README.md
)

// CurrentACPs is the set of ACPs that are currently, at the time of
// release, marked as implementable and not activated.
//
// See: https://github.com/orgs/avalanche-foundation/projects/1
CurrentACPs = set.Of[uint32]()

// ScheduledACPs are the ACPs included into the next upgrade.
ScheduledACPs = set.Of[uint32](
77, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/77-reinventing-subnets/README.md
103, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/103-dynamic-fees/README.md
118, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/118-warp-signature-request/README.md
125, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/125-basefee-reduction/README.md
131, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/131-cancun-eips/README.md
151, // https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/151-use-current-block-pchain-height-as-context/README.md
)
ScheduledACPs = set.Of[uint32]()
)
3 changes: 2 additions & 1 deletion version/compatibility.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"38": [
"v1.11.13",
"v1.12.0"
"v1.12.0",
"v1.12.1"
],
"37": [
"v1.11.11",
Expand Down
2 changes: 1 addition & 1 deletion version/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
Current = &Semantic{
Major: 1,
Minor: 12,
Patch: 0,
Patch: 1,
}
CurrentApp = &Application{
Name: Client,
Expand Down

0 comments on commit a69772f

Please sign in to comment.