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

chore: better consensus item formatting #4332

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

dpc
Copy link
Contributor

@dpc dpc commented Feb 15, 2024

Display txid, which is very useful for debuging.

Be lazy-evaluated which should give better perf when logging is not enabled and avoid extra allocation anyway.

Display txid, which is very useful for debuging.

Be lazy-evaluated which should give better perf when logging
is not enabled and avoid extra allocation anyway.
@dpc dpc requested a review from a team as a code owner February 15, 2024 06:08
match self.0 {
ConsensusItem::Module(mci) => {
f.write_fmt(format_args!(
"Module CI: module={} ci={}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this could include the kind?

@dpc dpc enabled auto-merge February 15, 2024 16:44
@dpc dpc added this pull request to the merge queue Feb 15, 2024
Merged via the queue into fedimint:master with commit 969b927 Feb 16, 2024
22 checks passed
@dpc dpc deleted the 24-02-14-better-consensus-item-formatting branch February 16, 2024 00:57
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

3 participants