Skip to content

Commit

Permalink
feat: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
roderik committed Sep 6, 2024
1 parent ce84725 commit 34c37ba
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
4 changes: 4 additions & 0 deletions lib/forge-std/src/StdChains.sol
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ abstract contract StdChains {
setChainWithDefaultRpcUrl(
"berachain_bartio_testnet", ChainData("Berachain bArtio Testnet", 80084, "https://bartio.rpc.berachain.com")
);
setChainWithDefaultRpcUrl("flare", ChainData("Flare", 14, "https://flare-api.flare.network/ext/C/rpc"));
setChainWithDefaultRpcUrl(
"flare_coston2", ChainData("Flare Coston2", 114, "https://coston2-api.flare.network/ext/C/rpc")
);
}

// set chain info, with priority to chainAlias' rpc url in foundry.toml
Expand Down
18 changes: 17 additions & 1 deletion lib/forge-std/src/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/forge-std/test/StdChains.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ contract StdChainsTest is Test {
// _testRpc("fraxtal");
// _testRpc("fraxtal_testnet");
// _testRpc("berachain_bartio_testnet");
// _testRpc("flare");
// _testRpc("flare_coston2");
// }

function test_ChainNoDefault() public {
Expand Down
4 changes: 2 additions & 2 deletions lib/forge-std/test/Vm.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract VmTest is Test {
// inadvertently moved between Vm and VmSafe. This test must be updated each time a function is
// added to or removed from Vm or VmSafe.
function test_interfaceId() public pure {
assertEq(type(VmSafe).interfaceId, bytes4(0x5c59cbde), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0x1316b43e), "Vm");
assertEq(type(VmSafe).interfaceId, bytes4(0x9dd1a1c8), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0x02edefa2), "Vm");
}
}

0 comments on commit 34c37ba

Please sign in to comment.