fix: mint and burn func signatures, adjustable batch size for pool and backfill buffer

This commit is contained in:
2024-09-05 14:24:32 +03:00
parent 591518bbb5
commit 22ffc224ca
7 changed files with 32 additions and 29 deletions

View File

@@ -68,7 +68,7 @@ func (p *Processor) ProcessBlock(ctx context.Context, blockNumber uint64) error
Timestamp: block.Time(),
},
); err != nil && !errors.Is(err, context.Canceled) {
return err
return fmt.Errorf("route success transaction error: tx %s: %v", receipt.TxHash.Hex(), err)
}
}
}
@@ -100,7 +100,7 @@ func (p *Processor) ProcessBlock(ctx context.Context, blockNumber uint64) error
TxHash: receipt.TxHash.Hex(),
},
); err != nil && !errors.Is(err, context.Canceled) {
return err
return fmt.Errorf("route revert transaction error: tx %s: %v", receipt.TxHash.Hex(), err)
}
}
}