Files
prysm/beacon-chain/rpc
Snezhkko 5a2e51b894 fix(rpc): incorrect constructor return type (#16084)
The constructor `NewStateRootNotFoundError` incorrectly returned
`StateNotFoundError`. This prevented handlers that rely on
errors.As(err, *lookup.StateRootNotFoundError) from matching and mapping
the error to HTTP 404. The function now returns
StateRootNotFoundError and constructs that type, restoring the intended
behavior for “state root not found” cases.

---------

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2025-12-09 13:56:00 +00:00
..
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00
2025-11-06 16:16:23 +00:00