Skip to content

WIP Peerdas devnet 6#31747

Closed
MariusVanDerWijden wants to merge 26 commits into
masterfrom
peerdas-devnet-6
Closed

WIP Peerdas devnet 6#31747
MariusVanDerWijden wants to merge 26 commits into
masterfrom
peerdas-devnet-6

Conversation

@MariusVanDerWijden
Copy link
Copy Markdown
Member

No description provided.

While running kurtosis and spamoor, I noticed occasional `null` entries
coming back from `getBlobsV2`. After investigating, I found that spamoor
can use the same blob data across multiple transactions, so with larger
blob counts, there's an increased chance that a blob is included in a
block more than once. As a result, previous indexes in the hash-to-index
map in `getBlobsV2` would get overwritten.

I changed the map from `map[common.Hash]int` to `map[common.Hash][]int`
to handle this case. I decided to go this route because it's the
smallest-possible fix, but it could also make sense to update
`blobpool.GetBlobs` to de-duplicate the hashes.
@MariusVanDerWijden
Copy link
Copy Markdown
Member Author

closed in favor of #31791

@MariusVanDerWijden MariusVanDerWijden deleted the peerdas-devnet-6 branch May 9, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants