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

op-batcher: Add String methods to txRef #11904

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

sebastianst
Copy link
Member

Description

Adds String and TerminalString methods to the txRef type.

Additional context

The txRef type is currently printed in logs like id="{id:[{chID:[80 163 8 115 105 69 5 101 201 15 231 22 117 64 81 242] frameNumber:0} {chID:[80 163 8 115 105 69 5 101 201 15 231 22 117 64 81 242] frameNumber:1}] isCancel:false isBlob:true}" which is not only ugly, but also doesn't print the channel id in hex, so filtering to a particular channel id by its hex string misses these logs.

@tynes
Copy link
Contributor

tynes commented Sep 13, 2024

A small test showing what the final output looks like could be very useful

@sebastianst sebastianst added this pull request to the merge queue Sep 17, 2024
Merged via the queue into develop with commit e7758b2 Sep 17, 2024
60 checks passed
@sebastianst sebastianst deleted the seb/txRef-string branch September 17, 2024 15:10
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