Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramarti committed Dec 17, 2024
1 parent da52aae commit 1e68dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/script/GenerateAlloc.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ contract GenerateAlloc is Script {

/// @notice this call should only be available from Test.sol, for speed
function disableStateDump() external {
require(block.chainid == ChainIds.LOCAL, "Only for local tests");
require(block.chainid == ChainIds.FOUNDRY, "Only for local tests");
saveState = false;
}

/// @dev this call should only be available from Test.sol
function setAdminAddresses(address protocol, address executor, address guardian) external {
require(block.chainid == ChainIds.LOCAL, "Only for local tests");
require(block.chainid == ChainIds.FOUNDRY, "Only for local tests");
protocolAdmin = protocol;
timelockExecutor = executor;
timelockGuardian = guardian;
Expand Down

0 comments on commit 1e68dd2

Please sign in to comment.