Skip to content

Commit cd19b65

Browse files
Update versions for v1.12.0-fuji
1 parent 049be36 commit cd19b65

File tree

7 files changed

+46
-24
lines changed

7 files changed

+46
-24
lines changed

.github/workflows/ci.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,21 @@ jobs:
117117
- name: Build AvalancheGo Binary
118118
shell: bash
119119
run: ./scripts/build.sh
120-
- name: Run e2e tests
121-
uses: ./.github/actions/run-monitored-tmpnet-cmd
122-
with:
123-
run: ./scripts/tests.upgrade.sh
124-
filter_by_owner: avalanchego-e2e
125-
prometheus_id: ${{ secrets.PROMETHEUS_ID || '' }}
126-
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
127-
loki_id: ${{ secrets.LOKI_ID || '' }}
128-
loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
129-
- name: Upload tmpnet network dir
130-
uses: ./.github/actions/upload-tmpnet-artifact
131-
if: always()
132-
with:
133-
name: upgrade-tmpnet-data
120+
# TODO: Reactivate test once v1.12.0 is published
121+
# - name: Run e2e tests
122+
# uses: ./.github/actions/run-monitored-tmpnet-cmd
123+
# with:
124+
# run: ./scripts/tests.upgrade.sh
125+
# filter_by_owner: avalanchego-e2e
126+
# prometheus_id: ${{ secrets.PROMETHEUS_ID || '' }}
127+
# prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
128+
# loki_id: ${{ secrets.LOKI_ID || '' }}
129+
# loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
130+
# - name: Upload tmpnet network dir
131+
# uses: ./.github/actions/upload-tmpnet-artifact
132+
# if: always()
133+
# with:
134+
# name: upgrade-tmpnet-data
134135
Lint:
135136
runs-on: ubuntu-latest
136137
steps:

RELEASES.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Release Notes
22

3+
## [v1.12.0-fuji](https://github.com/ava-labs/avalanchego/releases/tag/v1.12.0-fuji)
4+
5+
**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.**
6+
7+
This upgrade consists of the following Avalanche Community Proposals (ACPs):
8+
- [ACP-77](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/77-reinventing-subnets/README.md) Reinventing Subnets
9+
- [ACP-103](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/103-dynamic-fees/README.md) Add Dynamic Fees to the P-Chain
10+
- [ACP-118](https://github.com/avalanche-foundation/ACPs/blob/main/ACPs/118-warp-signature-request/README.md) Warp Signature Interface Standard
11+
- [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
12+
- [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
13+
- [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
14+
15+
The changes in the upgrade go into effect at 11 AM ET (4 PM UTC) on Monday, November 25th, 2024 on the Fuji testnet.
16+
17+
**All Fuji nodes must upgrade before 11 AM ET, November 25th 2024.**
18+
19+
**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.11.13...v1.12.0-fuji
20+
321
## [v1.11.13](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.13)
422

523
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.

config/config.go

+4
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,10 @@ func GetNodeConfig(v *viper.Viper) (node.Config, error) {
13011301
return node.Config{}, err
13021302
}
13031303

1304+
if nodeConfig.NetworkID == constants.MainnetID {
1305+
return node.Config{}, errors.New("mainnet is not supported")
1306+
}
1307+
13041308
// Database
13051309
nodeConfig.DatabaseConfig, err = getDatabaseConfig(v, nodeConfig.NetworkID)
13061310
if err != nil {

node/node.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ func (n *Node) initNetworking(reg prometheus.Registerer) error {
632632

633633
n.Net, err = network.NewNetwork(
634634
&n.Config.NetworkConfig,
635-
n.Config.UpgradeConfig.DurangoTime,
635+
n.Config.UpgradeConfig.EtnaTime,
636636
n.msgCreator,
637637
reg,
638638
n.Log,

upgrade/upgrade.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var (
5454
// Ref: https://subnets-test.avax.network/x-chain/block/0
5555
CortinaXChainStopVertexID: ids.FromStringOrPanic("2D1cmbiG36BqQMRyHt4kFhWarmatA1ighSpND3FeFgz3vFVtCZ"),
5656
DurangoTime: time.Date(2024, time.February, 13, 16, 0, 0, 0, time.UTC),
57-
EtnaTime: UnscheduledActivationTime,
57+
EtnaTime: time.Date(2024, time.November, 25, 16, 0, 0, 0, time.UTC),
5858
}
5959
Default = Config{
6060
ApricotPhase1Time: InitiallyActiveTime,
@@ -70,9 +70,7 @@ var (
7070
CortinaTime: InitiallyActiveTime,
7171
CortinaXChainStopVertexID: ids.Empty,
7272
DurangoTime: InitiallyActiveTime,
73-
// Etna is left unactivated by default on local networks. It can be configured to
74-
// activate by overriding the activation time in the upgrade file.
75-
EtnaTime: UnscheduledActivationTime,
73+
EtnaTime: InitiallyActiveTime,
7674
}
7775

7876
ErrInvalidUpgradeTimes = errors.New("invalid upgrade configuration")

version/compatibility.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"38": [
3-
"v1.11.13"
3+
"v1.11.13",
4+
"v1.12.0"
45
],
56
"37": [
67
"v1.11.11",

version/constants.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ const (
2222
var (
2323
Current = &Semantic{
2424
Major: 1,
25-
Minor: 11,
26-
Patch: 13,
25+
Minor: 12,
26+
Patch: 0,
2727
}
2828
CurrentApp = &Application{
2929
Name: Client,
@@ -34,13 +34,13 @@ var (
3434
MinimumCompatibleVersion = &Application{
3535
Name: Client,
3636
Major: 1,
37-
Minor: 11,
37+
Minor: 12,
3838
Patch: 0,
3939
}
4040
PrevMinimumCompatibleVersion = &Application{
4141
Name: Client,
4242
Major: 1,
43-
Minor: 10,
43+
Minor: 11,
4444
Patch: 0,
4545
}
4646

0 commit comments

Comments
 (0)