Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed May 24, 2024
1 parent 68b8293 commit 268615a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/enclave/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ func (s *storageImpl) StoreExecutedBatch(ctx context.Context, batch *core.Batch,
if err := enclavedb.WriteBatchExecution(ctx, dbTx, batch.SeqNo(), receipts); err != nil {
return fmt.Errorf("could not write transaction receipts. Cause: %w", err)
}

s.logger.Trace("store executed batch", log.BatchHashKey, batch.Hash(), log.BatchSeqNoKey, batch.SeqNo(), "receipts", len(receipts))
if batch.Number().Uint64() > common.L2GenesisSeqNo {
stateDB, err := s.CreateStateDB(ctx, batch.Header.ParentHash)
if err != nil {
Expand Down

0 comments on commit 268615a

Please sign in to comment.