-
Notifications
You must be signed in to change notification settings - Fork 632
[CBR-482] Implement OBFT block creation/generation #4077
Conversation
67c86a9
to
68d841d
Compare
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.
Please, add CHANGELOG.md entry in OBFT Features subsection.
a066fb5
to
c9f825a
Compare
c546d98
to
49737f7
Compare
122eab2
to
bdc061b
Compare
bdc061b
to
053fa87
Compare
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.
LGTM. Addition of my proposed comment would be nice.
processGenesisBlock genesisConfig ei) | ||
getAdoptedBV | ||
|
||
Original -> pure initialBV |
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 like the refactor here to drop the BlockVersion
arg and instead check getAdoptedBV
inside of verifyBlock
, so that we can catch updates as we go along.
Just leaders -> | ||
maybe onNoLeader | ||
(onKnownLeader leaders) | ||
(leaders ^? ix (fromIntegral $ getSlotIndex siSlot)) |
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.
Context for other reviewers: this part is just the red deletions above, indented over. We hide the whenJust
in this branch of the case
, so that creation of the EBB won't be reported (since we will roll it back shortly).
# Kill all existing cardano-node-simple processes. If there are processes | ||
# still running from previous runs of this script, the test will fail if | ||
# we don't kill them first. | ||
kill_cardano_nodes |
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.
👍
There should be no EBB (epoch boundary block) between the last original epoch and the first OBFT block and the first block of the first OBFT epoch should have its previous block hash point to the last block of the last original epoch.
2476f28
to
ccacf63
Compare
4077: [CBR-482] Implement OBFT block creation/generation r=mhuesch a=intricate ## Description Implementation of block generation/creation for the `OBFT` era. ## Linked issues https://iohk.myjetbrains.com/youtrack/issue/CBR-482 Co-authored-by: Luke Nadur <luke.nadur@iohk.io> Co-authored-by: Michael Hueschen <michael.hueschen@iohk.io> Co-authored-by: Erik de Castro Lopo <erikd@mega-nerd.com> Co-authored-by: Luke Nadur <19835357+intricate@users.noreply.github.com>
Canceled |
bors r+ |
4077: [CBR-482] Implement OBFT block creation/generation r=mhuesch a=intricate ## Description Implementation of block generation/creation for the `OBFT` era. ## Linked issues https://iohk.myjetbrains.com/youtrack/issue/CBR-482 Co-authored-by: Luke Nadur <luke.nadur@iohk.io> Co-authored-by: Michael Hueschen <michael.hueschen@iohk.io> Co-authored-by: Erik de Castro Lopo <erikd@mega-nerd.com> Co-authored-by: Luke Nadur <19835357+intricate@users.noreply.github.com>
Timed out |
tryTimed out |
bors r+ |
4077: [CBR-482] Implement OBFT block creation/generation r=intricate a=intricate ## Description Implementation of block generation/creation for the `OBFT` era. ## Linked issues https://iohk.myjetbrains.com/youtrack/issue/CBR-482 Co-authored-by: Luke Nadur <luke.nadur@iohk.io> Co-authored-by: Michael Hueschen <michael.hueschen@iohk.io> Co-authored-by: Erik de Castro Lopo <erikd@mega-nerd.com> Co-authored-by: Luke Nadur <19835357+intricate@users.noreply.github.com>
Build succeeded |
Description
Implementation of block generation/creation for the
OBFT
era.Linked issues
https://iohk.myjetbrains.com/youtrack/issue/CBR-482
Type of change
Developer checklist
Testing checklist