Skip to content

Commit da26c04

Browse files
giuseppecrjmds1
andauthored
feat: add base goerli and base chaindata setup to stdchains default rpcs (#437)
* adds base goerli and base chaindata setup to stdchains default rpcs * update stdchains test file to include missing rpc checks * update stdchains file to include moonbeam and moonriver tests as well * add missing moonbase testRpc check * style: forge fmt --------- Co-authored-by: Matt Solomon <[email protected]>
1 parent 669e4a6 commit da26c04

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/StdChains.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ abstract contract StdChains {
221221
"moonriver", ChainData("Moonriver", 1285, "https://rpc.api.moonriver.moonbeam.network")
222222
);
223223
setChainWithDefaultRpcUrl("moonbase", ChainData("Moonbase", 1287, "https://rpc.testnet.moonbeam.network"));
224+
setChainWithDefaultRpcUrl("base_goerli", ChainData("Base Goerli", 84531, "https://goerli.base.org"));
225+
setChainWithDefaultRpcUrl("base", ChainData("Base", 8453, "https://mainnet.base.org"));
224226
}
225227

226228
// set chain info, with priority to chainAlias' rpc url in foundry.toml

test/StdChains.t.sol

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ contract StdChainsTest is Test {
6565
// testRpc("bnb_smart_chain");
6666
// testRpc("bnb_smart_chain_testnet");
6767
// testRpc("gnosis_chain");
68+
// testRpc("moonbeam");
69+
// testRpc("moonriver");
70+
// testRpc("moonbase");
71+
// testRpc("base_goerli");
72+
// testRpc("base");
6873
// }
6974

7075
function test_ChainNoDefault() public {

0 commit comments

Comments
 (0)