Skip to content

Commit

Permalink
Update versions for v1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Dec 2, 2024
1 parent 94be34a commit 3a13b24
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 26 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 18 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 3 additions & 5 deletions upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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,
Expand All @@ -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")
Expand Down
9 changes: 8 additions & 1 deletion utils/constants/acps.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
)
3 changes: 2 additions & 1 deletion version/compatibility.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"38": [
"v1.11.13"
"v1.11.13",
"v1.12.0"
],
"37": [
"v1.11.11",
Expand Down
8 changes: 4 additions & 4 deletions version/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const (
var (
Current = &Semantic{
Major: 1,
Minor: 11,
Patch: 13,
Minor: 12,
Patch: 0,
}
CurrentApp = &Application{
Name: Client,
Expand All @@ -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,
}

Expand Down

0 comments on commit 3a13b24

Please sign in to comment.