Skip to content

Commit

Permalink
fix validator state reading.
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelPawelec-RDX committed Aug 14, 2023
1 parent dd861f1 commit cbe71a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ ORDER BY from_state_version DESC
LIMIT 1
) evh ON TRUE
INNER JOIN LATERAL (
SELECT state, from_state_version
SELECT json_state as state, from_state_version
FROM state_history
WHERE entity_id = variables.validator_entity_id AND from_state_version <= @stateVersion
ORDER BY from_state_version DESC
Expand Down

0 comments on commit cbe71a0

Please sign in to comment.