Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cheatcodes): solc 0.6.2 compatibility #7694

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

grandizzy
Copy link
Collaborator

@grandizzy grandizzy commented Apr 17, 2024

Motivation

accommodate new cheatcodes in forge-std, solc 0.6.2 compatibility
foundry-rs/forge-std#539 (comment)

Solution

  • fix isContext shadowing in isContext cheatcode
  • use calldata location for input in indexOf cheatcode

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.

nice

@mattsse mattsse merged commit 46abc42 into foundry-rs:master Apr 17, 2024
19 checks passed
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.

2 participants