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

fix(types): don't log all txs in block #764

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

lklimek
Copy link
Collaborator

@lklimek lklimek commented Mar 18, 2024

Issue being fixed or feature implemented

When logging block (also occurs on INFO level), all full transactions that are part of this block are logged.

What was done?

Only log short hashes of transactions for no more than 20 txs. Append "..." at the end if there are more than 20 txs.

How Has This Been Tested?

Added unit test

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@lklimek lklimek enabled auto-merge (squash) March 18, 2024 17:18
@lklimek lklimek merged commit 0bbc2f4 into v0.14-dev Mar 18, 2024
15 checks passed
@QuantumExplorer QuantumExplorer deleted the fix/txs-logging branch March 18, 2024 18:16
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.

None yet

2 participants