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
{{ message }}
Repository navigation
Commit f4f3183
Browse filesBrowse the repository at this point in the historyBrowse files
Drop the echoed height from GigaRouter.Validators (#4590)
`GigaRouter.Validators` returned the global height it was called with as
a second result. Every success path echoed that argument, and
`Environment.Validators` already resolves an omitted or zero height to
the app tip or `InitialHeight` before the call, then wrote the echo back
over the same value.
The method now returns only the validator set and an error.
`/validators` still reports the height it resolved. A road index is not
part of `ResultValidators`, so there is nothing for a second return to
carry.
No consensus, state, or wire change. Checked with
`TestGigaRouterCommon_ValidatorsAtGlobalHeight` and `TestValidators`
under `-race`.
Made with [Cursor](https://cursor.com)
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments