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

CAD-2907 tracing: improve usability of the ChainSync server traces #2746

Merged
merged 1 commit into from
May 27, 2021

Conversation

deepfire
Copy link
Contributor

@deepfire deepfire commented May 26, 2021

Instead of going through the Tip/Point serialisations
this allows a more direct access to things that matter:

  1. block hash
  2. slot number
  3. block number

We only convert immediately necessary traces, but the portal has been opened and the call is out.

Release-relevant information (cc @LaurenceIO): this PR changes structure of some of the traces configured by TraceChainSyncHeaderServer and TraceChainSyncClient config options.

Instead of going through the Tip/Point serialisations
this allows a more direct access to things that matter:

1. block hash
2. slot number
3. block number

We only convert immediately necessary traces,
but the portal has been opened and the call is out.
Copy link
Contributor

@karknu karknu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

LGTM! @deepfire can you include in the commit message that the log format is being changed here? This will make things clearer for @LaurenceIO when he is writing up the change logs.

@deepfire
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented May 27, 2021

@iohk-bors iohk-bors bot merged commit 7d8ab95 into master May 27, 2021
@iohk-bors iohk-bors bot deleted the cad-2907-tracing branch May 27, 2021 20:14
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