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..5b45466f5a6b 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,23 @@ # Release Notes +## [v1.12.0-fuji](https://github.com/ava-labs/avalanchego/releases/tag/v1.12.0-fuji) + +**Please note that this release is unable to run mainnet - and will display "mainnet is not supported" if attempted to run with a mainnet configuration.** + +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 11 AM ET (4 PM UTC) on Monday, November 25th, 2024 on the Fuji testnet. + +**All Fuji nodes must upgrade before 11 AM ET, November 25th 2024.** + +**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.11.13...v1.12.0-fuji + ## [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/config/config.go b/config/config.go index 8a95045b7f77..68e6eb1124e0 100644 --- a/config/config.go +++ b/config/config.go @@ -1301,6 +1301,10 @@ func GetNodeConfig(v *viper.Viper) (node.Config, error) { return node.Config{}, err } + if nodeConfig.NetworkID == constants.MainnetID { + return node.Config{}, errors.New("mainnet is not supported") + } + // Database nodeConfig.DatabaseConfig, err = getDatabaseConfig(v, nodeConfig.NetworkID) if err != nil { 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..8f9e0139331c 100644 --- a/upgrade/upgrade.go +++ b/upgrade/upgrade.go @@ -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/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, }