Skip to content

Commit

Permalink
Merge branch 'josef/resetQuint' of github.com:informalsystems/malachi…
Browse files Browse the repository at this point in the history
…te into josef/resetQuint
  • Loading branch information
josef-widder committed Apr 17, 2024
2 parents 767b795 + 0e867ed commit 9fa2d74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specs/quint/specs/reset.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ pure def L1Epoch(b: L1Block) : int =
b.height / L1EpochSize

pure def staleRegs (b: L1Block) : Set[Registration] =
b.pendingRegistrations.filter(r => r.eth_epoch + 1 < b.height / L1EpochSize)
b.pendingRegistrations.filter(r => r.eth_epoch + 2 <= b.height / L1EpochSize)


pure def existsStale (b: L1Block) : bool =
staleRegs(b).size() > 0
Expand Down

0 comments on commit 9fa2d74

Please sign in to comment.