Skip to content

Commit

Permalink
Revert the timestamp change
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Nov 29, 2023
1 parent 4238978 commit 2d1a874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/difference/core/quint_model/ccv.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ module ccv {
val sentVscPacketsToConsumer = providerState.sentVscPacketsToConsumer.get(consumer)
if(sentVscPacketsToConsumer.length() > 0) {
val oldestSentVscPacket = sentVscPacketsToConsumer.head() // if length is 0, this is undefined, but we check for this before we use it
if(oldestSentVscPacket.sendingTime + VscTimeout < providerState.chainState.lastTimestamp) {
if(oldestSentVscPacket.sendingTime + VscTimeout < providerState.chainState.runningTimestamp) {
(true, "")
} else {
// no timeout yet, it has not been VscTimeout since that packet was sent
Expand Down
2 changes: 1 addition & 1 deletion tests/difference/core/quint_model/ccv_model.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ module ccv_model {
EndAndBeginBlockForProvider(VscTimeout + 1 * Second, Set(), Set())
)
.then(
// end a block with the advanced time
// eenter the advanced time on chain
EndAndBeginBlockForProvider(1 * Second, Set(), Set())
)
.then(
Expand Down

0 comments on commit 2d1a874

Please sign in to comment.