From e231e851167fd7f740c9a2b2963ee5a68c5640b3 Mon Sep 17 00:00:00 2001 From: Stephen Buttolph Date: Wed, 21 Feb 2024 11:45:50 -0500 Subject: [PATCH] Set Mainnet Durango time --- RELEASES.md | 14 ++++++++------ config/config.go | 4 ---- proto/README.md | 2 +- version/compatibility.json | 2 +- version/constants.go | 5 ++--- 5 files changed, 12 insertions(+), 15 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 16693bbd083..59b93120818 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,8 +1,6 @@ # Release Notes -## [v1.11.0-fuji](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.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.** +## [v1.11.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.0) This upgrade consists of the following Avalanche Community Proposals (ACPs): @@ -14,11 +12,15 @@ This upgrade consists of the following Avalanche Community Proposals (ACPs): - [ACP-41](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/41-remove-pending-stakers.md) Remove Pending Stakers - [ACP-62](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/62-disable-addvalidatortx-and-adddelegatortx.md) Disable AddValidatorTx and AddDelegatorTx -The changes in the upgrade go into effect at 11 AM ET (4 PM UTC) on Tuesday, February 13th, 2024 on the Fuji testnet. +The changes in the upgrade go into effect at 11 AM ET (4 PM UTC) on Wednesday, March 6th, 2024 on Mainnet. + +**All supporting Mainnet nodes should upgrade before 11 AM ET, March 6th 2024.** -**All Fuji nodes must upgrade before 11 AM ET, February 13th 2024.** +The plugin version is updated to `33` all plugins must update to be compatible. + +### APIs -The plugin version is updated to `32` all plugins must update to be compatible. +- Added `platform.getSubnet` API ### Configs diff --git a/config/config.go b/config/config.go index ed202465b2d..d7a05220cd7 100644 --- a/config/config.go +++ b/config/config.go @@ -1341,10 +1341,6 @@ 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/proto/README.md b/proto/README.md index 34d4228571e..fee58835f21 100644 --- a/proto/README.md +++ b/proto/README.md @@ -1,6 +1,6 @@ # Avalanche gRPC -Now Serving: **Protocol Version 30** +Now Serving: **Protocol Version 33** Protobuf files are hosted at [https://buf.build/ava-labs/avalanche](https://buf.build/ava-labs/avalanche) and diff --git a/version/compatibility.json b/version/compatibility.json index bdbcb247f14..756a6a98139 100644 --- a/version/compatibility.json +++ b/version/compatibility.json @@ -1,5 +1,5 @@ { - "32": [ + "33": [ "v1.11.0" ], "31": [ diff --git a/version/constants.go b/version/constants.go index 69e52483ca5..87226ff7086 100644 --- a/version/constants.go +++ b/version/constants.go @@ -18,7 +18,7 @@ const ( // RPCChainVMProtocol should be bumped anytime changes are made which // require the plugin vm to upgrade to latest avalanchego release to be // compatible. - RPCChainVMProtocol uint = 32 + RPCChainVMProtocol uint = 33 ) // These are globals that describe network upgrades and node versions @@ -136,9 +136,8 @@ var ( constants.FujiID: ids.FromStringOrPanic("2D1cmbiG36BqQMRyHt4kFhWarmatA1ighSpND3FeFgz3vFVtCZ"), } - // TODO: update this before release DurangoTimes = map[uint32]time.Time{ - constants.MainnetID: time.Date(10000, time.December, 1, 0, 0, 0, 0, time.UTC), + constants.MainnetID: time.Date(2024, time.March, 6, 16, 0, 0, 0, time.UTC), constants.FujiID: time.Date(2024, time.February, 13, 16, 0, 0, 0, time.UTC), } )