Commit 6441c445 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: simplify CrossDomainOwnable test

Removes usage of `CommonTest` that are not required.
Also canonicalize the import paths. This should help
to speed up the tests slightly by reducing the amount
of execution required to run the tests.
parent 85d93281
......@@ -2,17 +2,18 @@
pragma solidity 0.8.15;
// Testing utilities
import { Vm, VmSafe } from "forge-std/Vm.sol";
import { VmSafe } from "forge-std/Vm.sol";
import { Test } from "forge-std/Test.sol";
import { CommonTest, Portal_Initializer } from "test/CommonTest.t.sol";
// Libraries
import { Bytes32AddressLib } from "@rari-capital/solmate/src/utils/Bytes32AddressLib.sol";
// Target contract dependencies
import { AddressAliasHelper } from "../src/vendor/AddressAliasHelper.sol";
import { AddressAliasHelper } from "src/vendor/AddressAliasHelper.sol";
// Target contract
import { CrossDomainOwnable } from "../src/L2/CrossDomainOwnable.sol";
import { CrossDomainOwnable } from "src/L2/CrossDomainOwnable.sol";
contract XDomainSetter is CrossDomainOwnable {
uint256 public value;
......@@ -22,7 +23,7 @@ contract XDomainSetter is CrossDomainOwnable {
}
}
contract CrossDomainOwnable_Test is CommonTest {
contract CrossDomainOwnable_Test is Test {
XDomainSetter setter;
function setUp() public override {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment