Skip to content

Commit 6049e3d

Browse files
authored
Merge pull request #252 from bane-labs/rel-0.2.0
Release v0.2.0
2 parents ebda869 + b105de4 commit 6049e3d

File tree

3 files changed

+65
-4
lines changed

3 files changed

+65
-4
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,59 @@
22

33
This document outlines major changes between releases.
44

5+
## 0.2.0 "Vitaminization" (10 Jul 2024)
6+
7+
A minor long-term supported version bringing new NeoXBurn hardfork that enables
8+
Policy-based transaction fees burning instead of dynamically evaluated fees of
9+
EIP-1559. This version contains compatible protocol extensions (transactions
10+
reannouncement mechanism), a set of enhanced system contract improvements
11+
(consensus candidates limit restrictions, registration deposit fee, voting transfer
12+
functionality, new Treasury system contract and more) and documentation upgrades.
13+
Additionally, as a result of security audit, this version contains a set of
14+
enhancements and stability/safety fixes for system contracts and dBFT protocol.
15+
This version is still based on v1.13.11 Geth implementation with Shanghai hardfork
16+
supported as the latest one.
17+
18+
This version is aimed to be run on a fresh Neo X T4 network. Please, ensure your node
19+
configuration includes the NeoXBurn hardfork, an upgraded network ID and all genesis
20+
allocations properly set. A new database should be initialized for this version, it's
21+
not compatible with an existing Neo X T3 testnet.
22+
23+
New features:
24+
* Treasury system contract aimed to fund Bridge operations (#184, #236)
25+
* reannouncement mechanism for pending mempooled transactions (#194)
26+
* reserved system contracts support (#236)
27+
28+
Behavior changes:
29+
* limit the number of candidates via Policy system contract (#216, #238)
30+
* NeoXBurn hardfork introducing BaseFee burning based on the Policy system contract
31+
setting (#166, #230, #249)
32+
* time lock is added for system contracts upgrade (#245)
33+
* 5% deposit fee is charged by Governance on candidate exiting from the Governance
34+
candidates list (#247)
35+
* candidate registration fee is increased up to 20 GAS (#236)
36+
37+
Improvements:
38+
* system contracts documentation updates (#173, #236)
39+
* `transferVote` method added to the Governance system contract (#182)
40+
* updated dBFT library dependency (#185)
41+
* optimize execution cost of system contracts (#195)
42+
* better event indexing for system contracts (#196)
43+
* Solidity compiler version upgraded for system contracts (#208)
44+
* improved error reporting for system contracts (#209)
45+
* better unit-test coverage for system contracts (#210, #211, #214, #215, #223)
46+
* clear votes for method call once enough votes are collected in GovernanceVote
47+
system contract (#227)
48+
* system contracts stability improvements (#217, #221, #241)
49+
50+
Bugs fixed:
51+
* reentrancy problem in GovernanceVote system contract (#195)
52+
* potential division by zero in Governance system contract (#225)
53+
* OnPersist system call processing missed in t8ntool execution flow (#229)
54+
* blacklisted accounts are allowed to be elected as consensus members (#242)
55+
* dBFT protocol payloads are not verified against consensus members by non-consensus
56+
nodes (#243)
57+
558
## 0.1.1 "Backdating" (18 April 2024)
659

760
An urgent patch release to fix the bug in T3 genesis configuration file introduced in 0.1.0.

docs/release-instruction.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ These should run successfully:
1111
* privnet with consensus nodes
1212
* mainnet/testnet synchronization for compatible releases
1313

14+
## Update network configuration files
15+
16+
For releases aimed to be run on a fresh network, i.e. incompatible with the existing
17+
networks, genesis configuration file should be updated, which includes:
18+
* Network ID upgrade;
19+
* Update of the genesis allocations (code/binary/storage) for system contracts;
20+
* Hardforks schedule update.
21+
1422
## Update CHANGELOG
1523

1624
Add an entry to the CHANGELOG.md following the style established there. Add a

params/version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ import (
2121
)
2222

2323
const (
24-
VersionMajor = 0 // Major version component of the current release
25-
VersionMinor = 2 // Minor version component of the current release
26-
VersionPatch = 0 // Patch version component of the current release
27-
VersionMeta = "unstable" // Version metadata to append to the version string
24+
VersionMajor = 0 // Major version component of the current release
25+
VersionMinor = 2 // Minor version component of the current release
26+
VersionPatch = 0 // Patch version component of the current release
27+
VersionMeta = "stable" // Version metadata to append to the version string
2828
)
2929

3030
// Version holds the textual version string.

0 commit comments

Comments
 (0)