We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff2948 commit 6493488Copy full SHA for 6493488
scripts/deterministic/DeployScroll.s.sol
@@ -1368,7 +1368,8 @@ contract DeployScroll is DeterministicDeployment {
1368
1369
if (l1MessengerBalance < amountToLock) {
1370
uint256 amountToSend = amountToLock - l1MessengerBalance;
1371
- payable(L1_SCROLL_MESSENGER_PROXY_ADDR).transfer(amountToSend);
+ (bool sent, bytes memory data) = payable(L1_SCROLL_MESSENGER_PROXY_ADDR).call{value: amountToSend}("");
1372
+ require(sent, "[ERROR] failed to loken tokens on layer 1");
1373
}
1374
} else {
1375
uint256 l1GasTokenGatewayBalance = IERC20Metadata(L1_GAS_TOKEN_ADDR).balanceOf(
0 commit comments