-
Notifications
You must be signed in to change notification settings - Fork 180
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
Bootstrap From Snapshot Pt. 3: Test Coverage #374
Merged
jordanschalm
merged 35 commits into
feature/serializable-snapshots
from
jordan/4890-pt3
Feb 25, 2021
Merged
Bootstrap From Snapshot Pt. 3: Test Coverage #374
jordanschalm
merged 35 commits into
feature/serializable-snapshots
from
jordan/4890-pt3
Feb 25, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jordanschalm
changed the title
Bootstrap From Snapshot Pt. 3: The Bootstrappening
Bootstrap From Snapshot Pt. 3: Test Coverage
Feb 5, 2021
jordanschalm
changed the base branch from
feature/serializable-snapshots
to
jordan/4890-bootstrap-pt2
February 6, 2021 00:07
Base automatically changed from
jordan/4890-bootstrap-pt2
to
feature/serializable-snapshots
February 8, 2021 17:03
use head when indexing latest seal use head as root block - necessary because the qc included in a snapshot is for the root block -- but may need re-thinking because now we have blocks in storage below the root block
these tests assumed block fixtures always contained guarantees -- updated to explicitly add them each time
it was ignoring functional modifiers
zhangchiqing
approved these changes
Feb 23, 2021
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 good 👍
AlexHentschel
approved these changes
Feb 25, 2021
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.
nice
Co-authored-by: Leo Zhang <zhangchiqing@gmail.com>
jordanschalm
commented
Feb 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket: https://github.com/dapperlabs/flow-go/issues/4890
This is part 3 of supporting bootstrapping from an arbitrary protocol state snapshot (following from #272 and #312).
Changes
Snapshot
interface to combine seal/result query toSealedResult
Bootstrap from Snapshot Pt. 2 #312 (comment)Bootstrap
function into helper functionsinmem.Snapshot#Clustering
where it would not return clustering for set-up but un-committed epochsPayloadFixture
:SetPayload
PayloadFixture(WithSeals(...))
).