From 4670ab451274f47f82bbf6851c0db54e089cc0b7 Mon Sep 17 00:00:00 2001 From: BhariGowda Date: Sun, 15 Nov 2026 12:00:54 +0530 Subject: [PATCH] fix(StdChains): replace deprecated Fraxtal and Tempo testnet aliases fraxtal_testnet declared chain 2522, but https://rpc.testnet.frax.com now answers eth_chainId with 2523 (Fraxtal Hoodi), so forking the alias landed on a different chain than ChainData said. Replace it with fraxtal_hoodi (2523), the same way polygon_mumbai became polygon_amoy. tempo_andantino declared chain 42429, but https://rpc.testnet.tempo.xyz now answers with 42431, which tempo_moderato already covers. Remove it. --- src/StdChains.sol | 7 +------ test/StdChains.t.sol | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/StdChains.sol b/src/StdChains.sol index 4fed0b52..c9c7744e 100644 --- a/src/StdChains.sol +++ b/src/StdChains.sol @@ -244,9 +244,7 @@ abstract contract StdChains { "fantom_opera_testnet", ChainData("Fantom Opera Testnet", 4002, "https://rpc.ankr.com/fantom_testnet/") ); _setChainWithDefaultRpcUrl("fraxtal", ChainData("Fraxtal", 252, "https://rpc.frax.com")); - _setChainWithDefaultRpcUrl( - "fraxtal_testnet", ChainData("Fraxtal Testnet", 2522, "https://rpc.testnet.frax.com") - ); + _setChainWithDefaultRpcUrl("fraxtal_hoodi", ChainData("Fraxtal Hoodi", 2523, "https://rpc.testnet.frax.com")); _setChainWithDefaultRpcUrl( "berachain_bartio_testnet", ChainData("Berachain bArtio Testnet", 80084, "https://bartio.rpc.berachain.com") ); @@ -298,9 +296,6 @@ abstract contract StdChains { _setChainWithDefaultRpcUrl( "tempo_moderato", ChainData("Tempo Moderato", 42431, "https://rpc.moderato.tempo.xyz") ); - _setChainWithDefaultRpcUrl( - "tempo_andantino", ChainData("Tempo Andantino", 42429, "https://rpc.testnet.tempo.xyz") - ); _setChainWithDefaultRpcUrl("grav", ChainData("Gravity", 127001, "https://mainnet-rpc.gravity.xyz")); } diff --git a/test/StdChains.t.sol b/test/StdChains.t.sol index bee1f992..0adc981d 100644 --- a/test/StdChains.t.sol +++ b/test/StdChains.t.sol @@ -78,7 +78,7 @@ contract StdChainsTest is Test { // _testRpc("fantom_opera"); // _testRpc("fantom_opera_testnet"); // _testRpc("fraxtal"); - // _testRpc("fraxtal_testnet"); + // _testRpc("fraxtal_hoodi"); // _testRpc("berachain_bartio_testnet"); // _testRpc("flare"); // _testRpc("flare_coston2");