我正在尝试将blocksigner.jar放入单独的docker容器中以进行自动部署-但是我一直收到此错误:

 java -jar block_signer.jar -config config.properties
[2019-11-15T13:44:32.716Z] Retrieving the coinbase address from the StakerRegistry at a000000000000000000000000000000000000000000000000000000000000000...
[2019-11-15T13:44:32.834Z] eth_call payload: {"jsonrpc":"2.0","method":"eth_call","params":[{"to" : "0xa000000000000000000000000000000000000000000000000000000000000000","data" : "0x210012676574436f696e626173654164647265737322a0e79df21eaec4e1691b45415ec4f536dd393669ad4074c3a8096147230cc634"},"latest"],"id":1}
[2019-11-15T13:44:32.886Z] eth_call response: InternalRpcResult { unsuccessful due to: unknown error }
Exception in thread "main" org.aion.avm.userlib.abi.ABIException: Tried to decode from a null or empty data field.
        at org.aion.avm.userlib.abi.ABIDecoder.checkNullEmptyData(ABIDecoder.java:803)
        at org.aion.avm.userlib.abi.ABIDecoder.decodeOneAddress(ABIDecoder.java:465)
        at org.aion.staker.BlockSigner.getCoinbaseAddress(BlockSigner.java:174)
        at org.aion.staker.BlockSigner.main(BlockSigner.java:77)


我想知道我是否缺少依赖项,或者为什么我会一直遇到这个依赖项?

当我在与节点相同的容器中运行blocksigner时,我可以正常运行。

有什么想法吗?先感谢您!

最佳答案

您是否检查过您的码头工人是否没有阻止rpc请求?

关于java - OAN-永恒之塔放样池-将BlockSigner放置在Docker容器中,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/58882580/

10-11 06:16