Skip to content

Commit

Permalink
chore(specs): Fix new errors yielded by latest Quint version (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
romac authored Jun 9, 2024
1 parent 3131656 commit c610128
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion specs/quint/specs/reset.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ action addL1Block = all {
nondet someHeight = (-1).to(L2.length() - 1).oneOf()
nondet blocktimeDelta = 1.to(MaxEthBlockTime).oneOf()
val newproof = makeProof(L2, someHeight, L1) // if someheight < provenHeight this will give Invalid proof
val submProof = Set(newproof, None).oneOf()
nondet submProof = Set(newproof, None).oneOf()
L1' = L1.append(newL1Block(L1.last(), envRegs, submProof, blocktimeDelta)),
L2' = L2,
envRegs' = Set(),
Expand Down
4 changes: 2 additions & 2 deletions specs/quint/tests/consensus/consensusTest.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ module consensusTest {
}

action step =
nondet h = 1 //oneOf(1.to(4))
nondet r = 0 //oneOf(1.to(4))
nondet h = oneOf(1.to(4))
nondet r = oneOf(1.to(4))
nondet v = oneOf(Set("A", "B", "C"))
nondet vr = oneOf(Set(-1, 1, 2, 3, 4))
any {
Expand Down

0 comments on commit c610128

Please sign in to comment.