mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 00:11:01 +00:00
remove tracing::intrument annotations (#3197)
* remove tracing::intrument annotations * remove unused param and leftover * more leftovers
This commit is contained in:
@@ -1102,7 +1102,6 @@ impl State {
|
||||
|
||||
|
||||
/// Modify the reputation of a peer based on its behavior.
|
||||
#[tracing::instrument(level = "trace", skip(ctx), fields(subsystem = LOG_TARGET))]
|
||||
async fn modify_reputation(
|
||||
ctx: &mut impl SubsystemContext<Message = ApprovalDistributionMessage>,
|
||||
peer_id: PeerId,
|
||||
@@ -1126,7 +1125,6 @@ impl ApprovalDistribution {
|
||||
Self { metrics }
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip(self, ctx), fields(subsystem = LOG_TARGET))]
|
||||
async fn run<Context>(self, ctx: Context)
|
||||
where
|
||||
Context: SubsystemContext<Message = ApprovalDistributionMessage>,
|
||||
@@ -1136,7 +1134,6 @@ impl ApprovalDistribution {
|
||||
}
|
||||
|
||||
/// Used for testing.
|
||||
#[tracing::instrument(skip(self, ctx, state), fields(subsystem = LOG_TARGET))]
|
||||
async fn run_inner<Context>(self, mut ctx: Context, state: &mut State)
|
||||
where
|
||||
Context: SubsystemContext<Message = ApprovalDistributionMessage>,
|
||||
|
||||
Reference in New Issue
Block a user