Skip to content

Aion Java Kernel v0.4.0.1

Compare
Choose a tag to compare
@AionJayT AionJayT released this 22 May 14:43
· 1088 commits to master since this release

This is a mandatory update release.

This release mainly allows the user to use the Aion Java contract to interact with the Aion blockchain network after the hard fork (block# 3346000 on Mainnet). It is one of the biggest milestones for the Aion ecosystem. Additionally, we have modified the monetary policy to align with the Aion whitepaper.

Migration guide:

To upgrade your current running node, you must overwrite the fork.properties file in the <aion executing path>/<network>/config/ folder. This can be done either by overwriting this file with the following properties or by copying the fork.properties file in <aion executing path>/config/<network>/ from the new release.

  • Fork.properties before 0.4.0 (Mainnet):
fork0.3.2=1920000
  • Fork.properties since 0.4.0 (Mainnet):
fork0.3.2=1920000
fork0.4.0=3346000
  • Fork.properties before 0.4.0 (Mastery):
fork0.3.2=1132000
  • Fork.properties since 0.4.0 (Mastery):
fork0.3.2=1132000
fork0.4.0=2393000

Seed node settings changes:

  • config.xml before 0.4.0 (Mainnet):
        <nodes>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
        </nodes>
  • config.xml since 0.4.0 (Mainnet):
        <nodes>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
            <node>p2p://[email protected]:30303</node>
        </nodes>

Features:

  • Kernel is able to execute both AVM and FastVM contract transactions #860 #873 #879 #883 #890 #891
  • Integrated with AVM 1.3
  • Implemented FastVM opcode extend #853
  • Added block reward querying capability in the Aion JAVA API #882
  • Can retrieve block, state, and contract data from CLI #884

Changes:

  • Monetary policy updates #852
  • Avmtestnet config changes #893

Bug fixes:

  • Consensus bug fixes found during the AVM integration #876 #885
  • P2p task status hanging issue #881
  • Smart contracts could not deploy to existing accounts #889
  • TransactionPool timestamp issue #899
  • P2p outgoing IP check issue #900
  • DetailsDataStore memory leak issue b8f41ab
  • AVMKernelInface removeStorage issue 46e0cb3

Enhancements:

  • Enhanced Kernel module interface #874 #892
  • Reduced log level for tests #877
  • Removed duplicated repo classes #880
  • Enhanced Build script #887
  • Tweaked block sync speed #888