Skip to content

Commit

Permalink
rule out FactoryDeployerHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
godzillaba committed Sep 18, 2024
1 parent 265385f commit b11f03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/FactoryDeployerHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract FactoryDeployerHelper {
address feeToken = IERC20Bridge(bridge).nativeToken();

uint256 amount = IDeployHelper(DEPLOY_HELPER).getDeploymentTotalCost(inbox, maxFeePerGas);
IERC20(feeToken).transferFrom(msg.sender, inbox, amount); // note: potential zero transfer
IERC20(feeToken).transferFrom(msg.sender, inbox, amount);
IDeployHelper(DEPLOY_HELPER).perform(inbox, feeToken, maxFeePerGas);
}
}
Expand Down

0 comments on commit b11f03b

Please sign in to comment.