Skip to content

feat(server): Add Permanent Block Storage#36

Merged
samcm merged 7 commits intomasterfrom
feat/permanent-block-storage
Mar 18, 2025
Merged

feat(server): Add Permanent Block Storage#36
samcm merged 7 commits intomasterfrom
feat/permanent-block-storage

Conversation

@samcm
Copy link
Copy Markdown
Member

@samcm samcm commented Mar 14, 2025

No description provided.

@samcm samcm requested a review from Savid as a code owner March 14, 2025 05:09
samcm added 6 commits March 14, 2025 15:50
This commit addresses a potential integer overflow issue when converting int64
values to uint64 for 'slot' and 'epoch' fields in
`DistinctBeaconBadBlockValues` and `DistinctBeaconBlockValues` functions.
It also fixes a validation logic in the config to ensure that at least one
agent configuration is provided.
This commit introduces a graceful shutdown mechanism for the
permanent store, ensuring that all queued blocks are processed
before the store is stopped. It also adds a stopped flag to
prevent new blocks from being queued after the stop signal is
received. Additionally, it increases the number of goroutines
processing the queue to improve performance.
This commit renames the "*PermanentStoreBlock" components to
"*BlockInfo" for clarity and consistency. This change affects
the BeaconBadBlockInfo, BeaconBlockInfo, and
ExecutionBadBlockInfo components, as well as their import and
usage in the Info part.
fix(permanent_store.go): add retry mechanism for acquiring lock
test(permanent_store_test.go): add process channel to test queue
@samcm samcm merged commit cbf0cbd into master Mar 18, 2025
5 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.

1 participant