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
c2c51df2
Commit
c2c51df2
authored
Nov 04, 2022
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system: delete dead config
parent
d0bbcc6f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
16 deletions
+6
-16
config.go
op-chain-ops/genesis/config.go
+2
-7
test-deploy-config-full.json
op-chain-ops/genesis/testdata/test-deploy-config-full.json
+0
-1
setup.go
op-e2e/e2eutils/setup.go
+0
-1
setup.go
op-e2e/setup.go
+4
-3
hardhat.config.ts
packages/contracts-bedrock/hardhat.config.ts
+0
-4
No files found.
op-chain-ops/genesis/config.go
View file @
c2c51df2
...
@@ -70,7 +70,6 @@ type DeployConfig struct {
...
@@ -70,7 +70,6 @@ type DeployConfig struct {
OptimismBaseFeeRecipient
common
.
Address
`json:"optimismBaseFeeRecipient"`
OptimismBaseFeeRecipient
common
.
Address
`json:"optimismBaseFeeRecipient"`
OptimismL1FeeRecipient
common
.
Address
`json:"optimismL1FeeRecipient"`
OptimismL1FeeRecipient
common
.
Address
`json:"optimismL1FeeRecipient"`
GasPriceOracleOwner
common
.
Address
`json:"gasPriceOracleOwner"`
GasPriceOracleOverhead
uint64
`json:"gasPriceOracleOverhead"`
GasPriceOracleOverhead
uint64
`json:"gasPriceOracleOverhead"`
GasPriceOracleScalar
uint64
`json:"gasPriceOracleScalar"`
GasPriceOracleScalar
uint64
`json:"gasPriceOracleScalar"`
...
@@ -173,10 +172,6 @@ func NewL2StorageConfig(config *DeployConfig, block *types.Block, l2Addrs *L2Add
...
@@ -173,10 +172,6 @@ func NewL2StorageConfig(config *DeployConfig, block *types.Block, l2Addrs *L2Add
"xDomainMsgSender"
:
"0x000000000000000000000000000000000000dEaD"
,
"xDomainMsgSender"
:
"0x000000000000000000000000000000000000dEaD"
,
"msgNonce"
:
0
,
"msgNonce"
:
0
,
}
}
storage
[
"GasPriceOracle"
]
=
state
.
StorageValues
{
// TODO: remove this in the future
"_owner"
:
config
.
GasPriceOracleOwner
,
}
storage
[
"L1Block"
]
=
state
.
StorageValues
{
storage
[
"L1Block"
]
=
state
.
StorageValues
{
"number"
:
block
.
Number
(),
"number"
:
block
.
Number
(),
"timestamp"
:
block
.
Time
(),
"timestamp"
:
block
.
Time
(),
...
...
op-chain-ops/genesis/testdata/test-deploy-config-full.json
View file @
c2c51df2
...
@@ -41,7 +41,6 @@
...
@@ -41,7 +41,6 @@
"optimismBaseFeeRecipient"
:
"0x42000000000000000000000000000000000000f1"
,
"optimismBaseFeeRecipient"
:
"0x42000000000000000000000000000000000000f1"
,
"optimismL1FeeRecipient"
:
"0x0000000000000000000000000000000000000000"
,
"optimismL1FeeRecipient"
:
"0x0000000000000000000000000000000000000000"
,
"l2CrossDomainMessengerOwner"
:
"0x42000000000000000000000000000000000000f2"
,
"l2CrossDomainMessengerOwner"
:
"0x42000000000000000000000000000000000000f2"
,
"gasPriceOracleOwner"
:
"0x42000000000000000000000000000000000000f3"
,
"proxyAdminOwner"
:
"0x0000000000000000000000000000000000000000"
,
"proxyAdminOwner"
:
"0x0000000000000000000000000000000000000000"
,
"gasPriceOracleOverhead"
:
2100
,
"gasPriceOracleOverhead"
:
2100
,
"gasPriceOracleScalar"
:
1000000
,
"gasPriceOracleScalar"
:
1000000
,
...
...
op-e2e/e2eutils/setup.go
View file @
c2c51df2
...
@@ -101,7 +101,6 @@ func MakeDeployParams(t require.TestingT, tp *TestParams) *DeployParams {
...
@@ -101,7 +101,6 @@ func MakeDeployParams(t require.TestingT, tp *TestParams) *DeployParams {
OptimismBaseFeeRecipient
:
predeploys
.
BaseFeeVaultAddr
,
OptimismBaseFeeRecipient
:
predeploys
.
BaseFeeVaultAddr
,
OptimismL1FeeRecipient
:
predeploys
.
L1FeeVaultAddr
,
OptimismL1FeeRecipient
:
predeploys
.
L1FeeVaultAddr
,
L2CrossDomainMessengerOwner
:
common
.
Address
{
0
:
0x42
,
19
:
0xf2
},
// tbd
L2CrossDomainMessengerOwner
:
common
.
Address
{
0
:
0x42
,
19
:
0xf2
},
// tbd
GasPriceOracleOwner
:
common
.
Address
{
0
:
0x42
,
19
:
0xf3
},
// tbd
GasPriceOracleOverhead
:
2100
,
GasPriceOracleOverhead
:
2100
,
GasPriceOracleScalar
:
1000
_000
,
GasPriceOracleScalar
:
1000
_000
,
DeploymentWaitConfirmations
:
1
,
DeploymentWaitConfirmations
:
1
,
...
...
op-e2e/setup.go
View file @
c2c51df2
...
@@ -98,9 +98,10 @@ func DefaultSystemConfig(t *testing.T) SystemConfig {
...
@@ -98,9 +98,10 @@ func DefaultSystemConfig(t *testing.T) SystemConfig {
OptimismBaseFeeRecipient
:
predeploys
.
BaseFeeVaultAddr
,
OptimismBaseFeeRecipient
:
predeploys
.
BaseFeeVaultAddr
,
OptimismL1FeeRecipient
:
predeploys
.
L1FeeVaultAddr
,
OptimismL1FeeRecipient
:
predeploys
.
L1FeeVaultAddr
,
L2CrossDomainMessengerOwner
:
common
.
Address
{
0
:
0x52
,
19
:
0xf3
},
// tbd
L2CrossDomainMessengerOwner
:
common
.
Address
{
0
:
0x52
,
19
:
0xf3
},
// tbd
GasPriceOracleOwner
:
addresses
.
Alice
,
// tbd
GasPriceOracleOverhead
:
2100
,
GasPriceOracleOverhead
:
2100
,
GasPriceOracleScalar
:
1
_000_000
,
GasPriceOracleScalar
:
1
_000_000
,
DeploymentWaitConfirmations
:
1
,
DeploymentWaitConfirmations
:
1
,
EIP1559Elasticity
:
2
,
EIP1559Elasticity
:
2
,
...
...
packages/contracts-bedrock/hardhat.config.ts
View file @
c2c51df2
...
@@ -317,10 +317,6 @@ const config: HardhatUserConfig = {
...
@@ -317,10 +317,6 @@ const config: HardhatUserConfig = {
type
:
'
address
'
,
type
:
'
address
'
,
default
:
ethers
.
constants
.
AddressZero
,
default
:
ethers
.
constants
.
AddressZero
,
},
},
gasPriceOracleOwner
:
{
type
:
'
address
'
,
default
:
ethers
.
constants
.
AddressZero
,
},
gasPriceOracleOverhead
:
{
gasPriceOracleOverhead
:
{
type
:
'
number
'
,
type
:
'
number
'
,
default
:
2100
,
default
:
2100
,
...
...
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