diff --git a/scratch/__init__.py b/scratch/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/scratch/tenderly_fork.py b/scratch/tenderly_fork.py deleted file mode 100644 index 5281a2e..0000000 --- a/scratch/tenderly_fork.py +++ /dev/null @@ -1,16 +0,0 @@ -import pytest -import requests -import web3 - - -@pytest.fixture(scope="module", autouse=True) -def tenderly_fork(): - fork_base_url = "https://simulate.yearn.network/fork" - payload = {"network_id": "1"} - resp = requests.post(fork_base_url, headers={}, json=payload) - fork_id = resp.json()["simulation_fork"]["id"] - fork_rpc_url = f"https://rpc.tenderly.co/fork/{fork_id}" - print(fork_rpc_url) - tenderly_provider = web3.HTTPProvider(fork_rpc_url, {"timeout": 600}) - web3.provider = tenderly_provider - print(f"https://dashboard.tenderly.co/yearn/yearn-web/fork/{fork_id}")