You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(l1): handle missing payloads in engine_getPayloadBodiesByRange (#5408)
**Motivation**
When we added RPC metrics for success/error rates in #5335, we found
that we were returning "Internal error" in the
`engine_getPayloadBodiesByRange` method. This was related to changes
done in #2430, which turned missing payloads into a DB error. The spec
says we should return `null`s for any missing payloads, so this deviates
from the spec.
**Description**
This PR fixes the spec deviation by changing the batch-GET methods from
the Store API to return `None` on missing values instead of failing.
Closes#5403
---------
Co-authored-by: Rodrigo Oliveri <[email protected]>
0 commit comments