From d23046048dceeb5c1696552a744b71568286b1d2 Mon Sep 17 00:00:00 2001 From: Roshan Date: Thu, 11 Jan 2024 10:43:47 +0800 Subject: [PATCH] chore: add `tmpValidatorSetUpdated` event --- contracts/BSCValidatorSet.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contracts/BSCValidatorSet.sol b/contracts/BSCValidatorSet.sol index e628d15a..ea243769 100644 --- a/contracts/BSCValidatorSet.sol +++ b/contracts/BSCValidatorSet.sol @@ -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{ @@ -276,6 +277,8 @@ contract BSCValidatorSet is IBSCValidatorSet, System, IParamSubscriber, IApplica _tmpMigratedVoteAddrs[i] = _voteAddrs[i]; } } + + emit tmpValidatorSetUpdated(newLength); return; }