Skip to content

Commit

Permalink
fix(Horizon): graph directory test (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikol authored Oct 2, 2024
1 parent 41f85c8 commit 2b79a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/horizon/test/utilities/GraphDirectory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ contract GraphDirectoryTest is GraphBaseTest {

function test_RevertWhen_TheContractIsDeployedWithAnInvalidController(address controller_) external {
vm.assume(controller_ != address(controller));
vm.assume(controller_ != address(0));
vm.assume(uint160(controller_) > 9); // Skip precompiled contracts

vm.expectRevert(); // call to getContractProxy on a random address reverts
_deployImplementation(controller_);
Expand Down

0 comments on commit 2b79a69

Please sign in to comment.