Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Add a task that resulted from writing the deliverable D.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadales committed May 4, 2021
1 parent 60b0293 commit 89ce298
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -439,7 +439,14 @@ updateEventTransitionsForUpdateSpecAreValid updateSpec trace = do
(E BeingEndorsed fragment') = do
-- The current protocol version must be the version that the update
-- proposal supersedes.
--
-- todo: why aren't we checking this as well?
-- getCurrentProtocolVersion (firstState fragment')
-- ==! supersedesVersion (getProtocol updateSpec)
-- getCurrentProtocolId (firstState fragment')
-- ==! supersedesId (getProtocol updateSpec)
supersedesId (getProtocol updateSpec) ==! _id (getCurrentProtocol st')

-- All the queued proposals must have a version higher than this proposal.
forall
(candidatesIn fragment' `withIdDifferentFrom` updateSpec)
Expand Down

0 comments on commit 89ce298

Please sign in to comment.