Skip to content

Conversation

@apbendi
Copy link
Member

@apbendi apbendi commented Nov 7, 2025

This PR:

  • Bumps forge-std to v1.11.0 and adds a forge lockfile (added by foundry) as a result
  • Resolve template imports to avoid new warnings from the Foundry linter. See the commit message for details

These changes resolve warnings on unused imports in the test file. In one case,
the import of console2, we suppress the warning because it's convenient to leave
console2 imported in test files even if not actively used, so it doesn't first have
to be imported by the dev when debugging. Second, we change the deploy script to
return the Counter rather than store it locally. This change resolves the import issue
in an opinionated way: it's better for the script to be stateless anyway.
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Coverage after merging bump-forgestd-1.11.0 into main will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   Counter.sol100%100%100%100%

@thelostone-mc thelostone-mc merged commit 46c6d4b into main Nov 10, 2025
6 checks passed
@thelostone-mc thelostone-mc deleted the bump-forgestd-1.11.0 branch November 10, 2025 09:03
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