Skip to content

Commit

Permalink
Issues discovered during review session
Browse files Browse the repository at this point in the history
  • Loading branch information
yveshauser committed Dec 16, 2024
1 parent 4373c39 commit df09a3d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions formal-spec/Leios/UniformShort.agda
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,11 @@ module Protocol (va : VotingAbstract) (let open VotingAbstract va) where
∙ ffds FFD.-⟦ Fetch / FetchRes msgs ⟧⇀ ffds'
───────────────────────────────────────────────────────────────────────
just s -⟦ SLOT / EMPTY ⟧⇀ record s
{ FFDState = ffds'
; Ledger = constructLedger rbs
; slot = suc slot
; Upkeep =
{ FFDState = ffds'
; BaseState = bs'
; Ledger = constructLedger rbs
; slot = suc slot
; Upkeep =
} ↑ L.filter isValid? msgs

Ftch :
Expand Down Expand Up @@ -146,7 +147,7 @@ module Protocol (va : VotingAbstract) (let open VotingAbstract va) where
∙ [] ≡ filter (λ eb isVoteCertified s eb × eb ∈ᴮ slice L slot 2) EBs
∙ bs B.-⟦ B.SUBMIT (that ToPropose) / B.EMPTY ⟧⇀ bs'
───────────────────────────────────────────────────────────────────────
just s -⟦ SLOT / EMPTY ⟧⇀ addUpkeep s Base
just s -⟦ SLOT / EMPTY ⟧⇀ addUpkeep record s { BaseState = bs' } Base

-- Protocol rules

Expand Down

0 comments on commit df09a3d

Please sign in to comment.