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
e941ee73
Unverified
Commit
e941ee73
authored
Dec 06, 2022
by
smartcontracts
Committed by
GitHub
Dec 06, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(dtl): bug with shutoff logic (#4240)
Fixes a bug with the DTL's shutoff block logic.
parent
21ee72b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
stale-experts-roll.md
.changeset/stale-experts-roll.md
+5
-0
service.ts
...data-transport-layer/src/services/l1-ingestion/service.ts
+1
-1
No files found.
.changeset/stale-experts-roll.md
0 → 100644
View file @
e941ee73
---
'
@eth-optimism/data-transport-layer'
:
patch
---
Fixes a bug with the DTL shutoff block logic
packages/data-transport-layer/src/services/l1-ingestion/service.ts
View file @
e941ee73
...
@@ -228,7 +228,7 @@ export class L1IngestionService extends BaseService<L1IngestionServiceOptions> {
...
@@ -228,7 +228,7 @@ export class L1IngestionService extends BaseService<L1IngestionServiceOptions> {
)
)
// Don't sync beyond the shutoff block!
// Don't sync beyond the shutoff block!
if
(
this
.
options
.
l1SyncShutoffBlock
!==
undefined
)
{
if
(
Number
.
isInteger
(
this
.
options
.
l1SyncShutoffBlock
)
)
{
targetL1Block
=
Math
.
min
(
targetL1Block
=
Math
.
min
(
targetL1Block
,
targetL1Block
,
this
.
options
.
l1SyncShutoffBlock
this
.
options
.
l1SyncShutoffBlock
...
...
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