Skip to content

Commit

Permalink
Update l1-contracts/deploy-scripts/dev/SetupLegacyBridge.s.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Vlad Bochok <[email protected]>
  • Loading branch information
Deniallugo and vladbochok committed Sep 10, 2024
1 parent a0d5e44 commit 45a1ed1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions l1-contracts/deploy-scripts/dev/SetupLegacyBridge.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import {Script, console2 as console} from "forge-std/Script.sol";
import {stdToml} from "forge-std/StdToml.sol";
import {Utils} from "./../Utils.sol";
import {L1SharedBridge} from "contracts/bridge/L1SharedBridge.sol";
import {L1ERC20Bridge} from "contracts/bridge/L1ERC20Bridge.sol";
import {DummyL1ERC20Bridge} from "contracts/dev-contracts/DummyL1ERC20Bridge.sol";
import {DiamondProxy} from "contracts/state-transition/chain-deps/DiamondProxy.sol";
import {ProxyAdmin} from "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol";
import {ITransparentUpgradeableProxy} from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol";
import {L2ContractHelper} from "contracts/common/libraries/L2ContractHelper.sol";
Expand Down Expand Up @@ -117,7 +115,7 @@ contract SetupLegacyBridge is Script {
bytes memory l2StandardTokenCode = Utils.readHardhatBytecode(
"/../l2-contracts/artifacts-zk/contracts/bridge/L2StandardERC20.sol/L2StandardERC20.json"
);
(address l2StandardToken, bytes32 l2StandardTokenBytecodeHash) = calculateL2Create2Address(
(address l2StandardToken,) = calculateL2Create2Address(
config.l2SharedBridgeAddress,
l2StandardTokenCode,
bytes32(0),
Expand Down

0 comments on commit 45a1ed1

Please sign in to comment.