Skip to content

Commit

Permalink
fix: update some constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Jan 3, 2025
1 parent 38ae8d1 commit 81ca5a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contracts/script/parsers/ConfigsReadWriter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.12;
pragma solidity ^0.8.12;

import "eigenlayer-middleware/src/interfaces/IRegistryCoordinator.sol";
import "eigenlayer-contracts/src/contracts/strategies/StrategyBase.sol";
Expand Down
1 change: 0 additions & 1 deletion contracts/script/parsers/EigenlayerContractsParser.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ contract EigenlayerContractsParser is ConfigsReadWriter {
eigenlayerPauserReg,
strategyManager,
delegationManager,
slasher,
avsDirectory,
rewardsCoordinator,
baseStrategyImplementation
Expand Down
7 changes: 4 additions & 3 deletions contracts/src/MockAvsServiceManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {IRewardsCoordinator} from "eigenlayer-contracts/src/contracts/interfaces

import {IRegistryCoordinator} from "eigenlayer-middleware/src/interfaces/IRegistryCoordinator.sol";
import {IBLSSignatureChecker} from "eigenlayer-middleware/src/interfaces/IBLSSignatureChecker.sol";
import {ServiceManagerBase} from "eigenlayer-middleware/src/ServiceManagerBase.sol";
import {ServiceManagerBase, IAllocationManager} from "eigenlayer-middleware/src/ServiceManagerBase.sol";
import {BLSSignatureChecker} from "eigenlayer-middleware/src/BLSSignatureChecker.sol";

contract MockAvsServiceManager is ServiceManagerBase, BLSSignatureChecker {
Expand All @@ -19,13 +19,14 @@ contract MockAvsServiceManager is ServiceManagerBase, BLSSignatureChecker {
_avsDirectory,
_rewardsCoordinator,
_registryCoordinator,
_registryCoordinator.stakeRegistry()
_registryCoordinator.stakeRegistry(),
IAllocationManager(address(0))
)
BLSSignatureChecker(_registryCoordinator)
{}

function initialize(address _initialOwner) external initializer {
// TODO: setting _rewardsInitializer to be _initialOwner for now.
__ServiceManagerBase_init(_initialOwner, _initialOwner);
__ServiceManagerBase_init(_initialOwner, _initialOwner, address(0));
}
}
2 changes: 1 addition & 1 deletion contracts/src/MockERC20.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.8.12;
pragma solidity ^0.8.12;

import {ERC20, IERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

Expand Down

0 comments on commit 81ca5a6

Please sign in to comment.