Aion Java Kernel v0.4.2.0
This release is a recommended update.
The release includes enhanced network syncing performance, kernel memory usage, and kernel data-store performance. The AVM has been updated to version 1.5, and supports Amity testnet for the hybrid Unity consensus protocol. Also added is a CLI edit mode.
Features:
- Integrated with [AVM 1.5] for improved AVM tooling and user library, along with other enhancements to the AVM
- Added CLI tooling edit mode #949 #953;
- Supports Amity testnet (unity consensus protocol) #975 #981 #986 #987 #989 #1006 #1008 #994
- Configurable pending transaction timeout settings in the transaction pool #998
- RPC call support for getBlockdDetails #974
- Added option for storing internal transactions #955
Migration guide:
To update your node, you must do the following after shutting down the kernel
-
Overwrite the genesis.json file in the
<aion executing path>/<network>/config/
folder. This can be done by copying the genesis.json file in<aion executing path>/config/<network>/
from the new release. -
Update your local database to the new database structure by executing
./aion.sh -n <network> --redo-import
If you are running a node on the Mainnet
./aion.sh --redo-import
If you are running a node on the Amity testnet./aion.sh -amity --redo-import
It will take around few hours, depending on your hardware specs, to reconstruct your current database to the new structure, after which you can launch the kernel to sync with the network. The best practice is to backup your current database first and then execute the re-import command mentioned above. -
Or sync the database from scratch
Remove
database
folder in the folder
relaunch the kernel
It will take around 4 hours, depending on your network environment.
Bug fixes:
- CLI bug fixes #938 #929
- A sidechain block can overwrite the correct VM type #957 #934
- FVM external state return type #963
- BlockStore resource locks #969
- FVM contract deploy minimum energy consumption #997
- Account manager locking/unlocking issue #983
Enhancements:
- Improved p2p syncing #1000
- Introduced kernel modularity #930 #931 #940 #941 #943 #952 #953 #959 #960 #965 #966 #972 #973 #976 #978 #982
- Removed removed heap cache setting #1007
- Removed misuse of thrown exceptions when decoding transaction information #1003
- Predefined exit codes #942
- Added analysis log category #970