Skip to content

Commit

Permalink
launch_anvil should use latest hardfork by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuh25 committed Oct 15, 2024
1 parent 07de707 commit e99b137
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Current

- Change `launch_anvil()` to use latest hardfork by default instead of `london`

# 0.26.1

- Add: TokenSniffer API wrapper with a persistent cache
Expand All @@ -6,7 +10,7 @@

# 0.26

- Add: dRPC ` x-drpc-provider-id` header support for troubleshooting issues with decentralised node providers
- Add: dRPC `x-drpc-provider-id` header support for troubleshooting issues with decentralised node providers
- Fixed: Whitelist HTTP 403 Forbidden for dRPC as a retryable error
- Add: `wait_and_broadcast_multiple_nodes(inter_node_delay)` to fix Alchemy https://github.com/ethereum/go-ethereum/issues/26890
- Internal change: Move `deploy_guard()` to its own function and refactor Enzyme vault deployment to more manageable
Expand Down
4 changes: 2 additions & 2 deletions eth_defi/provider/anvil.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from requests.exceptions import ConnectionError as RequestsConnectionError
from web3 import HTTPProvider, Web3

from eth_defi.utils import is_localhost_port_listening, shutdown_hard, find_free_port
from eth_defi.utils import find_free_port, is_localhost_port_listening, shutdown_hard

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -200,7 +200,7 @@ def launch_anvil(
block_time=0,
launch_wait_seconds=20.0,
attempts=3,
hardfork="london",
hardfork: str | None = None,
gas_limit: Optional[int] = None,
steps_tracing=False,
test_request_timeout=3.0,
Expand Down

0 comments on commit e99b137

Please sign in to comment.