Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[venus] 模拟主网升级 #4956

Closed
simlecode opened this issue Jun 22, 2022 · 0 comments
Closed

[venus] 模拟主网升级 #4956

simlecode opened this issue Jun 22, 2022 · 0 comments
Assignees
Labels
P1 High - we should be working on this now or in the immediate future

Comments

@simlecode
Copy link
Collaborator

simlecode commented Jun 22, 2022

venus和lotus 通过设置相同的升级高度来模拟主网升级,比较升级后新的root和升级后一个高度的root是否相同

由于升级后获取的beacon的逻辑发生变化,会导致升级高度的后一个高度的区块验证不过,所以需要调整获取beacon的逻辑,让其和升级之前走的逻辑一样

lotus

2022-06-23T21:21:22.611+0800 WARN statemgr stmgr/forks.go:189 COMPLETED migration {"height": "1922800", "from": "bafy2bzacebsicjvrbl3kwdjfkclr3ha5azu6g3m36vhkirvs3ya25wd4ruj2w", "to": "bafy2bzaceamxzlsujftfbfm74urufatiyjheegqqu22awg3ev7woe5dhb6rdq", "duration": 48.28768478}

升级后同步报错

2022-06-23T21:38:00.354+0800 ERROR chain chain/sync_manager.go:253 error during sync in [bafy2bzacec5nyunbh6b5s7hciyetkms5gmyrwattcpuxfsqd6ujdpopszxlmy]: collectChain failed: chain linked to block marked previously as bad ([bafy2bzacec5nyunbh6b5s7hciyetkms5gmyrwattcpuxfsqd6ujdpopszxlmy], bafy2bzacedo6dqivu37q7m42kki3vzgtia6tkkj3g22a66dn25w7rhyjkerms) (reason: linked to bafy2bzacec3tb3i2edsgb7jpuje6spzrp7b5v2ovixrf26fic3fetkqy5r6h6 caused by: [bafy2bzaceb452wybc2k4ahu3jpmo377q2f5b4qepks2dgl3gg2s47dnnrgpdy] 1 error occurred:
* parent state root did not match computed state (bafy2bzacebbfcrirpwjxzps7ufp7zlr4hnyynwesu33pvhkc52gbucyvl4ums != bafy2bzaceacovqiccgwcayxmaejepb7g3kqdp7lioiai2vynud6p7747lfpne):

venus

2022-06-23T21:35:22.047+0800 WARN fork fork/fork.go:502 COMPLETED migration {"height": "1922800", "from": "bafy2bzacebsicjvrbl3kwdjfkclr3ha5azu6g3m36vhkirvs3ya25wd4ruj2w", "to": "bafy2bzaceamxzlsujftfbfm74urufatiyjheegqqu22awg3ev7woe5dhb6rdq", "duration": 35.183583837}

升级后同步报错

tipset({ bafy2bzaceb4of4cdxwp4kbqpjqtqtxtsqqrzx7c3v6lglb5rekwkpjmnbhygw bafy2bzacedejldy7tzs332gec7g3czu6my3hy432x4syq5r7746rxba5oj77q bafy2bzaceb5mkp6oito2zihsnwzkcuoqcswntu7zkpxuuayzto3qzuxf2yxmy bafy2bzacecxnmnzxcaiftsrj3hcu3
vkalmixqy36pu4lsaic4skzigknbyroo bafy2bzaceclaagv7ziqqslpkylc3dcij6oe6ewvippjprqkwnw3if57iedyoc }) state root does not match, computed bafy2bzaceacovqiccgwcayxmaejepb7g3kqdp7lioiai2vynud6p7747lfpne, expected: bafy2bzacebbfcrirpwjxzps7ufp7zlr4hnyynwesu33pvhkc52gbucyvl4ums

@hunjixin hunjixin added P1 High - we should be working on this now or in the immediate future C-need-testing Category: Venus testing related labels Jun 22, 2022
@simlecode simlecode reopened this Jul 4, 2022
@Fatman13 Fatman13 closed this as completed Jul 8, 2022
@Fatman13 Fatman13 removed the C-need-testing Category: Venus testing related label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 High - we should be working on this now or in the immediate future
Projects
Archived in project
Development

No branches or pull requests

3 participants