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
a70e0c9a
Commit
a70e0c9a
authored
May 01, 2023
by
Maurelian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ctb): Add L1ERC721Bridge admin deploy check
parent
21ea9dfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
SystemDictator.sol
...contracts-bedrock/contracts/deployment/SystemDictator.sol
+1
-1
021-SystemDictatorSteps-2.ts
...ges/contracts-bedrock/deploy/021-SystemDictatorSteps-2.ts
+10
-0
No files found.
packages/contracts-bedrock/contracts/deployment/SystemDictator.sol
View file @
a70e0c9a
...
...
@@ -419,7 +419,7 @@ contract SystemDictator is OwnableUpgradeable {
}
/**
* @notice Calls the
next remaings
steps of the migration process.
* @notice Calls the
remaining
steps of the migration process.
*/
function phase2() external onlyOwner {
step3();
...
...
packages/contracts-bedrock/deploy/021-SystemDictatorSteps-2.ts
View file @
a70e0c9a
...
...
@@ -33,6 +33,7 @@ const deployFn: DeployFunction = async (hre) => {
L2OutputOracle
,
OptimismPortal
,
OptimismMintableERC20Factory
,
L1ERC721BridgeProxy
,
L1ERC721Bridge
,
]
=
await
getContractsFromArtifacts
(
hre
,
[
{
...
...
@@ -76,6 +77,9 @@ const deployFn: DeployFunction = async (hre) => {
iface
:
'
OptimismMintableERC20Factory
'
,
signerOrProvider
:
deployer
,
},
{
name
:
'
L1ERC721BridgeProxy
'
,
},
{
name
:
'
L1ERC721BridgeProxy
'
,
iface
:
'
L1ERC721Bridge
'
,
...
...
@@ -222,6 +226,12 @@ const deployFn: DeployFunction = async (hre) => {
}))
===
ProxyAdmin
.
address
)
assert
(
(
await
L1ERC721BridgeProxy
.
callStatic
.
admin
({
from
:
ProxyAdmin
.
address
,
}))
===
ProxyAdmin
.
address
)
// Step 5 checks
// Check L2OutputOracle was initialized properly.
await
assertContractVariable
(
...
...
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