Skip to content

Switch tooling from Remix to Foundry - #1

Merged
Yalhash merged 1 commit into
mainfrom
foundry-setup
Nov 10, 2026
Merged

Yalhash merged 1 commit into
mainfrom
foundry-setup

Conversation

@Yalhash

@Yalhash Yalhash commented Nov 10, 2026

Copy link
Copy Markdown
Owner
  • Move contracts/ to src/ and fix import paths (relative imports, @uniswap/v4-core/src/...)
  • Add forge-std v1.17.0, openzeppelin-contracts v5.7.0 and v4-core v4.0.0 as pinned git submodules, with remappings.txt
  • Add foundry.toml (solc 0.8.26, cancun, ci fuzz profile)
  • Replace Remix boilerplate tests/scripts with Foundry tests for SimpleCampaign, TokenCampaign and BlockFund, plus script/Deploy.s.sol
  • Add GitHub Actions workflow running forge build and forge test
  • Fix .gitignore (no longer ignores all *.json), add .env.example
  • Add README with setup, test, deploy and version history

No contract behaviour changes; MixedCampaign bugs are left for a follow-up with dedicated tests.

Claude-Session: https://claude.ai/code/session_0178pC5ovfwig5P4H2dMDwWQ

- Move contracts/ to src/ and fix import paths (relative imports,
  @uniswap/v4-core/src/...)
- Add forge-std v1.17.0, openzeppelin-contracts v5.7.0 and
  v4-core v4.0.0 as pinned git submodules, with remappings.txt
- Add foundry.toml (solc 0.8.26, cancun, ci fuzz profile)
- Replace Remix boilerplate tests/scripts with Foundry tests for
  SimpleCampaign, TokenCampaign and BlockFund, plus script/Deploy.s.sol
- Add GitHub Actions workflow running forge build and forge test
- Fix .gitignore (no longer ignores all *.json), add .env.example
- Add README with setup, test, deploy and version history

No contract behaviour changes; MixedCampaign bugs are left for a
follow-up with dedicated tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178pC5ovfwig5P4H2dMDwWQ
@Yalhash
Yalhash merged commit 4a34c0f into main Nov 10, 2026
2 checks passed
@Yalhash
Yalhash deleted the foundry-setup branch November 10, 2026 16:09
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.

1 participant