Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed Mar 8, 2024
1 parent 8009945 commit 8ff813b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pkg/cannon/deriver/beacon/eth/v2/execution_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,6 @@ func (b *ExecutionTransactionDeriver) processSlot(ctx context.Context, slot phas

tx.BlobSidecarsSize = fmt.Sprint(sidecarsSize)
tx.BlobSidecarsEmptySize = fmt.Sprint(sidecarsEmptySize)
} else {
continue
}

event, err := b.createEvent(ctx, tx, uint64(index), blockIdentifier, transaction)
Expand Down
4 changes: 2 additions & 2 deletions pkg/cannon/ethereum/beacon.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ func NewBeaconNode(ctx context.Context, name string, config *Config, log logrus.
blockPreloadChan: make(chan string, config.BlockPreloadQueueSize),
blockPreloadSem: blockSem,
blobSidecarsCache: ttlcache.New(
ttlcache.WithTTL[string, []*deneb.BlobSidecar](config.BlockCacheTTL.Duration),
ttlcache.WithCapacity[string, []*deneb.BlobSidecar](config.BlockCacheSize),
ttlcache.WithTTL[string, []*deneb.BlobSidecar](config.BlobSidecarsCacheTTL.Duration),
ttlcache.WithCapacity[string, []*deneb.BlobSidecar](config.BlobSidecarsCacheSize),
),
blobSidecarsPreloadChan: make(chan string, config.BlobSidecarsPreloadQueueSize),
blobSidecarsPreloadSem: blobSidecarsSem,
Expand Down

0 comments on commit 8ff813b

Please sign in to comment.