Skip to content

Conversation

xenide
Copy link
Contributor

@xenide xenide commented Dec 3, 2024

Given that during via-ir compilations, the block.timestamp variable might be distorted due to optimizations, the more correct way to obtain the block timestamp. See this discussion

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.

ah yeah this should use the (modified) timestamp

@mattsse mattsse merged commit 051fb65 into foundry-rs:master Dec 4, 2024
3 checks passed
@xenide xenide deleted the fix/use-vm-timestamp branch December 7, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants