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

Improve logging for indexer models and processors #505

Merged

Conversation

dermanyang
Copy link
Contributor

@dermanyang dermanyang commented Sep 13, 2024

Purpose

Context for onboarding task

Additional metadata (write_set_change_index and/or txn_version) to logs for easier debugging.
Namely, logs in

  • coin_utils.rs
  • write_set_changes.rs
  • ans_processor.rs
    The rest of the diff is just making the appropriate variables available for the logging.

Testing

image
Ran default_processor (for wsc.unspecified logging), ans_processor and fungible_asset_processor locally.

@dermanyang dermanyang changed the title Add logging for wsc unspecified type and wsc_indices in ans_processor Improve logging for indexer models and processors Sep 13, 2024
@dermanyang dermanyang marked this pull request as ready for review September 13, 2024 22:46
@dermanyang dermanyang requested review from rtso and a team September 13, 2024 22:47
Copy link
Collaborator

@rtso rtso left a comment

Choose a reason for hiding this comment

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

Nice work!

@dermanyang dermanyang merged commit 29b7a94 into main Sep 16, 2024
7 checks passed
@dermanyang dermanyang deleted the dermanyang/add_logging_for_unspecified_write_set_change branch September 16, 2024 18:34
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.

3 participants