Skip to content

Conversation

acuderman
Copy link
Contributor

@acuderman acuderman commented May 10, 2023

What is this PR for?

  • Adds syncs stage section to the diagnostics service which fetches status from a remote database "chaindata" (table "SyncStage"). Data is decoded to utf-8 / number and shown in the table
  • DB path extraction logic was moved in order to reuse it in multiple handlers
  • "fetch" method moved to a separate struct (together with some added remote API-related helper methods)
  • Tests added for the newly added code (and some of the existing functions)

Andraz Cuderman and others added 16 commits May 10, 2023 18:44
Signed-off-by: Andraz Cuderman <cuderman.andraz@gmail.com>
Signed-off-by: Andraz Cuderman <cuderman.andraz@gmail.com>
Signed-off-by: Andraz Cuderman <cuderman.andraz@gmail.com>
Signed-off-by: Andraz Cuderman <cuderman.andraz@gmail.com>
Signed-off-by: Andraz Cuderman <cuderman.andraz@gmail.com>
Signed-off-by: Andraz Cuderman <cuderman.andraz@gmail.com>
@acuderman acuderman marked this pull request as ready for review May 13, 2023 07:51
@AlexeyAkhunov
Copy link
Contributor

Great PR, thank you, will check further and merge soon, and contact you

@AlexeyAkhunov AlexeyAkhunov merged commit 7fe89fd into erigontech:main May 15, 2023
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