Skip to content

test(bindings): raise anvil fork startup timeout to 120s#547

Open
jonaprieto wants to merge 1 commit into
next-bindingsfrom
refactor/bindings-tests-anvil-timeout
Open

test(bindings): raise anvil fork startup timeout to 120s#547
jonaprieto wants to merge 1 commit into
next-bindingsfrom
refactor/bindings-tests-anvil-timeout

Conversation

@jonaprieto

@jonaprieto jonaprieto commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

The bindings tests fork a node per chain. Unlike the generic-call-forwarder fix (#26), these can't drop forking: the protocol adapter constructor calls into the risc0 verifier router (isEmergencyStopped), and the execute test sends a real transaction against the deployed adapter, both of which need a forked node.

Anvil only reports ready after it fetches fork state from the RPC, so a slow or rate-limited RPC blows past anvil's 10s startup default and the test panics with Timeout (and it gets worse as chains are added). Raise the fork startup timeout to 120s.

@jonaprieto jonaprieto self-assigned this Jul 2, 2026
@jonaprieto jonaprieto force-pushed the refactor/bindings-tests-anvil-timeout branch 2 times, most recently from bab2989 to f4e32f1 Compare July 7, 2026 03:04
Bindings tests fork one anvil per deployed chain; a slow or rate-limited
RPC blows past anvil's 10s startup default and panics with `Timeout`,
worsening as chains are added. Raise the fork startup timeout to 120s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant