Commit ceea12f3 authored by smartcontracts's avatar smartcontracts Committed by GitHub

Merge pull request #2115 from tonykogias/remove-unused-constants-in-data-trasport-layer

Removed constants from data-transport-layer
parents b6074f52 4708b50c
......@@ -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,
......
......@@ -42,7 +42,6 @@ export interface SequencerBatchAppendedExtraData {
submitter: string
l1TransactionData: string
l1TransactionHash: string
gasLimit: string
// Stuff from TransactionBatchAppended.
prevTotalElements: BigNumber
......
export const SEQUENCER_GAS_LIMIT = 11_000_000 // TODO: Remove and use value from event.
export const SEQUENCER_ENTRYPOINT_ADDRESS =
'0x4200000000000000000000000000000000000005'
export * from './common'
export * from './constants'
export * from './contracts'
export * from './validation'
export * from './eth-tx'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment