Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions for v1.12.0 #3578

Merged
merged 3 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
43 changes: 43 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# 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`.

### APIs

- Allowed `platform.issueTx` to be called, for non-ImportTx transactions, while partial syncing

### What's Changed

- Fix SubnetToL1ConversionData typo by @cam-schultz in https://github.com/ava-labs/avalanchego/pull/3555
- Refactor `logging.Format` to expose constants by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3561
- [testing] Switch to logging with zap by @marun in https://github.com/ava-labs/avalanchego/pull/3557
- Use JSON logs during Antithesis runs by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3562
- Antithesis: Skip checks if tx confirmation fails by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3563
- chore: fix some function names in comment by @wanxiangchwng in https://github.com/ava-labs/avalanchego/pull/3566
- update api docs by @ashucoder9 in https://github.com/ava-labs/avalanchego/pull/3558
- Remove unused wallet interface by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3568
- Remove required fields from config by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3569
- Remove redundant field in platformVM/network's Network by @yacovm in https://github.com/ava-labs/avalanchego/pull/3571
- Remove observedSubnetUptime from Info Docs by @samliok in https://github.com/ava-labs/avalanchego/pull/3575
- Allow issuing transactions when using partial-sync by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3570
- Add partial-sync support to the wallet by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/3567

### New Contributors

- @wanxiangchwng made their first contribution in https://github.com/ava-labs/avalanchego/pull/3566
- @ashucoder9 made their first contribution in https://github.com/ava-labs/avalanchego/pull/3558

**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
Loading