Migrate project from Brownie to Ape tooling - #30
Merged
Conversation
Replace Brownie-based workflow with Ape + Foundry.
YoshihitoAso
marked this pull request as draft
May 13, 2026 00:00
YoshihitoAso
marked this pull request as ready for review
May 13, 2026 00:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Description
This pull request migrates the project from the Brownie framework to the Ape framework for smart contract development, testing, and dependency management. The migration includes changes to the build system, configuration files, dependencies, and test infrastructure to fully adopt Ape and Foundry.
✅ Related Issues
None
🔄 Changes
Build and Dependency Management Migration:
Makefile,.github/workflows/pr.yml, andpyproject.toml. Added corresponding Ape plugins and removed Brownie-specific commands and dependencies.ape-config.yamlfor Ape project configuration, including plugins, dependencies (OpenZeppelin), compiler settings, and network configuration. Removedbrownie-config.yamlanddata/networks.yml.Testing and CI Improvements:
tests/run_anvil_test.sh) and revised test fixtures intests/conftest.py. Removed Brownie-specific test utilities (tests/brownie_utils.py).Python Utilities and Compatibility:
app/utils/contract_utils.py.web3_utils.pyto use the correct POA middleware import for compatibility with the latest web3 versions.📌 Checklist