Skip to content

Commit

Permalink
test(certora): timestamp conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Jan 16, 2025
1 parent 6cec720 commit d99a897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certora/specs/Marketplace.spec
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ hook Sstore currentContract._marketplaceTotals.sent uint256 defaultValue (uint25
ghost uint64 lastBlockTimestampGhost;

hook TIMESTAMP uint v {
require lastBlockTimestampGhost <= assert_uint64(v);
lastBlockTimestampGhost = assert_uint64(v);
require lastBlockTimestampGhost <= to_uint64(v);
lastBlockTimestampGhost = to_uint64(v);
}

ghost mapping(MarketplaceHarness.SlotId => mapping(Periods.Period => bool)) _missingMirror {
Expand Down

0 comments on commit d99a897

Please sign in to comment.