Skip to content

Commit

Permalink
Set Mainnet Durango time
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Feb 21, 2024
1 parent 5daf77b commit e231e85
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
14 changes: 8 additions & 6 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -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):

Expand All @@ -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

Expand Down
4 changes: 0 additions & 4 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion proto/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion version/compatibility.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"32": [
"33": [
"v1.11.0"
],
"31": [
Expand Down
5 changes: 2 additions & 3 deletions version/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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),
}
)
Expand Down

0 comments on commit e231e85

Please sign in to comment.