-
Notifications
You must be signed in to change notification settings - Fork 12
Migration from AionR 0.1.* to AionR 0.2.*
MiaoShi09 edited this page May 23, 2019
·
5 revisions
Since AVM is built from Java. AionR 0.2.0 now requires new dependencies:
- JDK 11 or Higher
- Apache Ant 10 (required when building the Kernel from source)
- Setup Environment Variables:
- For launching Kernel: User-Manual
- For building Kernel: Build AionR Kernel AVM
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"
},
...
}
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"
]
Basic
Kernel Configuration
- Build AionR Kernel
- JSON-RPC APIs Doc
- JSON-RPC APIs Rust vs Java
- Wallet
- Genesis Block
- Configuration File and Command Line Interface
- Log Targets Table
- Aion Seed Nodes
- Migration From 0.1.* to 0.2
DApp Developers
Tutorials