共识节点区块高度无法同步
【问题分类】
- bug
- P2P网络相关(包含libp2p,liquid)
- 链账户身份与权限相关(证书问题、public、多签投票问题)
- 核心交易引擎相关(交易池、DAG)
- 共识相关
- 智能合约相关
- 存储相关
- SDK相关
- 长安链CMC工具
- 长安链管理台
- 长安链浏览器
- 长安链合约IDE
- 长安链web签名插件
- 跨链相关
- 轻节点相关
- 隐私计算相关
- 密码学相关
- 环境依赖
- 其他补充:
【问题描述】(请对问题进行描述,方便定位问题)
其中一个节点一直无法同步区块高度。到443高度就卡住了 麻烦看下什么问题
具体的现象,操作步骤,前置条件等,尽可能描述清楚,有截图说明更佳
【相关日志文件】(如果有报错日志请贴图,或者上传附件)
2022-06-22 14:52:00.576 [INFO] [Core] @chain2 common/block_helper.go:610 Validate block444, time used(new snapshot:0, start DB transaction:0, vm:2) 2022-06-22 14:52:00.576 [INFO] [TxPool] @chain2 v2@v2.2.2/tx_pool_impl.go:441 GetTxsByTxIds, txs:[want:1,get:0 indb:0], elapse time: [get:-1655880720576,db:1655880720576,total:0ms] 2022-06-22 14:52:00.576 [ERROR] [Core] @chain2 common/tx_helper.go:244 tx[c50fed2375f645188905d06111bc380fa4b2bf98e75343279c4d43aa4ce0ee3f] rwset hash expect 336c5077d9ee7b04892a1617266efe60877db09186d23994141e6f98532287f8, got 9b8ef4e04fa55fc593e469f0a3b66638e9a1a46628c697ea3ed2f3a3ea32c23d, rwset details:{"tx_id":"c50fed2375f645188905d06111bc380fa4b2bf98e75343279c4d43aa4ce0ee3f","tx_reads":[{"key":"OTA3YjFlNDQwMzQwZjhmNTYwYWNlMjYwN2RkZWM4MmY4OGY3MTg4ZDk4NzQ2ZmU4NWI4NjUyMjU3MmQ4OTE4YQ==","contract_name":"nft"},{"key":"dGhuX25mdF85MDdiMWU0NDAzNDBmOGY1NjBhY2UyNjA3ZGRlYzgyZjg4ZjcxODhkOTg3NDZmZTg1Yjg2NTIyNTcyZDg5MThh","value":"eyJuZnROYW1lIjoi5Yib5LiW6aKG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YzBhMDU3MzJjZjA0ODBhZWUwZWVmNmEzMjNkMDVmZWM=","value":"MTI2","contract_name":"nft"},{"key":"dGhuX25mdF9kNTY5YWI2YzJmNmRlYWY1OGM5YzE3MDNhNTZiY2U4ZGMwYTA1NzMyY2YwNDgwYWVlMGVlZjZhMzIzZDA1ZmVj","value":"eyJvd25lcl9hZGRyZXNzIjoiWlg2Y2QwMzdjZGI2MzFiMTVlZmQ2MGNhNjM3OTc1YjdiM2I1MTZkYzVmIiwiYXNzZXRfaWQiOiI5MDdiMWU0NDAzNDBmOGY1NjBhY2UyNjA3ZGRlYzgyZjg4ZjcxODhkOTg3NDZmZTg1Yjg2NTIyNTcyZDg5MThhIiwiX3VybCI6IjdkMTM4YjY4NzkxZWMyMzMxYTI0N2Y4M2NmNmVhZGM5OGFiNjk4MzJmYTU2YmZiMmI5NDM3MGRhNzE5NjgyMTEiLCJfZGF0YSI6IumihuiIquiAheW+veeroOaYr+eBtemtguWcuuaZr+W5s+WPsOWIm+S4luezu+WIl+aVsOWtl+iXj+WTgeOAguW+veeroOeahOS4u+S9k+mDqOWIhuiuvuiuoeS7peWuh+Wumem7kea0nuS4uueBteaEn++8jOm7kea0nuWlh+eCueWdkOiQveedgOeBtemtguWcuuaZr+W5s+WPsOeahCBMT0dP77yM5b6956ug5Lit5Lqk6ZSZ55qE546v57q/5Liy6IGU6LW35aSa5YWD55qEIDNEIOiZmuaLn+S4lueVjOWcuuaZr++8jOaVo+iQveWcqOm7kea0nuWlh+eCueWRqOWbtO+8jOmihOekuuedgOaIkeS7rOaOoue0oueahOWFg+Wuh+WumeS5i+a1qeeAmuOAguaMgeaciemihuiIquiAheW+veeroO+8jOaIkOS4uueBtemtguWcuuaZr+W5s+WPsOWIm+S4lumihuiIquiAheeUqOaIt++8jOWPr+aLpeacieW5s+WPsOWQjue7readg+ebiuOAgiJ9","contract_name":"nft"}]} 2022-06-22 14:52:00.576 [WARN] [Core] @chain2 verifier/block_verifier_impl.go:196 verify failed 444,preBlockHash:5ded39f1532c485ca03a04a7a32fbbe540719798f79e1139873e08c0ae5dfec0, verify failed 444, tx verify error, batch num mismatch, received: 0,expected:1 2022-06-22 14:52:00.576 [WARN] [Sync] @chain2 sync/blockchain_sync_server.go:421 fail to verify the block whose height is 444, err: verify failed 444, tx verify error, batch num mismatch, received: 0,expected:1 2022-06-22 14:52:00.576 [INFO] [Sync] @chain2 sync/processor.go:128 process block [height: 444] success, status [4] 2022-06-22 14:52:00.873 [INFO] [Consensus] @chain2 v2@v2.2.1/gossip.go:225 [QmbEUdTtoQHXRn3QGvjg87gBYvVFJprwFYj4srTj8o9pS2] receive state QmTfFvHmXaSexuXhxT2MtSF8qLC4DsxJsNCiyuUStKwQ5p(1506/12/PROPOSE) 2022-06-22 14:52:00.873 [INFO] [Consensus] @chain2 v2@v2.2.1/gossip.go:225 [QmbEUdTtoQHXRn3QGvjg87gBYvVFJprwFYj4srTj8o9pS2] receive state QmRH337PWjMX8JTd2uwkx5pL2VgnNYqRQsGP1iAaMyiVNG(1506/12/PROPOSE) 2022-06-22 14:52:00.873 [INFO] [Consensus] @chain2 v2@v2.2.1/gossip.go:225 [QmbEUdTtoQHXRn3QGvjg87gBYvVFJprwFYj4srTj8o9pS2] receive state QmTjM6oeuzRsYHrjzhLZdx3e2W7xXx4GQkcK1g3qg5gkNV(1506/12/PROPOSE) 2022-06-22 14:52:00.972 [INFO] [Consensus] @chain2 v2@v2.2.1/peerstate.go:318 QmbEUdTtoQHXRn3QGvjg87gBYvVFJprwFYj4srTj8o9pS2 gossip (444/0/PREVOTE) to QmTjM6oeuzRsYHrjzhLZdx3e2W7xXx4GQkcK1g3qg5gkNV 2022-06-22 14:52:00.972 [INFO] [Consensus] @chain2 v2@v2.2.1/peerstate.go:318 QmbEUdTtoQHXRn3QGvjg87gBYvVFJprwFYj4srTj8o9pS2 gossip (444/0/PREVOTE) to QmRH337PWjMX8JTd2uwkx5pL2VgnNYqRQsGP1iAaMyiVNG
【系统信息】(请填写系统信息,方便定位问题)
- chainmaker-go version * : [v2.1.0]
- OS & version * :
- docker镜像 version:
-
管理台 version:
- 如果是管理台的相关问题,请附带管理台版本,如果不是可忽略。
-
区块浏览器 version:
- 如果是浏览器的相关问题,请附带浏览器版本,如果不是可忽略。
-
合约IDE version:
- 如果是合约IDE的相关问题,请附带合约IDE版本,如果不是可忽略。
-
web签名插件 version:
- 如果是web签名插件的相关问题,请附带web签名插件版本,如果不是可忽略。