Skip to content

Commit

Permalink
[#787] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jul 16, 2024
1 parent 6cc9356 commit a1d2fa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/libraries/SafeMigration.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ contract SafeMigration is SafeStorage {
constructor(address safeSingleton, address safeL2Singleton, address fallbackHandler) {
MIGRATION_SINGLETON = address(this);

require(isContract(safeSingleton), "Safe Singleton is not deployed");
require(isContract(safeL2Singleton), "Safe Singleton (L2) is not deployed");
require(isContract(fallbackHandler), "fallback handler is not deployed");
require(hasCode(safeSingleton), "Safe Singleton is not deployed");
require(hasCode(safeL2Singleton), "Safe Singleton (L2) is not deployed");
require(hasCode(fallbackHandler), "fallback handler is not deployed");

SAFE_SINGLETON = safeSingleton;
SAFE_L2_SINGLETON = safeL2Singleton;
Expand Down

0 comments on commit a1d2fa3

Please sign in to comment.