Skip to content

Commit

Permalink
feat: fraxtal mainnet/testnet rpc support (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
pegahcarter authored Feb 28, 2024
1 parent 1d0766b commit 9d977f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/StdChains.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions test/StdChains.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ contract StdChainsTest is Test {
// testRpc("moonbase");
// testRpc("base_goerli");
// testRpc("base");
// testRpc("fraxtal");
// testRpc("fraxtal_testnet");
// }

function test_ChainNoDefault() public {
Expand Down

0 comments on commit 9d977f1

Please sign in to comment.