Skip to content

Commit

Permalink
contracts-bedrock: reorder isProxy in ChainAssertions for OptimismMin…
Browse files Browse the repository at this point in the history
…tableERC20Factory
  • Loading branch information
0xfuturistic committed Jan 2, 2024
1 parent 917f3d1 commit 3995e7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/contracts-bedrock/scripts/ChainAssertions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ library ChainAssertions {
console.log("Running chain assertions on the OptimismMintableERC20Factory");
OptimismMintableERC20Factory factory = OptimismMintableERC20Factory(_contracts.OptimismMintableERC20Factory);

if (!_isProxy) {
require(factory.BRIDGE() == address(0));
require(factory.bridge() == address(0));
} else {
if (_isProxy) {
require(factory.BRIDGE() == _contracts.L1StandardBridge);
require(factory.bridge() == _contracts.L1StandardBridge);
} else {
require(factory.BRIDGE() == address(0));
require(factory.bridge() == address(0));
}
}

Expand Down

0 comments on commit 3995e7f

Please sign in to comment.