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
ceea12f3
Unverified
Commit
ceea12f3
authored
Feb 01, 2022
by
smartcontracts
Committed by
GitHub
Feb 01, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2115 from tonykogias/remove-unused-constants-in-data-trasport-layer
Removed constants from data-transport-layer
parents
b6074f52
4708b50c
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 @
ceea12f3
...
...
@@ -18,7 +18,7 @@ import {
TransactionEntry
,
EventHandlerSet
,
}
from
'
../../../types
'
import
{
SEQUENCER_GAS_LIMIT
,
parseSignatureVParam
}
from
'
../../../utils
'
import
{
parseSignatureVParam
}
from
'
../../../utils
'
export
const
handleEventsSequencerBatchAppended
:
EventHandlerSet
<
SequencerBatchAppendedEvent
,
...
...
@@ -65,7 +65,6 @@ export const handleEventsSequencerBatchAppended: EventHandlerSet<
submitter
:
l1Transaction
.
from
,
l1TransactionHash
:
l1Transaction
.
hash
,
l1TransactionData
:
l1Transaction
.
data
,
gasLimit
:
`
${
SEQUENCER_GAS_LIMIT
}
`
,
prevTotalElements
:
batchSubmissionEvent
.
args
.
_prevTotalElements
,
batchIndex
:
batchSubmissionEvent
.
args
.
_batchIndex
,
...
...
packages/data-transport-layer/src/types/event-handler-types.ts
View file @
ceea12f3
...
...
@@ -42,7 +42,6 @@ export interface SequencerBatchAppendedExtraData {
submitter
:
string
l1TransactionData
:
string
l1TransactionHash
:
string
gasLimit
:
string
// Stuff from TransactionBatchAppended.
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 @
ceea12f3
export
*
from
'
./common
'
export
*
from
'
./constants
'
export
*
from
'
./contracts
'
export
*
from
'
./validation
'
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