-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update to latest proofs #6006
Update to latest proofs #6006
Conversation
Fixes #5816 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks acceptable, but needs some more redundant review given what this touches
Verified manually by creating a node, importing those 2 snapshots:
|
@@ -81,3 +81,6 @@ const PropagationDelaySecs = uint64(6) | |||
|
|||
// BootstrapPeerThreshold is the minimum number peers we need to track for a sync worker to start | |||
const BootstrapPeerThreshold = 4 | |||
|
|||
// we skip checks on message validity in this block to sidestep the zero-bls signature | |||
var WhitelistedBlock = MustParseCid("bafy2bzaceapyg2uyzk7vueh3xccxkuwbz3nxewjyguoxvhx77malc2lzn2ybi") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a set of WhitelistedBlocks
and maybe a bitfield/object describing what checks are skipped? E.g.,
type SkippedChecks {
...
}
var WhitelistedBlocks map[cid.Cid]SkippedChecks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we plan to have more than one of those blocks ever
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course not.
We need to test the whitelisted block thing.
lotus-shed sync validate bafy2bzaceapyg2uyzk7vueh3xccxkuwbz3nxewjyguoxvhx77malc2lzn2ybi bafy2bzaced5qjsl2jp4rlxjrwsxovyvayswsufxbst6yan7tijd27cktznxl6 bafy2bzaceb7syjfrkoy4yujiumrdvw23kchm2ilvjyul4yst3tkl7ce62royk bafy2bzacebruywjijmeqyrwsv7m3mtokjkibhgsoymsbopet4f7qzb2dkikkg bafy2bzaceber4ccef75m4ufhq27cxshtuj552c2g5e3psx62557b45it7d6qk
. Should successfully validate.