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
13110f3b
Unverified
Commit
13110f3b
authored
Dec 07, 2022
by
mergify[bot]
Committed by
GitHub
Dec 07, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4305 from ethereum-optimism/sc/ctb-clean-std-whitespace
maint(ctb): standardized whitespace in deploys
parents
a7cfdeb1
5d41653d
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
14 additions
and
9 deletions
+14
-9
000-ProxyAdmin.ts
packages/contracts-bedrock/deploy/000-ProxyAdmin.ts
+1
-0
001-AddressManager.ts
packages/contracts-bedrock/deploy/001-AddressManager.ts
+1
-0
002-L1StandardBridgeProxy.ts
...ges/contracts-bedrock/deploy/002-L1StandardBridgeProxy.ts
+1
-0
003-L2OutputOracleProxy.ts
packages/contracts-bedrock/deploy/003-L2OutputOracleProxy.ts
+1
-0
004-L1CrossDomainMessengerProxy.ts
...ntracts-bedrock/deploy/004-L1CrossDomainMessengerProxy.ts
+1
-0
005-OptimismPortalProxy.ts
packages/contracts-bedrock/deploy/005-OptimismPortalProxy.ts
+1
-0
006-OptimismMintableERC20FactoryProxy.ts
...s-bedrock/deploy/006-OptimismMintableERC20FactoryProxy.ts
+1
-0
007-L1ERC721BridgeProxy.ts
packages/contracts-bedrock/deploy/007-L1ERC721BridgeProxy.ts
+1
-0
008-SystemConfigProxy.ts
packages/contracts-bedrock/deploy/008-SystemConfigProxy.ts
+1
-0
009-SystemDictatorProxy.ts
packages/contracts-bedrock/deploy/009-SystemDictatorProxy.ts
+1
-0
017-SystemConfigImpl.ts
packages/contracts-bedrock/deploy/017-SystemConfigImpl.ts
+4
-9
No files found.
packages/contracts-bedrock/deploy/000-ProxyAdmin.ts
View file @
13110f3b
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
ProxyAdmin
'
,
name
:
'
ProxyAdmin
'
,
...
...
packages/contracts-bedrock/deploy/001-AddressManager.ts
View file @
13110f3b
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
Lib_AddressManager
'
,
name
:
'
Lib_AddressManager
'
,
...
...
packages/contracts-bedrock/deploy/002-L1StandardBridgeProxy.ts
View file @
13110f3b
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
Proxy__OVM_L1StandardBridge
'
,
name
:
'
Proxy__OVM_L1StandardBridge
'
,
...
...
packages/contracts-bedrock/deploy/003-L2OutputOracleProxy.ts
View file @
13110f3b
...
@@ -8,6 +8,7 @@ import {
...
@@ -8,6 +8,7 @@ import {
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
L2OutputOracleProxy
'
,
name
:
'
L2OutputOracleProxy
'
,
...
...
packages/contracts-bedrock/deploy/004-L1CrossDomainMessengerProxy.ts
View file @
13110f3b
...
@@ -4,6 +4,7 @@ import { deploy, getDeploymentAddress } from '../src/deploy-utils'
...
@@ -4,6 +4,7 @@ import { deploy, getDeploymentAddress } from '../src/deploy-utils'
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
addressManager
=
await
getDeploymentAddress
(
hre
,
'
Lib_AddressManager
'
)
const
addressManager
=
await
getDeploymentAddress
(
hre
,
'
Lib_AddressManager
'
)
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
Proxy__OVM_L1CrossDomainMessenger
'
,
name
:
'
Proxy__OVM_L1CrossDomainMessenger
'
,
...
...
packages/contracts-bedrock/deploy/005-OptimismPortalProxy.ts
View file @
13110f3b
...
@@ -8,6 +8,7 @@ import {
...
@@ -8,6 +8,7 @@ import {
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
OptimismPortalProxy
'
,
name
:
'
OptimismPortalProxy
'
,
...
...
packages/contracts-bedrock/deploy/006-OptimismMintableERC20FactoryProxy.ts
View file @
13110f3b
...
@@ -8,6 +8,7 @@ import {
...
@@ -8,6 +8,7 @@ import {
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
OptimismMintableERC20FactoryProxy
'
,
name
:
'
OptimismMintableERC20FactoryProxy
'
,
...
...
packages/contracts-bedrock/deploy/007-L1ERC721BridgeProxy.ts
View file @
13110f3b
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
L1ERC721BridgeProxy
'
,
name
:
'
L1ERC721BridgeProxy
'
,
...
...
packages/contracts-bedrock/deploy/008-SystemConfigProxy.ts
View file @
13110f3b
...
@@ -8,6 +8,7 @@ import {
...
@@ -8,6 +8,7 @@ import {
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
const
proxyAdmin
=
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
)
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
SystemConfigProxy
'
,
name
:
'
SystemConfigProxy
'
,
...
...
packages/contracts-bedrock/deploy/009-SystemDictatorProxy.ts
View file @
13110f3b
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
...
@@ -4,6 +4,7 @@ import { assertContractVariable, deploy } from '../src/deploy-utils'
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
await
deploy
({
await
deploy
({
hre
,
hre
,
name
:
'
SystemDictatorProxy
'
,
name
:
'
SystemDictatorProxy
'
,
...
...
packages/contracts-bedrock/deploy/017-SystemConfigImpl.ts
View file @
13110f3b
...
@@ -4,10 +4,9 @@ import '@eth-optimism/hardhat-deploy-config'
...
@@ -4,10 +4,9 @@ import '@eth-optimism/hardhat-deploy-config'
import
{
assertContractVariable
,
deploy
}
from
'
../src/deploy-utils
'
import
{
assertContractVariable
,
deploy
}
from
'
../src/deploy-utils
'
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
batcherHash
=
hre
.
ethers
.
utils
.
hexZeroPad
(
const
batcherHash
=
hre
.
ethers
.
utils
hre
.
deployConfig
.
batchSenderAddress
,
.
hexZeroPad
(
hre
.
deployConfig
.
batchSenderAddress
,
32
)
32
.
toLowerCase
()
)
await
deploy
({
await
deploy
({
hre
,
hre
,
...
@@ -35,11 +34,7 @@ const deployFn: DeployFunction = async (hre) => {
...
@@ -35,11 +34,7 @@ const deployFn: DeployFunction = async (hre) => {
'
scalar
'
,
'
scalar
'
,
hre
.
deployConfig
.
gasPriceOracleScalar
hre
.
deployConfig
.
gasPriceOracleScalar
)
)
await
assertContractVariable
(
await
assertContractVariable
(
contract
,
'
batcherHash
'
,
batcherHash
)
contract
,
'
batcherHash
'
,
batcherHash
.
toLowerCase
()
)
},
},
})
})
}
}
...
...
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