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
4708b50c
Commit
4708b50c
authored
Feb 01, 2022
by
Antonis Kogias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed constants and associated code
parent
b6074f52
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
7 deletions
+1
-7
sequencer-batch-appended.ts
...ervices/l1-ingestion/handlers/sequencer-batch-appended.ts
+1
-2
event-handler-types.ts
...ges/data-transport-layer/src/types/event-handler-types.ts
+0
-1
constants.ts
packages/data-transport-layer/src/utils/constants.ts
+0
-3
index.ts
packages/data-transport-layer/src/utils/index.ts
+0
-1
No files found.
packages/data-transport-layer/src/services/l1-ingestion/handlers/sequencer-batch-appended.ts
View file @
4708b50c
...
@@ -18,7 +18,7 @@ import {
...
@@ -18,7 +18,7 @@ import {
TransactionEntry
,
TransactionEntry
,
EventHandlerSet
,
EventHandlerSet
,
}
from
'
../../../types
'
}
from
'
../../../types
'
import
{
SEQUENCER_GAS_LIMIT
,
parseSignatureVParam
}
from
'
../../../utils
'
import
{
parseSignatureVParam
}
from
'
../../../utils
'
export
const
handleEventsSequencerBatchAppended
:
EventHandlerSet
<
export
const
handleEventsSequencerBatchAppended
:
EventHandlerSet
<
SequencerBatchAppendedEvent
,
SequencerBatchAppendedEvent
,
...
@@ -65,7 +65,6 @@ export const handleEventsSequencerBatchAppended: EventHandlerSet<
...
@@ -65,7 +65,6 @@ export const handleEventsSequencerBatchAppended: EventHandlerSet<
submitter
:
l1Transaction
.
from
,
submitter
:
l1Transaction
.
from
,
l1TransactionHash
:
l1Transaction
.
hash
,
l1TransactionHash
:
l1Transaction
.
hash
,
l1TransactionData
:
l1Transaction
.
data
,
l1TransactionData
:
l1Transaction
.
data
,
gasLimit
:
`
${
SEQUENCER_GAS_LIMIT
}
`
,
prevTotalElements
:
batchSubmissionEvent
.
args
.
_prevTotalElements
,
prevTotalElements
:
batchSubmissionEvent
.
args
.
_prevTotalElements
,
batchIndex
:
batchSubmissionEvent
.
args
.
_batchIndex
,
batchIndex
:
batchSubmissionEvent
.
args
.
_batchIndex
,
...
...
packages/data-transport-layer/src/types/event-handler-types.ts
View file @
4708b50c
...
@@ -42,7 +42,6 @@ export interface SequencerBatchAppendedExtraData {
...
@@ -42,7 +42,6 @@ export interface SequencerBatchAppendedExtraData {
submitter
:
string
submitter
:
string
l1TransactionData
:
string
l1TransactionData
:
string
l1TransactionHash
:
string
l1TransactionHash
:
string
gasLimit
:
string
// Stuff from TransactionBatchAppended.
// Stuff from TransactionBatchAppended.
prevTotalElements
:
BigNumber
prevTotalElements
:
BigNumber
...
...
packages/data-transport-layer/src/utils/constants.ts
deleted
100644 → 0
View file @
b6074f52
export
const
SEQUENCER_GAS_LIMIT
=
11
_000_000
// TODO: Remove and use value from event.
export
const
SEQUENCER_ENTRYPOINT_ADDRESS
=
'
0x4200000000000000000000000000000000000005
'
packages/data-transport-layer/src/utils/index.ts
View file @
4708b50c
export
*
from
'
./common
'
export
*
from
'
./common
'
export
*
from
'
./constants
'
export
*
from
'
./contracts
'
export
*
from
'
./contracts
'
export
*
from
'
./validation
'
export
*
from
'
./validation
'
export
*
from
'
./eth-tx
'
export
*
from
'
./eth-tx
'
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