Skip to content

Commit

Permalink
lint: Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerkleplant committed Nov 4, 2024
1 parent 52c6bd6 commit 5000dc4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 7 additions & 1 deletion test/BeaconRoots.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ contract BeaconRootsTest is Test {
);
}

function testFuzz_tryGet() public {
// -- Test: tryGet --

function testFuzz_tryGet(uint timestamp, uint seed) public {
vm.skip(true);

vm.assume(timestamp != 0);

// Create valid query from seed.
}

function testFuzz_get() public {
Expand Down
12 changes: 9 additions & 3 deletions test/ExecutionHashes.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ pragma solidity ^0.8.16;
import {Test} from "forge-std/Test.sol";
import {console2 as console} from "forge-std/console2.sol";

import {ExecutionHashes, NoExecutionHashFound} from "../src/ExecutionHashes.sol";
import {
ExecutionHashes, NoExecutionHashFound
} from "../src/ExecutionHashes.sol";

import {Geas} from "../script/Geas.sol";

Expand Down Expand Up @@ -49,7 +51,9 @@ contract ExecutionHashesTest is Test {
if (query >= number - 1 - 256) {
want = blockhash(query);
} else {
want = vm.load(ExecutionHashes.SYSTEM_CONTRACT, bytes32(query % BUFFER_SIZE));
want = vm.load(
ExecutionHashes.SYSTEM_CONTRACT, bytes32(query % BUFFER_SIZE)
);
}
assertEq(want, got);
}
Expand Down Expand Up @@ -109,7 +113,9 @@ contract ExecutionHashesTest is Test {
if (query >= number - 1 - 256) {
want = blockhash(query);
} else {
want = vm.load(ExecutionHashes.SYSTEM_CONTRACT, bytes32(query % BUFFER_SIZE));
want = vm.load(
ExecutionHashes.SYSTEM_CONTRACT, bytes32(query % BUFFER_SIZE)
);
}
assertEq(want, got);
}
Expand Down

0 comments on commit 5000dc4

Please sign in to comment.