Open zbc163001 opened 7 years ago
root@zbc:/opt/bcos/systemcontractv2# babel-node tool.js NodeAction registerNode node1.json RPC=http://192.168.59.135:8545 Ouputpath=./output/ { HttpProvider: 'http://192.168.59.135:8545', Ouputpath: './output/', privKey: 'b1c51744054feb09854b5eaa7168900d8efe2749b84a0ac23c924ba3fd9d1f82', account: '0xc804de0d092d470b8e18192caf7be29e57f31270' } Soc File :NodeAction Func :registerNode 系统合约地址0x990af854eaaaa50d52ef4f40f60d714ae759883d node.json=node1.json NodeAction合约地址0x 发送交易成功: 0xb90ae0ce6fea99d2363e07ab43f90176e29adf748b17cc597a42a0d517635c32
系统合约部署没有正确,建议重新部署一下系统合约,确保部署过程中看见NodeAction合约部署正确的提示。然后更新系统合约代理地址到config.json,重启节点
嗯嗯已解决
root@zbc:/opt/bcos/systemcontractv2# babel-node tool.js NodeAction registerNode node1.json RPC=http://192.168.59.135:8545 Ouputpath=./output/ { HttpProvider: 'http://192.168.59.135:8545', Ouputpath: './output/', privKey: 'b1c51744054feb09854b5eaa7168900d8efe2749b84a0ac23c924ba3fd9d1f82', account: '0xc804de0d092d470b8e18192caf7be29e57f31270' } Soc File :NodeAction Func :registerNode 系统合约地址0x990af854eaaaa50d52ef4f40f60d714ae759883d node.json=node1.json NodeAction合约地址0x 发送交易成功: 0xb90ae0ce6fea99d2363e07ab43f90176e29adf748b17cc597a42a0d517635c32