Skip to content

Commit

Permalink
Add chain_id assert we are running tests in a right fork (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama authored Dec 4, 2024
1 parent 101fc31 commit 34ef198
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/velvet/test_velvet_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def anvil_base_fork(request, vault_owner, usdc_holder, deposit_user) -> AnvilLau
:return: JSON-RPC URL for Web3
"""
assert JSON_RPC_BASE is not None, "JSON_RPC_BASE not set"
launch = fork_network_anvil(
JSON_RPC_BASE,
unlocked_addresses=[vault_owner, usdc_holder, deposit_user],
Expand Down

0 comments on commit 34ef198

Please sign in to comment.