Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cleaner logging when idexing and getting/updating block info from db #743

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

paulo-ocean
Copy link
Contributor

@paulo-ocean paulo-ocean commented Oct 29, 2024

Fixes #742 #740

Changes proposed in this PR:

  • imporve logging a bit on indexer thread (block related stuff) for clearity
  • minor refactor on a couple of functions to log and avoid dealing with 'nulls'

@paulo-ocean paulo-ocean changed the title add cleaner logging when idexing and getting/updating block info from db Add cleaner logging when idexing and getting/updating block info from db Oct 29, 2024
@paulo-ocean paulo-ocean self-assigned this Oct 30, 2024
@paulo-ocean paulo-ocean marked this pull request as ready for review October 30, 2024 09:54
Copy link
Member

@jamiehewitt15 jamiehewitt15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Member

@mariacarmina mariacarmina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@paulo-ocean paulo-ocean merged commit fe5544e into main Oct 30, 2024
12 checks passed
@paulo-ocean paulo-ocean deleted the issue-742-better-index-log branch October 30, 2024 14:31
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.

Improve logging when start indexing chain
3 participants