Skip to content

Commit

Permalink
test: Fix not pranking owner on forceUpdateOperatorSet tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyodar committed May 29, 2024
1 parent 60c14e5 commit 7463ad7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/evm/test/SFFLRegistryRollup.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ contract SFFLRegistryRollupTest is TestUtils {
vm.expectEmit(true, false, false, true);
emit OperatorUpdated(operators[2].pubkey.hashG1Point(), DEFAULT_WEIGHT);

vm.prank(addr("owner"));
registry.forceOperatorSetUpdate(message);

assertEq(
Expand Down Expand Up @@ -449,6 +450,7 @@ contract SFFLRegistryRollupTest is TestUtils {

vm.expectRevert("Wrong message ID");

vm.prank(addr("owner"));
registry.forceOperatorSetUpdate(message);
}

Expand Down

0 comments on commit 7463ad7

Please sign in to comment.