Skip to content

Commit

Permalink
Merge pull request #113 from NethermindEth/anshu/fixes-1
Browse files Browse the repository at this point in the history
Add initializer in registry
  • Loading branch information
AnshuJalan authored Sep 11, 2024
2 parents b460a19 + b03440a commit 1a419d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SmartContracts/src/avs/PreconfRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import {BLSSignatureChecker} from "./utils/BLSSignatureChecker.sol";
import {IPreconfRegistry} from "../interfaces/IPreconfRegistry.sol";
import {IPreconfServiceManager} from "../interfaces/IPreconfServiceManager.sol";
import {IAVSDirectory} from "../interfaces/eigenlayer-mvp/IAVSDirectory.sol";
import {Initializable} from "openzeppelin-contracts-upgradeable/proxy/utils/Initializable.sol";

contract PreconfRegistry is IPreconfRegistry, BLSSignatureChecker {
contract PreconfRegistry is IPreconfRegistry, BLSSignatureChecker, Initializable {
using BLS12381 for BLS12381.G1Point;

IPreconfServiceManager internal immutable preconfServiceManager;
Expand All @@ -29,6 +30,9 @@ contract PreconfRegistry is IPreconfRegistry, BLSSignatureChecker {

constructor(IPreconfServiceManager _preconfServiceManager) {
preconfServiceManager = _preconfServiceManager;
}

function initialize() external initializer {
nextPreconferIndex = 1;
}

Expand Down

0 comments on commit 1a419d6

Please sign in to comment.