Skip to content

Commit

Permalink
test(contracts): eigenlayer middleware working
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Sep 23, 2024
1 parent 77d272a commit cb64e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bolt-contracts/test/BoltManager.EigenLayer.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ contract BoltManagerEigenLayerTest is Test {
bytes32 operatorRegistrationDigestHash = eigenLayerDeployer.avsDirectory()
.calculateOperatorAVSRegistrationDigestHash({
operator: operator,
avs: address(manager),
avs: address(middleware),
salt: bytes32(0),
expiry: UINT256_MAX
});
Expand All @@ -139,7 +139,7 @@ contract BoltManagerEigenLayerTest is Test {
ISignatureUtils.SignatureWithSaltAndExpiry(operatorRawSignature, bytes32(0), UINT256_MAX);
vm.expectEmit(true, true, true, true);
emit IAVSDirectory.OperatorAVSRegistrationStatusUpdated(
operator, address(manager), IAVSDirectory.OperatorAVSRegistrationStatus.REGISTERED
operator, address(middleware), IAVSDirectory.OperatorAVSRegistrationStatus.REGISTERED
);
middleware.registerOperatorToAVS(operator, operatorSignature);
assertEq(middleware.checkIfOperatorRegisteredToAVS(operator), true);
Expand Down

0 comments on commit cb64e38

Please sign in to comment.