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

feat!: 0.8 support #103

Merged
merged 7 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
# TODO: Replace with macos-latest when works again.
# https://github.com/actions/setup-python/issues/808
os: [ubuntu-latest, macos-12] # eventually add `windows-latest`
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-version: [3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies: [mdformat-gfm, mdformat-frontmatter]
additional_dependencies: [mdformat-gfm, mdformat-frontmatter, mdformat-pyproject]

default_language_version:
python: python3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Foundry is a development framework written in Rust for Ethereum that includes a

## Dependencies

- [python3](https://www.python.org/downloads) version 3.8 up to 3.12.
- [python3](https://www.python.org/downloads) version 3.9 up to 3.12.
- Foundry. See Foundry's [Installation](https://github.com/foundry-rs/foundry#installation) documentation for steps.

## Installation
Expand Down
5 changes: 4 additions & 1 deletion tests/ape-config.yaml → ape-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
contracts_folder: data/contracts/ethereum/local
contracts_folder: tests/data/contracts/ethereum/local

ethereum:
mainnet:
Expand Down Expand Up @@ -28,6 +28,9 @@ foundry:
sepolia:
upstream_provider: alchemy
block_number: 3091950
holesky:
upstream_provider: alchemy
block_number: 100

test:
# `false` because running pytest within pytest.
Expand Down
3 changes: 3 additions & 0 deletions ape_foundry/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"sepolia": {
0: "london",
},
"holesky": {
0: "london",
},
},
"polygon": {
"mainnet": {
Expand Down
Loading
Loading