Skip to content

Commit

Permalink
feat: remove preconfer index from event
Browse files Browse the repository at this point in the history
  • Loading branch information
AnshuJalan committed Aug 20, 2024
1 parent 1b255a9 commit b00ce14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SmartContracts/src/avs/PreconfRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ contract PreconfRegistry is IPreconfRegistry, ISignatureUtils, BLSSignatureCheck
nextPreconferIndex = _nextPreconferIndex + 1;
}

emit PreconferRegistered(msg.sender, _nextPreconferIndex);
emit PreconferRegistered(msg.sender);

preconfServiceManager.registerOperatorToAVS(msg.sender, operatorSignature);
}
Expand Down
2 changes: 1 addition & 1 deletion SmartContracts/src/interfaces/IPreconfRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ interface IPreconfRegistry {
ADD
}

event PreconferRegistered(address indexed preconfer, uint256 indexed index);
event PreconferRegistered(address indexed preconfer);
event PreconferDeregistered(address indexed preconfer);
event ValidatorAdded(bytes32 indexed pubKeyHash, address indexed preconfer);
event ValidatorRemoved(bytes32 indexed pubKeyHash, address indexed preconfer);
Expand Down

0 comments on commit b00ce14

Please sign in to comment.