gpt4 book ai didi

java - OAN - Aion 质押池 - 将 blocksigner 放入 docker 容器中

转载 作者:行者123 更新时间:2023-12-02 09:17:42 24 4
gpt4 key购买 nike

我正在尝试将 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 时,我能够正常运行它。

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

最佳答案

您是否检查过您的 docker 是否没有阻止 rpc 请求?

关于java - OAN - Aion 质押池 - 将 blocksigner 放入 docker 容器中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58882580/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com