-
Notifications
You must be signed in to change notification settings - Fork 87
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 dependencies #1542
Update dependencies #1542
Conversation
Just signature -> do | ||
-- TODO : We should not update the key on each signing, but X slots | ||
-- (for configurable param X) | ||
newKey <- fromMaybe (error "mkOutoborosPayload: updateKES failed") <$> updateKES () keyKES |
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.
@nc6 can you have a look at this. The KES API has been fixed and so this bit here needs updating. We need: 1. to separate key evolution from block signing, we only evolve the key based on slots (slots equivalent to 24 hrs in Shelley), and 2. KES evolutions are finite, when we run out we can not longer sign blocks, and we need a new operational cert.
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.
Note that this is the mock Praos implementation, not the real one.
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 have no idea what I am doing this far down the stack.
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.
No, of course, I'd not expect anyone to be able to apply a real update in the underlying crypto interface to make changes to a specific (and non-trivial) consensus protocol :)
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.
Will need updates in the Praos code for the KES API changes, but that's still work in progress, so this is fine.
7574c05
to
f3be3ae
Compare
f3be3ae
to
3bb910d
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.
Pushed a commit that disables the Praos tests for now. We need to re-enable them of course but they are not needed for Byron and we need to unblock this.
Created a ticket for re-enabling these tests at #1545 . |
bors r+ |
No description provided.