We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1778871 commit 220e06aCopy full SHA for 220e06a
target_chains/ethereum/contracts/forge-test/Executor.t.sol
@@ -91,6 +91,15 @@ contract ExecutorTest is Test, WormholeTestUtils {
91
);
92
}
93
94
+ function testExecutorOwner() public {
95
+ assertEq(address(executor), executor.owner());
96
+ }
97
+
98
+ function testExternaUpgradeCallFails() public {
99
+ vm.expectRevert("Ownable: caller is not the owner");
100
+ executor.upgradeTo(address(executor2));
101
102
103
function testUpgradeCallSucceedsForContractWithCorrectMagic() public {
104
bytes memory vaa = getTestUpgradeVaa(address(executor2));
105
executor.execute(vaa);
0 commit comments