Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: rewards v2 upgrade event assertion in zeus script #924

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading