Skip to content

Commit

Permalink
chore: add tmpValidatorSetUpdated event
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Jan 11, 2024
1 parent ea00161 commit d230460
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/BSCValidatorSet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ contract BSCValidatorSet is IBSCValidatorSet, System, IParamSubscriber, IApplica
event validatorExitMaintenance(address indexed validator);
event finalityRewardDeposit(address indexed validator, uint256 amount);
event deprecatedFinalityRewardDeposit(address indexed validator, uint256 amount);
event tmpValidatorSetUpdated(uint256 validatorsNum);

/*********************** init **************************/
function init() external onlyNotInit{
Expand Down Expand Up @@ -276,6 +277,8 @@ contract BSCValidatorSet is IBSCValidatorSet, System, IParamSubscriber, IApplica
_tmpMigratedVoteAddrs[i] = _voteAddrs[i];
}
}

emit tmpValidatorSetUpdated(newLength);
return;
}

Expand Down

0 comments on commit d230460

Please sign in to comment.