Skip to content

Commit

Permalink
fix events (stader-labs#127)
Browse files Browse the repository at this point in the history
Co-authored-by: Sanjay Yadav <[email protected]>
  • Loading branch information
sanjay-staderlabs and Sanjay Yadav authored May 1, 2023
1 parent bac05df commit d3c7a5a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions contracts/interfaces/INodeRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ interface INodeRegistry {

// Events
event AddedValidatorKey(address indexed nodeOperator, bytes pubkey, uint256 validatorId);
event ValidatorMarkedAsFrontRunned(bytes indexed pubkey, uint256 validatorId);
event ValidatorWithdrawn(bytes indexed pubkey, uint256 validatorId);
event ValidatorStatusMarkedAsInvalidSignature(bytes indexed pubkey, uint256 validatorId);
event ValidatorMarkedAsFrontRunned(bytes pubkey, uint256 validatorId);
event ValidatorWithdrawn(bytes pubkey, uint256 validatorId);
event ValidatorStatusMarkedAsInvalidSignature(bytes pubkey, uint256 validatorId);
event UpdatedValidatorDepositBlock(uint256 validatorId, uint256 depositBlock);
event UpdatedMaxNonTerminalKeyPerOperator(uint64 maxNonTerminalKeyPerOperator);
event UpdatedInputKeyCountLimit(uint256 batchKeyDepositLimit);
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPenalty.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface IPenalty {
error ValidatorSettled();

// Events
event UpdatedAdditionalPenaltyAmount(bytes indexed pubkey, uint256 amount);
event UpdatedAdditionalPenaltyAmount(bytes pubkey, uint256 amount);
event UpdatedMEVTheftPenaltyPerStrike(uint256 mevTheftPenalty);
event UpdatedPenaltyOracleAddress(address penaltyOracleAddress);
event UpdatedMissedAttestationPenaltyPerStrike(uint256 missedAttestationPenalty);
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPermissionedNodeRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface IPermissionedNodeRegistry {
event OperatorDeactivated(uint256 operatorID);
event OperatorActivated(uint256 operatorID);
event MaxOperatorIdLimitChanged(uint256 maxOperatorId);
event MarkedValidatorStatusAsPreDeposit(bytes indexed pubkey);
event MarkedValidatorStatusAsPreDeposit(bytes pubkey);
event UpdatedQueuedValidatorIndex(uint256 indexed operatorId, uint256 nextQueuedValidatorIndex);

// Getters
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IPermissionlessNodeRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface IPermissionlessNodeRegistry {
uint256 operatorId,
bool optInForSocializingPool
);
event ValidatorMarkedReadyToDeposit(bytes indexed pubkey, uint256 validatorId);
event ValidatorMarkedReadyToDeposit(bytes pubkey, uint256 validatorId);
event UpdatedNextQueuedValidatorIndex(uint256 nextQueuedValidatorIndex);
event UpdatedSocializingPoolState(uint256 operatorId, bool optedForSocializingPool, uint256 block);
event TransferredCollateralToPool(uint256 amount);
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IStaderPoolBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface IStaderPoolBase {
error CouldNotDetermineExcessETH();

// Events
event ValidatorPreDepositedOnBeaconChain(bytes indexed pubKey);
event ValidatorPreDepositedOnBeaconChain(bytes pubKey);
event ValidatorDepositedOnBeaconChain(uint256 indexed validatorId, bytes pubKey);
event UpdatedCommissionFees(uint256 protocolFee, uint256 operatorFee);
event ReceivedCollateralETH(uint256 amount);
Expand Down

0 comments on commit d3c7a5a

Please sign in to comment.