Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
70c89129
Commit
70c89129
authored
Jun 29, 2021
by
elenadimitrova
Committed by
Elena Gesheva
Jun 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup deployment script for OVM_L2StandardTokenFactory
and fix a solidity linting error
parent
0313794b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
OVM_L2StandardTokenFactory.sol
...ethereum/OVM/bridge/tokens/OVM_L2StandardTokenFactory.sol
+2
-1
000-OVM_L2StandardTokenFactory.deploy.ts
...tracts/deploy-l2/000-OVM_L2StandardTokenFactory.deploy.ts
+0
-7
No files found.
packages/contracts/contracts/optimistic-ethereum/OVM/bridge/tokens/OVM_L2StandardTokenFactory.sol
View file @
70c89129
...
...
@@ -36,7 +36,8 @@ contract OVM_L2StandardTokenFactory {
Lib_PredeployAddresses.L2_STANDARD_BRIDGE,
_l1Token,
_name,
_symbol);
_symbol
);
emit StandardL2TokenCreated(_l1Token, address(l2Token));
}
...
...
packages/contracts/deploy-l2/000-OVM_L2StandardTokenFactory.deploy.ts
View file @
70c89129
...
...
@@ -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
:
[],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment