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
7959f465
Unverified
Commit
7959f465
authored
Nov 28, 2023
by
Mark Tyneway
Committed by
GitHub
Nov 28, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8306 from ethereum-optimism/fault-mon-fix
fault-mon: fix optimism-portal address override option
parents
bbf2c5b7
8c4912f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
dry-rockets-destroy.md
.changeset/dry-rockets-destroy.md
+5
-0
service.ts
packages/chain-mon/src/fault-mon/service.ts
+3
-4
No files found.
.changeset/dry-rockets-destroy.md
0 → 100644
View file @
7959f465
---
'
@eth-optimism/chain-mon'
:
patch
---
Fixed bug with custom chains not being able to set a custom portal address
packages/chain-mon/src/fault-mon/service.ts
View file @
7959f465
...
...
@@ -147,11 +147,10 @@ export class FaultDetector extends BaseServiceV2<Options, Metrics, State> {
contracts
.
OptimismPortal
=
portalAddress
this
.
logger
.
info
(
'
fetching L2OutputOracle contract from OptimismPortal
'
)
const
opts
=
{
portalAddress
,
const
portalContract
=
getOEContract
(
'
OptimismPortal
'
,
l2ChainId
,
{
address
:
portalAddress
,
signerOrProvider
:
this
.
options
.
l1RpcProvider
,
}
const
portalContract
=
getOEContract
(
'
OptimismPortal
'
,
l2ChainId
,
opts
)
})
contracts
.
L2OutputOracle
=
await
portalContract
.
L2_ORACLE
()
}
...
...
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