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
1a0ccf71
Unverified
Commit
1a0ccf71
authored
Nov 03, 2022
by
mergify[bot]
Committed by
GitHub
Nov 03, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3854 from ethereum-optimism/sc/ctb-config-no-am
fix(ctb): remove AddressManager from config
parents
f57cdbba
807767fa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
11 deletions
+5
-11
mainnet-forked.json
packages/contracts-bedrock/deploy-config/mainnet-forked.json
+1
-3
014-FreshSystemDicator.ts
packages/contracts-bedrock/deploy/014-FreshSystemDicator.ts
+2
-1
015-MigrationSystemDictator.ts
...s/contracts-bedrock/deploy/015-MigrationSystemDictator.ts
+1
-1
hardhat.config.ts
packages/contracts-bedrock/hardhat.config.ts
+1
-6
No files found.
packages/contracts-bedrock/deploy-config/mainnet-forked.json
View file @
1a0ccf71
...
@@ -28,7 +28,5 @@
...
@@ -28,7 +28,5 @@
"finalizationPeriodSeconds"
:
2
,
"finalizationPeriodSeconds"
:
2
,
"deploymentWaitConfirmations"
:
1
,
"deploymentWaitConfirmations"
:
1
,
"fundDevAccounts"
:
false
,
"fundDevAccounts"
:
false
"addressManager"
:
"0xdE1FCfB0851916CA5101820A69b13a4E276bd81F"
}
}
packages/contracts-bedrock/deploy/014-FreshSystemDicator.ts
View file @
1a0ccf71
import
{
ethers
}
from
'
ethers
'
import
{
DeployFunction
}
from
'
hardhat-deploy/dist/types
'
import
{
DeployFunction
}
from
'
hardhat-deploy/dist/types
'
import
'
@eth-optimism/hardhat-deploy-config
'
import
'
@eth-optimism/hardhat-deploy-config
'
import
'
hardhat-deploy
'
import
'
hardhat-deploy
'
...
@@ -19,7 +20,7 @@ const deployFn: DeployFunction = async (hre) => {
...
@@ -19,7 +20,7 @@ const deployFn: DeployFunction = async (hre) => {
proxyAdmin
:
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
),
proxyAdmin
:
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
),
controller
:
deployer
,
// TODO
controller
:
deployer
,
// TODO
finalOwner
:
hre
.
deployConfig
.
proxyAdminOwner
,
finalOwner
:
hre
.
deployConfig
.
proxyAdminOwner
,
addressManager
:
hre
.
deployConfig
.
addressManager
,
addressManager
:
ethers
.
constants
.
AddressZero
,
},
},
proxyAddressConfig
:
{
proxyAddressConfig
:
{
l2OutputOracleProxy
:
await
getDeploymentAddress
(
l2OutputOracleProxy
:
await
getDeploymentAddress
(
...
...
packages/contracts-bedrock/deploy/015-MigrationSystemDictator.ts
View file @
1a0ccf71
...
@@ -58,7 +58,7 @@ const deployFn: DeployFunction = async (hre) => {
...
@@ -58,7 +58,7 @@ const deployFn: DeployFunction = async (hre) => {
proxyAdmin
:
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
),
proxyAdmin
:
await
getDeploymentAddress
(
hre
,
'
ProxyAdmin
'
),
controller
,
controller
,
finalOwner
,
finalOwner
,
addressManager
:
hre
.
deployConfig
.
addressManager
,
addressManager
:
await
getDeploymentAddress
(
hre
,
'
Lib_AddressManager
'
)
,
},
},
proxyAddressConfig
:
{
proxyAddressConfig
:
{
l2OutputOracleProxy
:
await
getDeploymentAddress
(
l2OutputOracleProxy
:
await
getDeploymentAddress
(
...
...
packages/contracts-bedrock/hardhat.config.ts
View file @
1a0ccf71
...
@@ -66,12 +66,6 @@ const config: HardhatUserConfig = {
...
@@ -66,12 +66,6 @@ const config: HardhatUserConfig = {
default
:
ethers
.
constants
.
AddressZero
,
default
:
ethers
.
constants
.
AddressZero
,
},
},
// Address of the AddressManager (legacy only).
addressManager
:
{
type
:
'
address
'
,
default
:
ethers
.
constants
.
AddressZero
,
},
// Address of the system controller.
// Address of the system controller.
controller
:
{
controller
:
{
type
:
'
address
'
,
type
:
'
address
'
,
...
@@ -351,6 +345,7 @@ const config: HardhatUserConfig = {
...
@@ -351,6 +345,7 @@ const config: HardhatUserConfig = {
],
],
deployments
:
{
deployments
:
{
goerli
:
[
'
../contracts/deployments/goerli
'
],
goerli
:
[
'
../contracts/deployments/goerli
'
],
mainnet
:
[
'
../contracts/deployments/mainnet
'
],
'
mainnet-forked
'
:
[
'
../contracts/deployments/mainnet
'
],
'
mainnet-forked
'
:
[
'
../contracts/deployments/mainnet
'
],
},
},
},
},
...
...
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