Skip to content

Conversation

@cichaczem
Copy link
Contributor

No description provided.

@0xOsiris 0xOsiris merged commit 2e58f39 into main Sep 18, 2025
11 of 12 checks passed
@0xOsiris 0xOsiris deleted the feat-add-flashblocks-metrics branch September 18, 2025 15:30
let flashblock = Flashblock::new(payload, self.config.clone(), self.block_index, offset);
trace!(target: "payload_builder", id=%self.config.payload_id(), "creating authorized flashblock");

let flashblock_bytes = bincode::serialize(&flashblock)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be serializing this with bincode just for a metric, directly in the publish_payload pipeline.

Poll::Ready(Err(error)) => {
// job failed, but we simply try again next interval
debug!(target: "payload_builder", %error, "payload build attempt failed");
match &error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure these error metrics are useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants