From a0811e05c0c69649ac9737f603502723b6cece82 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Wed, 4 Dec 2024 13:40:51 +0100 Subject: [PATCH 1/2] Diagnosing Enso errors --- tests/velvet/test_velvet_api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/velvet/test_velvet_api.py b/tests/velvet/test_velvet_api.py index 5f011bab..d78c8ba2 100644 --- a/tests/velvet/test_velvet_api.py +++ b/tests/velvet/test_velvet_api.py @@ -54,7 +54,6 @@ def anvil_base_fork(request, vault_owner, usdc_holder, deposit_user) -> AnvilLau launch = fork_network_anvil( JSON_RPC_BASE, unlocked_addresses=[vault_owner, usdc_holder, deposit_user], - fork_block_number=23261311, ) try: yield launch From be0b6b00360e237ffd0ac1dd094aa2a5f5838c32 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Wed, 4 Dec 2024 14:02:06 +0100 Subject: [PATCH 2/2] Increase Velvet API timeout --- tests/velvet/test_velvet_api.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/velvet/test_velvet_api.py b/tests/velvet/test_velvet_api.py index d78c8ba2..9a6d87ab 100644 --- a/tests/velvet/test_velvet_api.py +++ b/tests/velvet/test_velvet_api.py @@ -85,7 +85,10 @@ def web3(anvil_base_fork) -> Web3: make_anvil_custom_rpc_request(web3, "evm_revert", [snapshot]) else: # Anvil - web3 = create_multi_provider_web3(anvil_base_fork.json_rpc_url) + web3 = create_multi_provider_web3( + anvil_base_fork.json_rpc_url, + default_http_timeout=(3, 45), + ) assert web3.eth.chain_id == 8453 yield web3