From 7463ad7d8a5c583649cf846731c2a97edf14e0d5 Mon Sep 17 00:00:00 2001 From: Franco Barpp Gomes Date: Wed, 29 May 2024 17:06:12 -0300 Subject: [PATCH] test: Fix not pranking owner on forceUpdateOperatorSet tests --- contracts/evm/test/SFFLRegistryRollup.t.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/evm/test/SFFLRegistryRollup.t.sol b/contracts/evm/test/SFFLRegistryRollup.t.sol index bc0b6641..74c8aa5f 100644 --- a/contracts/evm/test/SFFLRegistryRollup.t.sol +++ b/contracts/evm/test/SFFLRegistryRollup.t.sol @@ -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( @@ -449,6 +450,7 @@ contract SFFLRegistryRollupTest is TestUtils { vm.expectRevert("Wrong message ID"); + vm.prank(addr("owner")); registry.forceOperatorSetUpdate(message); }