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
124dbd6c
Unverified
Commit
124dbd6c
authored
Oct 21, 2021
by
ben-chain
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(contracts): make OVM_L1CrossDomainMessenger deploy AM-independent
parent
83259899
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
090-OVM_L1StandardBridge.deploy.ts
packages/contracts/deploy/090-OVM_L1StandardBridge.deploy.ts
+2
-4
No files found.
packages/contracts/deploy/090-OVM_L1StandardBridge.deploy.ts
View file @
124dbd6c
...
@@ -18,7 +18,6 @@ import {
...
@@ -18,7 +18,6 @@ import {
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
deployFn
:
DeployFunction
=
async
(
hre
)
=>
{
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
const
{
deployer
}
=
await
hre
.
getNamedAccounts
()
const
Lib_AddressManager
=
await
getLiveContract
(
hre
,
'
Lib_AddressManager
'
)
// Set up a reference to the proxy as if it were the L1StandardBridge contract.
// Set up a reference to the proxy as if it were the L1StandardBridge contract.
const
contract
=
await
getLiveContract
(
hre
,
'
Proxy__OVM_L1StandardBridge
'
,
{
const
contract
=
await
getLiveContract
(
hre
,
'
Proxy__OVM_L1StandardBridge
'
,
{
...
@@ -63,9 +62,8 @@ const deployFn: DeployFunction = async (hre) => {
...
@@ -63,9 +62,8 @@ const deployFn: DeployFunction = async (hre) => {
// Next we need to set the `messenger` address by executing a setStorage operation. We'll
// Next we need to set the `messenger` address by executing a setStorage operation. We'll
// check that this operation was correctly executed by calling `messenger()` and checking
// check that this operation was correctly executed by calling `messenger()` and checking
// that the result matches the value we initialized.
// that the result matches the value we initialized.
const
l1CrossDomainMessengerAddress
=
await
Lib_AddressManager
.
getAddress
(
const
l1CrossDomainMessenger
=
await
getLiveContract
(
hre
,
'
Proxy__OVM_L1CrossDomainMessenger
'
)
'
Proxy__OVM_L1CrossDomainMessenger
'
const
l1CrossDomainMessengerAddress
=
l1CrossDomainMessenger
.
address
)
// Critical error, should never happen.
// Critical error, should never happen.
if
(
if
(
...
...
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