diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 255fa627e65e..d890976d159c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,20 +117,21 @@ jobs: - name: Build AvalancheGo Binary shell: bash run: ./scripts/build.sh - - 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 + # 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 Lint: runs-on: ubuntu-latest steps: diff --git a/RELEASES.md b/RELEASES.md index 8256a2666c3e..fed7e2669358 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,23 @@ # Release Notes +## [v1.12.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.12.0) + +This upgrade consists of the following Avalanche Community Proposals (ACPs): +- [ACP-77](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/77-reinventing-subnets/README.md) Reinventing Subnets +- [ACP-103](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/103-dynamic-fees/README.md) Add Dynamic Fees to the P-Chain +- [ACP-118](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/118-warp-signature-request/README.md) Warp Signature Interface Standard +- [ACP-125](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/125-basefee-reduction/README.md) Reduce C-Chain minimum base fee from 25 nAVAX to 1 nAVAX +- [ACP-131](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/131-cancun-eips/README.md) Activate Cancun EIPs on C-Chain and Subnet-EVM chains +- [ACP-151](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/151-use-current-block-pchain-height-as-context/README.md) Use current block P-Chain height as context for state verification + +The changes in the upgrade go into effect at 12 AM ET (5 PM UTC) on Monday, December 16th, 2024 on Mainnet. + +**All Etna supporting Mainnet nodes should upgrade before 12 AM ET, December 16th 2024.** + +The plugin version is unchanged at `38` and is compatible with version `v1.11.13`. + +**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.11.13...v1.12.0 + ## [v1.11.13](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.13) This version is backwards compatible to [v1.11.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.0). It is optional, but encouraged. diff --git a/node/node.go b/node/node.go index 5e7c819a4d40..504dbdf7a6e1 100644 --- a/node/node.go +++ b/node/node.go @@ -632,7 +632,7 @@ func (n *Node) initNetworking(reg prometheus.Registerer) error { n.Net, err = network.NewNetwork( &n.Config.NetworkConfig, - n.Config.UpgradeConfig.DurangoTime, + n.Config.UpgradeConfig.EtnaTime, n.msgCreator, reg, n.Log, diff --git a/upgrade/upgrade.go b/upgrade/upgrade.go index 21e404ffb3f4..a68a33badcce 100644 --- a/upgrade/upgrade.go +++ b/upgrade/upgrade.go @@ -34,7 +34,7 @@ var ( // Ref: https://subnets.avax.network/x-chain/block/0 CortinaXChainStopVertexID: ids.FromStringOrPanic("jrGWDh5Po9FMj54depyunNixpia5PN4aAYxfmNzU8n752Rjga"), DurangoTime: time.Date(2024, time.March, 6, 16, 0, 0, 0, time.UTC), - EtnaTime: UnscheduledActivationTime, + EtnaTime: time.Date(2024, time.December, 16, 17, 0, 0, 0, time.UTC), } Fuji = Config{ ApricotPhase1Time: time.Date(2021, time.March, 26, 14, 0, 0, 0, time.UTC), @@ -54,7 +54,7 @@ var ( // Ref: https://subnets-test.avax.network/x-chain/block/0 CortinaXChainStopVertexID: ids.FromStringOrPanic("2D1cmbiG36BqQMRyHt4kFhWarmatA1ighSpND3FeFgz3vFVtCZ"), DurangoTime: time.Date(2024, time.February, 13, 16, 0, 0, 0, time.UTC), - EtnaTime: UnscheduledActivationTime, + EtnaTime: time.Date(2024, time.November, 25, 16, 0, 0, 0, time.UTC), } Default = Config{ ApricotPhase1Time: InitiallyActiveTime, @@ -70,9 +70,7 @@ var ( CortinaTime: InitiallyActiveTime, CortinaXChainStopVertexID: ids.Empty, DurangoTime: InitiallyActiveTime, - // Etna is left unactivated by default on local networks. It can be configured to - // activate by overriding the activation time in the upgrade file. - EtnaTime: UnscheduledActivationTime, + EtnaTime: InitiallyActiveTime, } ErrInvalidUpgradeTimes = errors.New("invalid upgrade configuration") diff --git a/utils/constants/acps.go b/utils/constants/acps.go index e3d036f9327a..b0da1fcd18cf 100644 --- a/utils/constants/acps.go +++ b/utils/constants/acps.go @@ -33,5 +33,12 @@ var ( ) // ScheduledACPs are the ACPs included into the next upgrade. - ScheduledACPs = set.Of[uint32]() + 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 + ) ) diff --git a/version/compatibility.json b/version/compatibility.json index 121a530b3da3..0a8f5e554534 100644 --- a/version/compatibility.json +++ b/version/compatibility.json @@ -1,6 +1,7 @@ { "38": [ - "v1.11.13" + "v1.11.13", + "v1.12.0" ], "37": [ "v1.11.11", diff --git a/version/constants.go b/version/constants.go index 3708f0b4eefc..9424b1616a14 100644 --- a/version/constants.go +++ b/version/constants.go @@ -22,8 +22,8 @@ const ( var ( Current = &Semantic{ Major: 1, - Minor: 11, - Patch: 13, + Minor: 12, + Patch: 0, } CurrentApp = &Application{ Name: Client, @@ -34,13 +34,13 @@ var ( MinimumCompatibleVersion = &Application{ Name: Client, Major: 1, - Minor: 11, + Minor: 12, Patch: 0, } PrevMinimumCompatibleVersion = &Application{ Name: Client, Major: 1, - Minor: 10, + Minor: 11, Patch: 0, }