Skip to content

chore(sequencer): error when no transaction until publishing empty block #1892

Description

@gupadhyaya
9:37AM INF serve module=api-server msg="Starting RPC HTTP server on [::]:1317"
9:37AM INF Creating and publishing block height=1 module=BlockManager
9:37AM ERR error while publishing block error="failed to get transactions from batch: no batch to process" module=BlockManager
9:37AM INF Creating and publishing block height=1 module=BlockManager
9:37AM ERR error while publishing block error="failed to get transactions from batch: no batch to process" module=BlockManager
9:37AM INF Creating and publishing block height=1 module=BlockManager
9:37AM ERR error while publishing block error="failed to get transactions from batch: no batch to process" module=BlockManager
9:37AM INF Creating and publishing block height=1 module=BlockManager
9:37AM ERR error while publishing block error="failed to get transactions from batch: no batch to process" module=BlockManager
9:37AM INF Creating and publishing block height=1 module=BlockManager
9:37AM ERR error while publishing block error="failed to get transactions from batch: no batch to process" module=BlockManager
9:37AM INF Creating and publishing block height=1 module=BlockManager
9:37AM ERR error while publishing block error="failed to get transactions from batch: no batch to process" module=BlockManager

when there are no transactions to process and batch retriever has not published empty batches, the publish block prints error. this is more of a cosmetic issue as the publish block starts producing empty blocks when the empty batches becomes available. it is better to change this error to debug log.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions