Skip to content

Conversation

@grandizzy
Copy link
Collaborator

@grandizzy grandizzy commented Nov 20, 2025

Motivation

		vm.warp(block.timestamp + 446165);
		vm.roll(block.number + 28222);
		vm.prank(0x000000000000000000000000000000000000024c);
		Counter(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f).increment();

and in regular counterexample as

		sender=0x000000000000000000000000000000000000024c addr=[src/Counter.sol:Counter]0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f warp=446165 roll=28222 calldata=increment() args=[]

CC @rappie

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@grandizzy grandizzy marked this pull request as ready for review November 20, 2025 11:17
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I see,

this checks out, lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

feat(invariant): fuzz timestamp and block number for each consecutive transaction

4 participants