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
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
73d8df6
refactor: break down blobindexer.go index logic into smaller func for…
Monika-Bitfly Feb 6, 2025
ca5f502
refactor: update BlobIndexerConfig
Monika-Bitfly Feb 6, 2025
46daca9
refactor: update calculateMinBlobSlot & calculateStartSlot
Monika-Bitfly Feb 6, 2025
e77f61f
test: add blobindexer tests
Monika-Bitfly Feb 6, 2025
a2d1f23
refactor: update beacon header response type
Monika-Bitfly Feb 6, 2025
4648634
test: update TestCalculateMinBlobSlot tests
Monika-Bitfly Feb 6, 2025
e39e2b5
refactor: update estimated time to head calc
Monika-Bitfly Feb 6, 2025
4a229d2
test: add blobindexer tests for calculateStartSlot, calculateEstimate…
Monika-Bitfly Feb 6, 2025
ed92d0e
refactor: break down blobindexer.go indexBlobsAtSlot & indexBlobsInBa…
Monika-Bitfly Feb 7, 2025
391c836
test: add blobindexer tests for validateSpec method
Monika-Bitfly Feb 7, 2025
a2ffca0
refactor: update blob sidecards response type
Monika-Bitfly Feb 7, 2025
0a675f9
fix: Proposal typo
Monika-Bitfly Feb 7, 2025
c9e1250
test: added ClientInt consapi mocks
Monika-Bitfly Feb 7, 2025
8e8db86
test: add blobindexer tests for fetchSpec, fetchBlockHeader & checkNo…
Monika-Bitfly Feb 7, 2025
615e518
fix: estimated time to head calculations
Monika-Bitfly Feb 7, 2025
108d89e
test: add S3Client mocks
Monika-Bitfly Feb 10, 2025
4dbcd94
refactor: update BlobIndexerConfig S3 type
Monika-Bitfly Feb 10, 2025
0a3e744
test: add blobindexer s3 tests
Monika-Bitfly Feb 10, 2025
7aa48af
test: add blobindexer TestPutBlob & TestPutIndexerStatus tests
Monika-Bitfly Feb 11, 2025
448fc55
refactor: modularize Indexer struct into IndexerConfig and NodeConfig
Monika-Bitfly Feb 11, 2025
af31e86
test: add blobindexer TestNewBlobIndexer, TestIndexBlobsAtSlot, TestG…
Monika-Bitfly Feb 11, 2025
5fb67e2
test: update TestPutIndexerStatus test
Monika-Bitfly Feb 11, 2025
2a7d6ce
test: update timestamp in TestPutIndexerStatus test
Monika-Bitfly Feb 11, 2025
dccc32d
test: update TestPutIndexerStatus test
Monika-Bitfly Feb 11, 2025
08db8f8
refactor: rename s3.go to client.go
Monika-Bitfly Feb 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ require (
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/status-im/keycard-go v0.2.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/supranational/blst v0.3.13 // indirect
github.com/thomaso-mirodin/intmath v0.0.0-20160323211736-5dc6d854e46e // indirect
github.com/tklauser/go-sysconf v0.3.13 // indirect
Expand Down
Loading
Loading