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
1e62ed66
Unverified
Commit
1e62ed66
authored
Nov 02, 2021
by
Maurelian
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Apply 'yarn lint:fix' from root dir of repo
parent
d7b6b2fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
tx-batch-submitter.ts
...batch-submitter/src/batch-submitter/tx-batch-submitter.ts
+8
-3
service.ts
...data-transport-layer/src/services/l1-ingestion/service.ts
+4
-1
No files found.
packages/batch-submitter/src/batch-submitter/tx-batch-submitter.ts
View file @
1e62ed66
...
...
@@ -85,7 +85,7 @@ export class TransactionBatchSubmitter extends BatchSubmitter {
this
.
logger
.
info
(
'
Batch validation options
'
,
{
autoFixBatchOptions
,
validateBatch
validateBatch
,
})
}
...
...
@@ -203,9 +203,14 @@ export class TransactionBatchSubmitter extends BatchSubmitter {
return
}
const
params
=
await
this
.
_generateSequencerBatchParams
(
startBlock
,
endBlock
)
const
params
=
await
this
.
_generateSequencerBatchParams
(
startBlock
,
endBlock
)
if
(
!
params
)
{
throw
new
Error
(
`Cannot create sequencer batch with params start
${
startBlock
}
and end
${
endBlock
}
`
)
throw
new
Error
(
`Cannot create sequencer batch with params start
${
startBlock
}
and end
${
endBlock
}
`
)
}
const
[
batchParams
,
wasBatchTruncated
]
=
params
...
...
packages/data-transport-layer/src/services/l1-ingestion/service.ts
View file @
1e62ed66
...
...
@@ -157,7 +157,10 @@ export class L1IngestionService extends BaseService<L1IngestionServiceOptions> {
// If there isn't an indexed starting L1 block, that means we should pull it
// from config and then fallback to discovering it
if
(
startingL1BlockNumber
===
null
||
startingL1BlockNumber
===
undefined
)
{
if
(
this
.
options
.
l1StartHeight
!==
null
&&
this
.
options
.
l1StartHeight
!==
undefined
)
{
if
(
this
.
options
.
l1StartHeight
!==
null
&&
this
.
options
.
l1StartHeight
!==
undefined
)
{
startingL1BlockNumber
=
this
.
options
.
l1StartHeight
}
else
{
this
.
logger
.
info
(
...
...
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