Skip to content

Commit

Permalink
test: rewards v2 upgrade event assertion in zeus script (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrajath authored Dec 3, 2024
1 parent f2f6a77 commit e4c66a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/releases/v0.5.1-rewardsv2/3-multisig.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ contract Execute is Queue {
using SafeTxUtils for SafeTx;
using EigenLabsUpgrade for *;

event Upgraded(address indexed implementation);

/**
* @dev Overrides the previous _execute function to execute the queued transactions.
*/
Expand Down Expand Up @@ -60,6 +62,8 @@ contract Execute is Queue {
assertEq(timelock.isOperationReady(txHash), true, "Transaction should be executable.");

zSetMultisigContext(this._protocolCouncilMultisig());
vm.expectEmit(true, true, true, true, address(rewardsCoordinatorProxy));
emit Upgraded(zDeployedImpl(type(RewardsCoordinator).name));
execute();

// 3. assert that the execute did something
Expand Down

0 comments on commit e4c66a6

Please sign in to comment.