From 4c0ab43568929dd472a302b00619a8b827382f45 Mon Sep 17 00:00:00 2001 From: Carter Carlson Date: Tue, 27 Feb 2024 14:08:05 -0800 Subject: [PATCH] feat: fraxtal mainnet/testnet rpc support --- src/StdChains.sol | 2 ++ test/StdChains.t.sol | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/StdChains.sol b/src/StdChains.sol index bdc1c561..0e8e4351 100644 --- a/src/StdChains.sol +++ b/src/StdChains.sol @@ -235,6 +235,8 @@ abstract contract StdChains { setChainWithDefaultRpcUrl("moonbase", ChainData("Moonbase", 1287, "https://rpc.testnet.moonbeam.network")); setChainWithDefaultRpcUrl("base_goerli", ChainData("Base Goerli", 84531, "https://goerli.base.org")); setChainWithDefaultRpcUrl("base", ChainData("Base", 8453, "https://mainnet.base.org")); + setChainWithDefaultRpcUrl("fraxtal", ChainData("Fraxtal", 252, "https://rpc.frax.com")); + setChainWithDefaultRpcUrl("fraxtal_testnet", ChainData("Fraxtal Testnet", 2522, "https://rpc.testnet.frax.com")); } // set chain info, with priority to chainAlias' rpc url in foundry.toml diff --git a/test/StdChains.t.sol b/test/StdChains.t.sol index b329125e..321b77ec 100644 --- a/test/StdChains.t.sol +++ b/test/StdChains.t.sol @@ -70,6 +70,8 @@ contract StdChainsTest is Test { // testRpc("moonbase"); // testRpc("base_goerli"); // testRpc("base"); + // testRpc("fraxtal"); + // testRpc("fraxtal_testnet"); // } function test_ChainNoDefault() public {