Skip to content

Migration from AionR 0.1.* to AionR 0.2.*

MiaoShi09 edited this page May 23, 2019 · 5 revisions

AVM Integration

Since AVM is built from Java. AionR 0.2.0 now requires new dependencies:

Fork Number

Aion network is going to fork at #3346000 on Mainnet and #2393000 on Mastery.

In AionR genesis file, new property params.monetaryPolicyUpdate is added. Check <executive_directory>/<network>/<network>.json:

  • mainnet/mainnet.json
{
...
"params": {
   	"gasLimitBoundDivisor": "0x0400",
   	"registrar" : "0xe3389675d0338462dC76C6f9A3e432550c36A142000000000000000000000000",
   	"maximumExtraDataSize": "0x20",
   	"minGasLimit": "0x100590",
   	"monetaryPolicyUpdate": "3346000"
},
...
}
  • mastery/mastery.json
{ 
...
"params": {
   	"gasLimitBoundDivisor": "0x0400",
   	"registrar" : "0xe3389675d0338462dC76C6f9A3e432550c36A142000000000000000000000000",
   	"maximumExtraDataSize": "0x20",
   	"minGasLimit": "0x100590",
               "monetaryPolicyUpdate": "2393000"
   },
...
}

Seed Nodes

The seed nodes of Mastery and Mainnet are updated, please replace the following seed nodes with the previous lists:

  • mainnet/mainnet.toml
boot_nodes = [
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303"
]
  • mastery/mastery.toml
boot_nodes = [
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303",
    "p2p://[email protected]:30303"
]
Clone this wiki locally