Skip to content

execution/engineapi: reject engine_getBlobsV1 post-osaka#21857

Open
Sahil-4555 wants to merge 3 commits into
erigontech:mainfrom
Sahil-4555:fix/engineapi-reject-getblobsv1-post-osaka
Open

execution/engineapi: reject engine_getBlobsV1 post-osaka#21857
Sahil-4555 wants to merge 3 commits into
erigontech:mainfrom
Sahil-4555:fix/engineapi-reject-getblobsv1-post-osaka

Conversation

@Sahil-4555

@Sahil-4555 Sahil-4555 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

As per the Engine API specifications, once the Osaka fork is activated on the network, we must not support the engine_getBlobsV1 method anymore and it should return the -38005: Unsupported fork error. To handle this, I have added a check in GetBlobsV1 of EngineServer to check if the current canonical head block's timestamp has crossed the Osaka activation time or not. If it is active, we are directly returning the UnsupportedForkError.

Additionally, I have also added validations for the V2 and V3 methods. Previously, if someone called engine_getBlobsV2 or engine_getBlobsV3 before Osaka activation, Erigon was querying the txpool and then returning null because the proofs were not 128 elements. But this was wasting CPU cycles by unnecessarily searching the pool and it was also spamming the logs with warning messages like "pre-Fusaka proofs, len(proof)=1" every time.

Now, with this change, if Osaka is not active, both GetBlobsV2 and GetBlobsV3 will directly return null without calling the pool.

@yperbasis yperbasis added this to the 3.8.0 milestone Jun 17, 2026
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.

2 participants