Commit 70c89129 authored by elenadimitrova's avatar elenadimitrova Committed by Elena Gesheva

Cleanup deployment script for OVM_L2StandardTokenFactory

and fix a solidity linting error
parent 0313794b
......@@ -36,7 +36,8 @@ contract OVM_L2StandardTokenFactory {
Lib_PredeployAddresses.L2_STANDARD_BRIDGE,
_l1Token,
_name,
_symbol);
_symbol
);
emit StandardL2TokenCreated(_l1Token, address(l2Token));
}
......
......@@ -11,13 +11,6 @@ const deployFn: DeployFunction = async (hre: any) => {
const l2TokenFactory = getContractDefinition('OVM_L2StandardTokenFactory', true)
const factoryOwner = (hre as any).deployConfig.ovmSequencerAddress
const initialGasPrice = (hre as any).deployConfig.initialGasPriceOracleGasPrice
if (!factoryOwner || !initialGasPrice) {
throw new Error('initialGasPrice & ovmSequencerAddress required to deploy gas price oracle')
}
await deploy('OVM_L2StandardTokenFactory', {
contract: l2TokenFactory,
args: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment