错误信息
自己部署节点,调用eth_estimateGas
、eth_call
接口时,出现类似以下错误:
{"jsonrpc":"2.0","id":"1","error":{"code":-32000,"message":"panic: recovered: must use 'VerifySig' with a chain ID to get the from addr\nstack:\ngoroutine 21654439 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0x65\ngithub.com/okx/exchain/libs/cosmos-sdk/baseapp.(*BaseApp).runTx_defer_recover(0xdc7d2a, {0x170ac20, 0x1dddab0}, 0xc004b34e00)\n\t/root/exchain/libs/cosmos-sdk/baseapp/baseapp_runtx.go:222 +0x165\ngithub.com/okx/exchain/libs/cosmos-sdk/baseapp.(*BaseApp).runtxWithInfo.func1()\n\t/root/exchain/libs/cosmos-sdk/baseapp/baseapp_runtx.go:71 +0x65\npanic({0x170ac20, 0x1dddab0})\n\t/usr/local/go/src/runtime/panic.go:1038
解决方案
修改或添加节点配置--mempool.recheck=false
,重启节点。