@@ -43,35 +43,38 @@ contract StdChainsTest is Test {
4343 assertEq (getChain ("sepolia " ).rpcUrl, "https://sepolia.infura.io/v3/b9794ad1ddf84dfb8c34d6bb5dca2001 " );
4444 }
4545
46- function testFuzz_Rpc (string memory rpcAlias ) internal {
46+ // Named with a leading underscore to clarify this is not intended to be run as a normal test,
47+ // and is intended to be used in the below `test_Rpcs` test.
48+ function _testRpc (string memory rpcAlias ) internal {
4749 string memory rpcUrl = getChain (rpcAlias).rpcUrl;
4850 vm.createSelectFork (rpcUrl);
4951 }
5052
5153 // Ensure we can connect to the default RPC URL for each chain.
52- // function testRpcs() public {
53- // testRpc("mainnet");
54- // testRpc("goerli");
55- // testRpc("sepolia");
56- // testRpc("optimism");
57- // testRpc("optimism_goerli");
58- // testRpc("arbitrum_one");
59- // testRpc("arbitrum_one_goerli");
60- // testRpc("arbitrum_nova");
61- // testRpc("polygon");
62- // testRpc("polygon_mumbai");
63- // testRpc("avalanche");
64- // testRpc("avalanche_fuji");
65- // testRpc("bnb_smart_chain");
66- // testRpc("bnb_smart_chain_testnet");
67- // testRpc("gnosis_chain");
68- // testRpc("moonbeam");
69- // testRpc("moonriver");
70- // testRpc("moonbase");
71- // testRpc("base_goerli");
72- // testRpc("base");
73- // testRpc("fraxtal");
74- // testRpc("fraxtal_testnet");
54+ // Currently commented out since this is slow and public RPCs are flaky, often resulting in failing CI.
55+ // function test_Rpcs() public {
56+ // _testRpc("mainnet");
57+ // _testRpc("goerli");
58+ // _testRpc("sepolia");
59+ // _testRpc("optimism");
60+ // _testRpc("optimism_goerli");
61+ // _testRpc("arbitrum_one");
62+ // _testRpc("arbitrum_one_goerli");
63+ // _testRpc("arbitrum_nova");
64+ // _testRpc("polygon");
65+ // _testRpc("polygon_mumbai");
66+ // _testRpc("avalanche");
67+ // _testRpc("avalanche_fuji");
68+ // _testRpc("bnb_smart_chain");
69+ // _testRpc("bnb_smart_chain_testnet");
70+ // _testRpc("gnosis_chain");
71+ // _testRpc("moonbeam");
72+ // _testRpc("moonriver");
73+ // _testRpc("moonbase");
74+ // _testRpc("base_goerli");
75+ // _testRpc("base");
76+ // _testRpc("fraxtal");
77+ // _testRpc("fraxtal_testnet");
7578 // }
7679
7780 function test_ChainNoDefault () public {
0 commit comments