filecoin-project / venus

Filecoin Full Node Implementation in Go
https://venus.filecoin.io
Other
2.06k stars 463 forks source link

[venus] NV21 simulation upgrade / nv21 模拟升级 #6199

Closed simlecode closed 11 months ago

simlecode commented 1 year ago

Sophon Service / 智子服务

Description / 描述

simlecode commented 1 year ago

测试主网升级之后的 root

高度

3356369

兼容版lotus

版本:1.24.0-rc4+mainnet+git.e41f1277d

日志:

2023-11-03T15:45:59.425+0800 WARN statemgr stmgr/forks.go:210 COMPLETED migration {"height": "3356369", "from": "bafy2bzaceby6vrib3zty6dfounfvf444wbpjr5kcior5fxd5xedjkexdeljcy", "to": "bafy2bzacedcqvkmzuf66yntgudt3eekw5h2i6ck4rmqfg4npn5yih3jsdbxno", "duration": 52.903761798}

2023-11-03T15:48:00.410+0800 ERROR chain chain/sync_manager.go:254 error during sync in [bafy2bzacecikke2jd4l4uvmtepu2xfhbhopunaqnd56vcrcz5c47rtnel2n5s]: collectChain failed: chain linked to block marked previously as bad ([bafy2bzacecikke2jd4l4uvmtepu2xfhbhopunaqnd56vcrcz5c47rtnel2n5s], bafy2bzacedzdvfyctp4goiahtb6jteq7dhcjxv7x7zae4wssvxal3rs6fl5ea) (reason: linked to bafy2bzacebdbzkb7jn56kb7evr7qomkp4yik4kzyfteei2afux7lvkntzw6ou caused by: [bafy2bzaceaiktq3k43jove445otzkoyn2gwdgqqdjoout3osl56ohmfducar2] 1 error occurred:

venus

版本:1.14.0-rc4+git.36e61769

日志:

2023-11-03T17:43:20.879+0800 WARN fork fork/fork.go:668 COMPLETED migration {"height": "3356369", "from": "bafy2bzaceby6vrib3zty6dfounfvf444wbpjr5kcior5fxd5xedjkexdeljcy", "to": "bafy2bzacedcqvkmzuf66yntgudt3eekw5h2i6ck4rmqfg4npn5yih3jsdbxno", "duration": 1110.537462816}

2023-11-03T17:43:38.856+0800 INFO chainsync.dispatcher dispatcher/dispatcher.go:292 failed sync of { bafy2bzacecegta6l42frd4ydjkbvh5ubjdghrhbpwaj6l6bifxsf63eb5c6so bafy2bzacealotr6js564sjeqk5vzbxzhz7ewgu7odzbjshhsj4xmbmsp2awhk bafy2bzaced4zywodj7dc5n6rcca6n2nkoobf26qlfgft3lnveiam3c7vxb6oa } at 3356569 process message failed failed to sync tipset { bafy2bzaceb5uim63tsi3s3ekql7f7qzltdmhin4xn2dcomv67yk4qicc46h3w bafy2bzacedz3aeklzldm6jvjsbciq6ly6onsufooskfs7cjr5de2lcp265acu bafy2bzaceaiktq3k43jove445otzkoyn2gwdgqqdjoout3osl56ohmfducar2 bafy2bzacecztwsnq5lslpu3xiyuqniudgxsozgvcil7chcms6jcxxupjqnadu }, number 3 of 8 in chain: validate mining failed 3 errors occurred:

检查

todo: venus actor 迁移耗时太长???

simlecode commented 11 months ago
2023-11-23T09:57:00.634+0800    WARN    statemgr        stmgr/forks.go:213      COMPLETED migration     {"height": "3409980", "from": "bafy2bzacebujdlrmjau3p5wvamsh7rdmra3og7t52xxh3set4zevs5qvrq3pg", "to": "bafy2bzacebg5eynqgthxwsqw6fbkk5dxscyw7e7mdp5vxpwhmyorkbdhq6oia", "duration": 3819.015332942}

2023-11-23T10:02:32.485+0800    ERROR   chain   chain/sync_manager.go:254       error during sync in [bafy2bzaced4thfbcwc4yfec2dxtzqi3xdaer22uzc5cyuaneyh3b6idccpvbc]: collectChain failed: chain linked to block marked previously as bad ([bafy2bzaced4thfbcwc4yfec2dxtzqi3xdaer22uzc5cyuaneyh3b6idccpvbc], bafy2bzacea5mwsqpzmmr4xqkj4vg2ldagzktmy6rfrvi2qlzuw67k6ak7qj6k) (reason: linked to bafy2bzaceb6rrix76obg42df4k4bmjigdbmx3frgaak347n2hkbflt4jaxtis caused by: [bafy2bzacebaymlp4chmm52y3vuwmbxmwujw5qqhmojma4dpsguxiftsulbudy] 1 error occurred:
        * parent state root did not match computed state (bafy2bzacedznpz23dstnyty4q5laesu24awwii57gysy5lurisjghtv7ygkgm != bafy2bzacebuyumq7law4tko3e6zyhwp6ddo6rj52f4dtpknvqd67q6nq3g3pi):
    github.com/filecoin-project/lotus/chain/consensus.CommonBlkChecks.func3
        /root/hj/lotus/chain/consensus/common.go:118

2023-11-22T18:28:04.970+0800    WARN    fork    fork/fork.go:678        COMPLETED migration     {"height": "3409980", "from": "bafy2bzacebujdlrmjau3p5wvamsh7rdmra3og7t52xxh3set4zevs5qvrq3pg", "to": "bafy2bzacebg5eynqgthxwsqw6fbkk5dxscyw7e7mdp5vxpwhmyorkbdhq6oia", "duration": 2118.323295764}

 2023-11-23T08:52:04.055+0800    INFO    chainsync.dispatcher    dispatcher/dispatcher.go:292    failed sync of { bafy2bzacedkl3hem73ac7dea2ntzsoif3rpkzeukaqiq547iltm5qrmbevlvg } at 3413144  process message failed failed to sync tipset { bafy2bzacebaymlp4chmm52y3vuwmbxmwujw5qqhmojma4dpsguxiftsulbudy bafy2bzacecseyfmfrz6y66ztuk2uvom7xm6upiptqdqhjld7tvwzvl7vur3dm bafy2bzacecxajcqdvloi6qibbecvuhd52ry4tegughlhg5eab43d7nq2gpaug bafy2bzacedcowbnn2hkxrzq4psbkvkj5wk4cdrfkhkh3wj5z5figm2nlck5um bafy2bzacecvkwipikdrhxgrh5ty23ezykdrsiem3ltppmmdy25rd2jxo6qk72 bafy2bzacebhfrkoz73phy5lstiu265rx7gr4g3dzgzuu3q6rhjyi5jiss235u }, number 1 of 8 in chain: validate mining failed 3 errors occurred:
        * tipset({ bafy2bzaceajskku2m62aonumdatpe3orsnajtidxzodnyx4ilzmt7ualrizy2 bafy2bzacebemcvkpplqapewj7pwf77wmaeu6zallruphd23bryxljltfv6rve bafy2bzacecs6pmvz4rg3oeamx37p3sksvrcdp5lelupejv23sv3lbkljgbx3q }) state root does not match, computed bafy2bzacebuyumq7law4tko3e6zyhwp6ddo6rj52f4dtpknvqd67q6nq3g3pi, expected: bafy2bzacedznpz23dstnyty4q5laesu24awwii57gysy5lurisjghtv7ygkgm
        * block had invalid messages: loading state: failed to load state tree: bafy2bzacedznpz23dstnyty4q5laesu24awwii57gysy5lurisjghtv7ygkgm failed to load hamt node: ipld: could not find bafy2bzacedznpz23dstnyty4q5laesu24awwii57gysy5lurisjghtv7ygkgm
        * tipset({ bafy2bzaceajskku2m62aonumdatpe3orsnajtidxzodnyx4ilzmt7ualrizy2 bafy2bzacebemcvkpplqapewj7pwf77wmaeu6zallruphd23bryxljltfv6rve bafy2bzacecs6pmvz4rg3oeamx37p3sksvrcdp5lelupejv23sv3lbkljgbx3q }) state root does not match, computed bafy2bzacebuyumq7law4tko3e6zyhwp6ddo6rj52f4dtpknvqd67q6nq3g3pi, expected: bafy2bzacedznpz23dstnyty4q5laesu24awwii57gysy5lurisjghtv7ygkgm, blocks state root does not match computed result