Skip to content

Commit c44992a

Browse files
authored
Merge pull request #522 from bane-labs/rel-0.5.0
Release v0.5.0
2 parents 8f74015 + 53b2968 commit c44992a

File tree

4 files changed

+72
-18
lines changed

4 files changed

+72
-18
lines changed

CHANGELOG.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,46 @@
22

33
This document outlines major changes between releases.
44

5+
## 0.5.0 "Neutralization‌" (23 Oct 2025)
6+
7+
This version introduces the support for two Ethereum major upgrades: Cancun and
8+
Prague. Since this repository starts from and still is an Execution Layer (EL),
9+
this upgrade is only a part of Dencun and Pectra. As a result, the proposal of
10+
EIP-4844 (Shard Blob Transactions) are not fully implemented. Currently, blob
11+
data is only very short-lived in the network, and doesn't have any API to get
12+
properly accessed.
13+
14+
Follow the instructions below to upgrade your node from v0.4.2 to v0.5.0:
15+
16+
1. Download new binary and new genesis configuration file from the release page.
17+
2. Gracefully stop the node.
18+
3. Replace the old binary with the new binary.
19+
4. For TestNet nodes only: reinitialize DB using new binary and
20+
new genesis configuration file with the following command:
21+
```
22+
## If you are running a full node, don't remove DB.
23+
./geth init --state.scheme hash --datadir ./node-datadir ./config/genesis.json
24+
25+
## If you are running a snap node, you can reserve the DB by reiniting with
26+
## "--state.scheme hash". Or, remove existing DB and init a new one with
27+
## "--state.scheme path" as default.
28+
./geth removedb --datadir ./node-datadir
29+
./geth init --datadir ./node-datadir ./config/genesis.json
30+
```
31+
5. Start the node with `--state.scheme` set to `hash` or `path` (default)
32+
correspondingly.
33+
34+
Behaviour changes:
35+
* `Cancun` fork is enabled at timestamp `1761600000` on TestNet (#522)
36+
* `Prague` fork is enabled at timestamp `1761600000` on TestNet (#522)
37+
38+
Improvements:
39+
* base Geth source code is updated to v1.14.13 (#487)
40+
* base Geth source code is updated to v1.15.11 (#499)
41+
* reschedule `NeoXAMEV` and `NeoXEthSig` forks for PrivNet setups (#510)
42+
* update hardware requirement documentation (#514)
43+
* remove proxy checks from system contracts and upgrade hardhat (#519)
44+
545
## 0.4.2 "Mutualization" (2 Sep 2025)
646

747
A couple of ZK-based DKG rounds passed on TestNet, hence it may be safely
@@ -27,9 +67,9 @@ your node from v0.4.1 to v0.4.2:
2767
5. Start the node.
2868

2969
Behaviour changes:
30-
* NeoXDKG, NeoXAMEV and NeoXEthSig forks of MainNet are rescheduled to 3623040,
70+
* `NeoXDKG`, `NeoXAMEV` and `NeoXEthSig` forks of MainNet are rescheduled to 3623040,
3171
3689280 and 3689280 blocks correspondingly (#512)
32-
* reschedule NeoXDKG fork for PrivNet setups (#502)
72+
* reschedule `NeoXDKG` fork for PrivNet setups (#502)
3373

3474
Improvements:
3575
* check DKG-related files are available on node startup (#503)

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To run a full node on the Neo X Testnet network follow the steps below.
9898
3. Download 3 pairs of R1CS files and proving key files from [Neo X MPC ceremony](https://github.com/bane-labs/mpc) for participanting ZK-DKG.
9999
4. Initialize node database with the downloaded Neo X testnet genesis configuration:
100100
```shell
101-
./geth init --datadir ./nodes/node1 ./genesis_testnet.json
101+
./geth init --state.scheme hash --datadir ./nodes/node1 ./genesis_testnet.json
102102
```
103103
5. Create an account for the node operation or use an existing one. The following
104104
command may be used to create a new account (you'll be prompted for a password):
@@ -140,8 +140,8 @@ To run a full node on the Neo X Testnet network follow the steps below.
140140
--nat extip:10.148.0.2 \
141141
--port $port \
142142
--authrpc.port $rpcport \
143-
--identity=$node \
144-
--maxpeers=50 \
143+
--identity $node \
144+
--maxpeers 50 \
145145
--syncmode full \
146146
--gcmode archive \
147147
--datadir $node \
@@ -195,19 +195,19 @@ To run a full node on the Neo X Testnet network follow the steps below.
195195
--networkid 12227332 \
196196
--nat extip:10.148.0.2 \
197197
--port $port \
198-
--mine --miner.etherbase=$miner \
198+
--mine --miner.etherbase $miner \
199199
--unlock $miner \
200200
--password $node/password.txt \
201201
--antimev.password $node/password.txt \
202-
--dkg.one-msg-r1cs=$node/r1cs/one_message.ccs \
203-
--dkg.two-msg-r1cs=$node/r1cs/two_message.ccs \
204-
--dkg.seven-msg-r1cs=$node/r1cs/seven_message.ccs \
205-
--dkg.one-msg-pk=$node/pk/one_message.pk \
206-
--dkg.two-msg-pk=$node/pk/two_message.pk \
207-
--dkg.seven-msg-pk=$node/pk/seven_message.pk \
202+
--dkg.one-msg-r1cs $node/r1cs/one_message.ccs \
203+
--dkg.two-msg-r1cs $node/r1cs/two_message.ccs \
204+
--dkg.seven-msg-r1cs $node/r1cs/seven_message.ccs \
205+
--dkg.one-msg-pk $node/pk/one_message.pk \
206+
--dkg.two-msg-pk $node/pk/two_message.pk \
207+
--dkg.seven-msg-pk $node/pk/seven_message.pk \
208208
--authrpc.port $rpcport \
209-
--identity=$node \
210-
--maxpeers=50 \
209+
--identity $node \
210+
--maxpeers 50 \
211211
--syncmode full \
212212
--gcmode archive \
213213
--datadir $node \

config/genesis_testnet.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@
1818
"neoXDKGBlock": 1990080,
1919
"neoXAMEVBlock": 2088000,
2020
"neoXEthSigBlock": 3750000,
21+
"cancunTime": 1761600000,
22+
"pragueTime": 1761600000,
23+
"blobSchedule": {
24+
"cancun": {
25+
"target": 3,
26+
"max": 6,
27+
"baseFeeUpdateFraction": 3338477
28+
},
29+
"prague": {
30+
"target": 6,
31+
"max": 9,
32+
"baseFeeUpdateFraction": 5007716
33+
}
34+
},
2135
"dbft": {
2236
"period": 5,
2337
"standbyValidators": [

version/version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
package version
1818

1919
const (
20-
Major = 0 // Major version component of the current release
21-
Minor = 5 // Minor version component of the current release
22-
Patch = 0 // Patch version component of the current release
23-
Meta = "unstable" // Version metadata to append to the version string
20+
Major = 0 // Major version component of the current release
21+
Minor = 5 // Minor version component of the current release
22+
Patch = 0 // Patch version component of the current release
23+
Meta = "stable" // Version metadata to append to the version string
2424
)

0 commit comments

Comments
 (0)