Skip to content

Commit

Permalink
contracts-bedrock: fix tests for L1Block
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfuturistic committed May 20, 2024
1 parent b7adaf8 commit 29cccad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/contracts-bedrock/test/L2/L1Block.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { Constants } from "src/libraries/Constants.sol";

// Target contract
import { L1Block } from "src/L2/L1Block.sol";
import "src/libraries/L1BlockErrors.sol";

contract L1BlockTest is CommonTest {
address depositor;
Expand Down Expand Up @@ -200,7 +201,7 @@ contract L1BlockCustomGasToken_Test is L1BlockTest {
}

function test_setGasPayingToken_isDepositor_reverts() external {
vm.expectRevert(L1Block.NotDepositor.selector);
vm.expectRevert(NotDepositor.selector);
l1Block.setGasPayingToken(address(this), 18, "Test", "TST");
}
}

0 comments on commit 29cccad

Please sign in to comment.