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
99c0693a
Unverified
Commit
99c0693a
authored
Oct 22, 2021
by
ben-chain
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(contracts): use currect messenger proxy name
parent
c73d36f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
120-initialize-Proxy__L1CrossDomainMessenger.ts
...ts/deploy/120-initialize-Proxy__L1CrossDomainMessenger.ts
+8
-4
No files found.
packages/contracts/deploy/120-initialize-Proxy__L1CrossDomainMessenger.ts
View file @
99c0693a
...
@@ -11,10 +11,14 @@ const deployFn: DeployFunction = async (hre) => {
...
@@ -11,10 +11,14 @@ const deployFn: DeployFunction = async (hre) => {
// There is a risk that on a fresh deployment we could get front-run,
// There is a risk that on a fresh deployment we could get front-run,
// and the Proxy would be bricked. But that feels unlikely, and we can recover from it.
// and the Proxy would be bricked. But that feels unlikely, and we can recover from it.
console
.
log
(
`Initializing Proxy__L1CrossDomainMessenger...`
)
console
.
log
(
`Initializing Proxy__L1CrossDomainMessenger...`
)
const
proxy
=
await
getLiveContract
(
hre
,
'
Proxy__L1CrossDomainMessenger
'
,
{
const
proxy
=
await
getLiveContract
(
iface
:
'
L1CrossDomainMessenger
'
,
hre
,
signerOrProvider
:
deployer
,
'
Proxy__OVM_L1CrossDomainMessenger
'
,
})
{
iface
:
'
L1CrossDomainMessenger
'
,
signerOrProvider
:
deployer
,
}
)
const
libAddressManager
=
await
getLiveContract
(
hre
,
'
Lib_AddressManager
'
)
const
libAddressManager
=
await
getLiveContract
(
hre
,
'
Lib_AddressManager
'
)
await
proxy
.
initialize
(
libAddressManager
.
address
)
await
proxy
.
initialize
(
libAddressManager
.
address
)
...
...
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