@@ -529,7 +529,7 @@ func (r *Layer2Relayer) ProcessPendingBundles() {
529529 }
530530
531531 case types .ProvingTaskVerified :
532- log .Info ("Start to roll up zk proof" , "bundle hash" , bundle .Hash )
532+ log .Info ("Start to roll up zk proof" , "index" , bundle . Index , " bundle hash" , bundle .Hash )
533533 r .metrics .rollupL2RelayerProcessPendingBundlesFinalizedTotal .Inc ()
534534 if err := r .finalizeBundle (bundle , true ); err != nil {
535535 log .Error ("failed to finalize bundle with proof" , "bundle index" , bundle .Index , "start batch index" , bundle .StartBatchIndex , "end batch index" , bundle .EndBatchIndex , "err" , err )
@@ -638,12 +638,12 @@ func (r *Layer2Relayer) finalizeBundle(bundle *orm.Bundle, withProof bool) error
638638 // Updating rollup status in database.
639639 err = r .db .Transaction (func (dbTX * gorm.DB ) error {
640640 if err = r .batchOrm .UpdateFinalizeTxHashAndRollupStatusByBundleHash (r .ctx , bundle .Hash , txHash .String (), types .RollupFinalizing , dbTX ); err != nil {
641- log .Warn ("UpdateFinalizeTxHashAndRollupStatusByBundleHash failed" , "bundle hash" , bundle .Hash , "tx hash" , txHash .String (), "err" , err )
641+ log .Warn ("UpdateFinalizeTxHashAndRollupStatusByBundleHash failed" , "index" , bundle . Index , " bundle hash" , bundle .Hash , "tx hash" , txHash .String (), "err" , err )
642642 return err
643643 }
644644
645645 if err = r .bundleOrm .UpdateFinalizeTxHashAndRollupStatus (r .ctx , bundle .Hash , txHash .String (), types .RollupFinalizing , dbTX ); err != nil {
646- log .Warn ("UpdateFinalizeTxHashAndRollupStatus failed" , "bundle hash" , bundle .Hash , "tx hash" , txHash .String (), "err" , err )
646+ log .Warn ("UpdateFinalizeTxHashAndRollupStatus failed" , "index" , bundle . Index , " bundle hash" , bundle .Hash , "tx hash" , txHash .String (), "err" , err )
647647 return err
648648 }
649649
0 commit comments