Skip to content

Aion Java Kernel v0.4.2.0

Compare
Choose a tag to compare
@AionJayT AionJayT released this 17 Oct 21:40
· 699 commits to master since this release

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: