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

Add blob index to file path #13736

Merged
merged 4 commits into from Mar 13, 2024
Merged

Add blob index to file path #13736

merged 4 commits into from Mar 13, 2024

Conversation

terencechain
Copy link
Member

This PR introduces a blob index to the file path, enhancing its usefulness.

@terencechain terencechain added the Ready For Review A pull request ready for code review label Mar 13, 2024
@terencechain terencechain requested a review from a team as a code owner March 13, 2024 04:11
@@ -176,7 +176,7 @@ func saveInvalidBlobToTemp(b blocks.ROBlob) {
if !features.Get().SaveInvalidBlob {
return
}
filename := fmt.Sprintf("blob_sidecar_%d.ssz", b.Slot())
filename := fmt.Sprintf("blob_sidecar_%d_%d.ssz", b.Slot(), b.Index)
Copy link
Member

Choose a reason for hiding this comment

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

maybe its better to also add the block root ?

@terencechain terencechain added this pull request to the merge queue Mar 13, 2024
Merged via the queue into develop with commit d49afb3 Mar 13, 2024
17 checks passed
@terencechain terencechain deleted the file-path-index branch March 13, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants