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
7fa43571
Unverified
Commit
7fa43571
authored
Jan 12, 2023
by
mergify[bot]
Committed by
GitHub
Jan 12, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4687 from ethereum-optimism/feat/goerli-migration
Goerli migration working PR
parents
105c8f3d
e95f4da8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
021-SystemDictatorSteps-2.ts
...ges/contracts-bedrock/deploy/021-SystemDictatorSteps-2.ts
+12
-0
deploy-utils.ts
packages/contracts-bedrock/src/deploy-utils.ts
+6
-0
No files found.
packages/contracts-bedrock/deploy/021-SystemDictatorSteps-2.ts
View file @
7fa43571
...
...
@@ -183,7 +183,19 @@ const deployFn: DeployFunction = async (hre) => {
l2OutputOracleStartingTimestamp
:
deployL2StartingTimestamp
,
})
}
else
{
const
tx
=
await
SystemDictator
.
populateTransaction
.
updateL2OutputOracleDynamicConfig
(
{
l2OutputOracleStartingBlockNumber
:
hre
.
deployConfig
.
l2OutputOracleStartingBlockNumber
,
l2OutputOracleStartingTimestamp
:
hre
.
deployConfig
.
l2OutputOracleStartingTimestamp
,
}
)
console
.
log
(
`Please update dynamic oracle config...`
)
console
.
log
(
`MSD address:
${
SystemDictator
.
address
}
`
)
console
.
log
(
`JSON:`
)
console
.
log
(
jsonifyTransaction
(
tx
))
}
await
awaitCondition
(
...
...
packages/contracts-bedrock/src/deploy-utils.ts
View file @
7fa43571
...
...
@@ -340,7 +340,13 @@ export const doStep = async (opts: {
console
.
log
(
`Executing step
${
opts
.
step
}
...`
)
await
opts
.
SystemDictator
[
`step
${
opts
.
step
}
`
]()
}
else
{
const
tx
=
await
opts
.
SystemDictator
.
populateTransaction
[
`step
${
opts
.
step
}
`
]()
console
.
log
(
`Please execute step
${
opts
.
step
}
...`
)
console
.
log
(
`MSD address:
${
opts
.
SystemDictator
.
address
}
`
)
console
.
log
(
`JSON:`
)
console
.
log
(
jsonifyTransaction
(
tx
))
}
// Wait for the step to complete.
...
...
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