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
fe19972d
Unverified
Commit
fe19972d
authored
Mar 09, 2023
by
mergify[bot]
Committed by
GitHub
Mar 09, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5088 from ethereum-optimism/sc/fd-correct-length
fix(fd): use correct fn for getTotalElements
parents
68b35a38
0aec4609
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
three-apes-study.md
.changeset/three-apes-study.md
+5
-0
service.ts
packages/fault-detector/src/service.ts
+1
-1
No files found.
.changeset/three-apes-study.md
0 → 100644
View file @
fe19972d
---
'
@eth-optimism/fault-detector'
:
patch
---
Fixes a bug that would cause the fault detector to error out if no outputs had been proposed yet.
packages/fault-detector/src/service.ts
View file @
fe19972d
...
...
@@ -124,7 +124,7 @@ export class FaultDetector extends BaseServiceV2<Options, Metrics, State> {
this
.
state
.
oo
=
{
contract
:
oo
,
filter
:
oo
.
filters
.
OutputProposed
(),
getTotalElements
:
async
()
=>
oo
.
lates
tOutputIndex
(),
getTotalElements
:
async
()
=>
oo
.
nex
tOutputIndex
(),
getEventIndex
:
(
args
)
=>
args
.
l2OutputIndex
,
}
}
else
{
...
...
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