Skip to content

refactor recv_and_dispatch#376

Merged
eigmax merged 2 commits intoGOATNetwork:devfrom
KSlashh:refactor
Feb 1, 2026
Merged

refactor recv_and_dispatch#376
eigmax merged 2 commits intoGOATNetwork:devfrom
KSlashh:refactor

Conversation

@KSlashh
Copy link
Collaborator

@KSlashh KSlashh commented Jan 30, 2026

No description provided.

content: &GOATMessageContent,
) -> Result<()> {
// triggered by Take2 tx
tracing::info!("Handle Take2Sent for {instance_id}:{graph_id}");
Copy link
Contributor

Choose a reason for hiding this comment

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

All those logs can be replaced by adding a tracing::instrument on the function signature, e.g.

#[tracing::instrument(level = "info", skip(self))]
fn build_proof(
&self,
ctx: &proof_builder::ProofRequest,
) -> anyhow::Result<(Vec, ZKMProofWithPublicValues, u64, f32)> {

@eigmax eigmax merged commit 69895ea into GOATNetwork:dev Feb 1, 2026
3 checks passed
eigmax pushed a commit that referenced this pull request Feb 3, 2026
* refactor recv_and_dispatch

* replace logs with tracing::instrument
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.

2 participants