Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: break up blobindexer logic into smaller func and add unit tests #1327

Draft
wants to merge 25 commits into
base: staging
Choose a base branch
from

Conversation

Monika-Bitfly
Copy link

@Monika-Bitfly Monika-Bitfly commented Feb 11, 2025

  • Refactored blobindexer.go functions in the /blobindexer package by breaking them into smaller, more readable functions
  • Added S3Client and consapi Client mocks using mockery package
  • Added blobindexer_test.go unit tests
  • Fixed /consapi methods typo

…dTimeToHeadDuration, calculateEstimatedTimeToHead, calculateBlobsPerSecond, calculateSlotsPerSecond & getLastIndexedFinalizedSlot func
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.

1 participant