Skip to content

Commit

Permalink
feat!: 0.8 support (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: Dalena <[email protected]>
  • Loading branch information
antazoey and dtdang authored Jun 1, 2024
1 parent a74fa89 commit 2a42aef
Show file tree
Hide file tree
Showing 13 changed files with 175 additions and 377 deletions.
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

0 comments on commit 2a42aef

Please sign in to comment.