Skip to content

Commit

Permalink
chore: fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Aug 15, 2023
1 parent e8b3a79 commit 7f4d16b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testdata/cheats/Fork2.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ contract ForkTest is DSTest {
bytes32 withdrawalTopic = 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65;
uint256 blockNumber = 17623835;

string memory path = "../testdata/fixtures/Rpc/eth_getLogs.json";
string memory path = "fixtures/Rpc/eth_getLogs.json";
string memory file = vm.readFile(path);
bytes memory parsed = vm.parseJson(file);
EthGetLogsJsonParseable[] memory fixtureLogs = abi.decode(parsed, (EthGetLogsJsonParseable[]));
Expand Down Expand Up @@ -222,7 +222,7 @@ contract ForkTest is DSTest {

function testRpc() public {
vm.selectFork(mainnetFork);
string memory path = "../testdata/fixtures/Rpc/balance_params.json";
string memory path = "fixtures/Rpc/balance_params.json";
string memory file = vm.readFile(path);
bytes memory result = vm.rpc("eth_getBalance", file);
assertEq(result, hex"03202879715fd8");
Expand Down

0 comments on commit 7f4d16b

Please sign in to comment.