Skip to content

Commit 56864e6

Browse files
authored
fix(eth-backend): print whole block hash (#1092)
fix(eth backend): print whole block hash
1 parent a6a0344 commit 56864e6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

eth/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func New(stack *node.Node, config *ethconfig.Config, l1Client sync_service.EthCl
228228
if config.CheckCircuitCapacity {
229229
eth.asyncChecker = ccc.NewAsyncChecker(eth.blockchain, config.CCCMaxWorkers, false)
230230
eth.asyncChecker.WithOnFailingBlock(func(b *types.Block, err error) {
231-
log.Warn("block failed CCC check, it will be reorged by the sequencer", "hash", b.Hash(), "err", err)
231+
log.Warn("block failed CCC check, it will be reorged by the sequencer", "hash", b.Hash().Hex(), "err", err)
232232
})
233233
eth.blockchain.Validator().WithAsyncValidator(eth.asyncChecker.Check)
234234
}

rollup/pipeline/pipeline.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ func (p *Pipeline) cccStage(candidates <-chan *BlockCandidate, deadline time.Tim
474474
lastTxn := candidate.Txs[candidate.Txs.Len()-1]
475475
cccTimer.UpdateSince(cccStart)
476476
if err != nil {
477+
log.Info("failed to apply CCC", "txHash", lastTxn.Hash().Hex(), "err", err)
477478
resultCh <- &Result{
478479
OverflowingTx: lastTxn,
479480
OverflowingTrace: candidate.LastTrace,

0 commit comments

Comments
 (0)