初始化创世区块文件出错

cd ~/platon-node && platon --datadir ./data init genesis.json

Fatal: invalid genesis file: json: cannot unmarshal hrpDecode not compare the current net,want atx,have atp into Go struct field innerAccount.economicModel.innerAcc.platonFundAccount of type common.Address

文档: https://devdocs.alaya.network/alaya-devdocs/zh-CN/Join_Alaya_NetWork/#加入alaya开发网络

platon二进制是否是0.15.1版本的吗?执行:platon version 检查一下。

是 0.15.0-unstable ,我再试一下 0.15.1

image

换了 0.15.1版本后,成功了,谢谢