The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/solidity/test/avs/EigenlayerBase.sol

22 lines
789 B

// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.8.0;
import "forge-std/Test.sol";
import {ISlasher} from "../../contracts/interfaces/avs/vendored/ISlasher.sol";
import {TestAVSDirectory} from "../../contracts/test/avs/TestAVSDirectory.sol";
import {TestDelegationManager} from "../../contracts/test/avs/TestDelegationManager.sol";
import {TestSlasher} from "../../contracts/test/avs/TestSlasher.sol";
contract EigenlayerBase is Test {
TestAVSDirectory internal avsDirectory;
TestDelegationManager internal delegationManager;
ISlasher internal slasher;
function _deployMockEigenLayerAndAVS() internal {
avsDirectory = new TestAVSDirectory();
delegationManager = new TestDelegationManager();
slasher = new TestSlasher();
}
}