Skip to content

Commit

Permalink
Stack too deep fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed Dec 19, 2023
1 parent 875c48b commit 7ca2343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ contract L1AtomicTokenBridgeCreator is Initializable, OwnableUpgradeable {
l2Deployment.standardGateway,
l2RollupOwner,
msg.sender,
AddressAliasHelper.applyL1ToL2Alias(upgradeExecutor),
upgradeExecutor,
isUsingFeeToken
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
L2RuntimeCode,
ProxyAdmin
} from "../arbitrum/L2AtomicTokenBridgeFactory.sol";
import {AddressAliasHelper} from "../libraries/AddressAliasHelper.sol";
import {
Initializable,
OwnableUpgradeable
Expand Down Expand Up @@ -46,9 +47,10 @@ contract L1TokenBridgeRetryableSender is Initializable, OwnableUpgradeable {
address l2StandardGatewayAddress,
address rollupOwner,
address deployer,
address aliasedL1UpgradeExecutor,
address l1UpgradeExecutor,
bool isUsingFeeToken
) external payable onlyOwner {
address aliasedL1UpgradeExecutor = AddressAliasHelper.applyL1ToL2Alias(l1UpgradeExecutor);
if (!isUsingFeeToken) {
_sendRetryableUsingEth(
retryableParams,
Expand Down

0 comments on commit 7ca2343

Please sign in to comment.