Skip to content

eth/catalyst: fix getBlobsV3 partial/complete metrics#34666

Merged
healthykim merged 2 commits into
ethereum:masterfrom
adblesss:fix-getblobs-metrics
May 12, 2026
Merged

eth/catalyst: fix getBlobsV3 partial/complete metrics#34666
healthykim merged 2 commits into
ethereum:masterfrom
adblesss:fix-getblobs-metrics

Conversation

@adblesss
Copy link
Copy Markdown
Contributor

@adblesss adblesss commented Apr 5, 2026

In b2843a1, metrics check len(res) == len(hashes) but res is pre-allocated with make(), so length is always equal. Partial hit metric never fires. Count non-nil elements instead.

@fjl fjl requested review from cskiraly and healthykim May 8, 2026 13:15
Copy link
Copy Markdown
Contributor

@healthykim healthykim left a comment

Choose a reason for hiding this comment

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

Good catch

@healthykim healthykim merged commit ab28bda into ethereum:master May 12, 2026
9 checks passed
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.

2 participants