Skip to content

Commit

Permalink
feat: 🎸 New Berachain V2 bArtio Testnet (#571)
Browse files Browse the repository at this point in the history
* feat: 🎸 New Berachain V2 bArtio Testnet

* fix: 🐛 Small adjustment to comment out tests

* style: forge fmt

---------

Co-authored-by: Matt Solomon <matt@mattsolomon.dev>
  • Loading branch information
codingwithmanny and mds1 authored Jun 25, 2024
1 parent 19891e6 commit e4326f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/StdChains.sol
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ abstract contract StdChains {

stdChainsInitialized = true;

// If adding an RPC here, make sure to test the default RPC URL in `testRpcs`
// If adding an RPC here, make sure to test the default RPC URL in `test_Rpcs` in `StdChains.t.sol`
setChainWithDefaultRpcUrl("anvil", ChainData("Anvil", 31337, "http://127.0.0.1:8545"));
setChainWithDefaultRpcUrl(
"mainnet", ChainData("Mainnet", 1, "https://eth-mainnet.alchemyapi.io/v2/pwc5rmJhrdoaSEfimoKEmsvOjKSmPDrP")
Expand Down Expand Up @@ -243,6 +243,9 @@ abstract contract StdChains {
);
setChainWithDefaultRpcUrl("fraxtal", ChainData("Fraxtal", 252, "https://rpc.frax.com"));
setChainWithDefaultRpcUrl("fraxtal_testnet", ChainData("Fraxtal Testnet", 2522, "https://rpc.testnet.frax.com"));
setChainWithDefaultRpcUrl(
"berachain_bartio_testnet", ChainData("Berachain bArtio Testnet", 80084, "https://bartio.rpc.berachain.com")
);
}

// set chain info, with priority to chainAlias' rpc url in foundry.toml
Expand Down
1 change: 1 addition & 0 deletions test/StdChains.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ contract StdChainsTest is Test {
// _testRpc("fantom_opera_testnet");
// _testRpc("fraxtal");
// _testRpc("fraxtal_testnet");
// _testRpc("berachain_bartio_testnet");
// }

function test_ChainNoDefault() public {
Expand Down

0 comments on commit e4326f6

Please sign in to comment.