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
1f89b250
Unverified
Commit
1f89b250
authored
May 30, 2023
by
mergify[bot]
Committed by
GitHub
May 30, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into fix/withdrawal-script
parents
881801c8
ddce8b8d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
90 additions
and
62 deletions
+90
-62
chains.go
op-node/chaincfg/chains.go
+14
-16
mainnet.ts
packages/contracts-bedrock/deploy-config/mainnet.ts
+1
-2
012-L2OutputOracleImpl.ts
packages/contracts-bedrock/deploy/012-L2OutputOracleImpl.ts
+3
-7
L1CrossDomainMessengerProxy.json
...rock/deployments/mainnet/L1CrossDomainMessengerProxy.json
+0
-0
L1ERC721Bridge.json
...contracts-bedrock/deployments/mainnet/L1ERC721Bridge.json
+72
-37
L1StandardBridgeProxy.json
...ts-bedrock/deployments/mainnet/L1StandardBridgeProxy.json
+0
-0
No files found.
op-node/chaincfg/chains.go
View file @
1f89b250
...
...
@@ -27,24 +27,22 @@ var Mainnet = rollup.Config{
// moose: Update this during migration
L2Time
:
0
,
SystemConfig
:
eth
.
SystemConfig
{
BatcherAddr
:
common
.
HexToAddress
(
"0x
70997970C51812dc3A010C7d01b50e0d17dc79C8
"
),
Overhead
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x0000000000000000000000000000000000000000000000000000000000000
834
"
)),
Scalar
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x00000000000000000000000000000000000000000000000000000000000
f424
0"
)),
GasLimit
:
25
_000_000
,
BatcherAddr
:
common
.
HexToAddress
(
"0x
6887246668a3b87f54deb3b94ba47a6f63f32985
"
),
Overhead
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x0000000000000000000000000000000000000000000000000000000000000
0bc
"
)),
Scalar
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x00000000000000000000000000000000000000000000000000000000000
a6fe
0"
)),
GasLimit
:
30
_000_000
,
},
},
BlockTime
:
2
,
MaxSequencerDrift
:
600
,
SeqWindowSize
:
3600
,
ChannelTimeout
:
300
,
L1ChainID
:
big
.
NewInt
(
1
),
L2ChainID
:
big
.
NewInt
(
10
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000000000010"
),
// moose: Update this during migration
DepositContractAddress
:
common
.
HexToAddress
(
"0x"
),
// moose: Update this during migration
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x"
),
RegolithTime
:
u64Ptr
(
0
),
BlockTime
:
2
,
MaxSequencerDrift
:
600
,
SeqWindowSize
:
3600
,
ChannelTimeout
:
300
,
L1ChainID
:
big
.
NewInt
(
1
),
L2ChainID
:
big
.
NewInt
(
10
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000000000010"
),
DepositContractAddress
:
common
.
HexToAddress
(
"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x229047fed2591dbec1eF1118d64F7aF3dB9EB290"
),
RegolithTime
:
u64Ptr
(
0
),
}
var
Goerli
=
rollup
.
Config
{
...
...
packages/contracts-bedrock/deploy-config/mainnet.ts
View file @
1f89b250
...
...
@@ -22,6 +22,5 @@ import mainnetJson from './mainnet.json'
//
// The following role is assigned to the Mint Manager contract:
// - governanceTokenOwner
const
config
:
DeployConfig
=
mainnetJson
export
default
c
onfig
export
default
mainnetJson
satisfies
DeployC
onfig
packages/contracts-bedrock/deploy/012-L2OutputOracleImpl.ts
View file @
1f89b250
...
...
@@ -9,13 +9,9 @@ const deployFn: DeployFunction = async (hre) => {
throw
new
Error
(
'
L2OutputOracle deployment: l2BlockTime must be greater than 0
'
)
}
else
if
(
hre
.
deployConfig
.
l2OutputOracleSubmissionInterval
<=
hre
.
deployConfig
.
l2BlockTime
)
{
throw
new
Error
(
'
L2OutputOracle deployment: submissionInterval must be greater than the l2BlockTime
'
)
}
if
(
hre
.
deployConfig
.
l2OutputOracleSubmissionInterval
===
0
)
{
throw
new
Error
(
'
L2OutputOracle deployment: submissionInterval cannot be 0
'
)
}
await
deploy
({
...
...
packages/contracts-bedrock/deployments/mainnet/
Proxy__OVM_L1CrossDomainMessenger
.json
→
packages/contracts-bedrock/deployments/mainnet/
L1CrossDomainMessengerProxy
.json
View file @
1f89b250
File moved
packages/contracts-bedrock/deployments/mainnet/L1ERC721Bridge.json
View file @
1f89b250
This source diff could not be displayed because it is too large. You can
view the blob
instead.
packages/contracts-bedrock/deployments/mainnet/
Proxy__OVM_L1StandardBridge
.json
→
packages/contracts-bedrock/deployments/mainnet/
L1StandardBridgeProxy
.json
View file @
1f89b250
File moved
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