Tezt-cloud: use L1 node from scenario

What

In case we're on a testnet and --bootstrap is not given, use one of the L1 nodes (if any) started by the scenario as the default RPC endpoint to be queried by the test.

Why

This avoid querying a public endpoint, which may be slower or have some limits on the number of the RPC calls.

How

Manually testing the MR

Tested it with dune exec tezt/tests/cloud/main.exe -- dal -v --localhost --producers 1 --network weeklynet-2024-09-18.

Merge request reports

Loading