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 tx submissin handling logging #5251

Merged
merged 1 commit into from May 10, 2024

Conversation

dpc
Copy link
Contributor

@dpc dpc commented May 10, 2024

No description provided.

@dpc dpc requested review from a team as code owners May 10, 2024 19:21
@@ -587,6 +587,7 @@ impl ConsensusServer {
.expect("This is the only place where we write to this key");
}

#[instrument(target = "fm::consensus", skip(self, item), level = "info")]
Copy link
Contributor Author

@dpc dpc May 10, 2024

Choose a reason for hiding this comment

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

I wish I could use constants, but it needs tokio-rs/tracing#2941

@@ -111,7 +111,7 @@ impl ConsensusApi {
) -> Result<TransactionId, TransactionError> {
let txid = transaction.tx_hash();

debug!(%txid, "Received mint transaction");
Copy link
Contributor Author

@dpc dpc May 10, 2024

Choose a reason for hiding this comment

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

"mint" here is confusing (not a "mint" module, but whole fedimintd).

@dpc dpc enabled auto-merge May 10, 2024 19:22
@dpc dpc added this pull request to the merge queue May 10, 2024
Merged via the queue into fedimint:master with commit 14e54bb May 10, 2024
21 checks passed
@dpc dpc deleted the 24-05-10-better-logging-tx-submit branch May 10, 2024 19:50
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