Skip to content

chore(cheatcodes): solc 0.6.2 compatibility#7694

Merged
mattsse merged 1 commit into
foundry-rs:masterfrom
grandizzy:std-fixes
Apr 17, 2024
Merged

chore(cheatcodes): solc 0.6.2 compatibility#7694
mattsse merged 1 commit into
foundry-rs:masterfrom
grandizzy:std-fixes

Conversation

@grandizzy

@grandizzy grandizzy commented Apr 17, 2024

Copy link
Copy Markdown
Collaborator

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

@mattsse mattsse left a comment

Copy link
Copy Markdown
Member

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
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