Skip to content

Commit

Permalink
skip keypair for tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
cctdaniel committed Jul 12, 2024
1 parent 0c747ec commit a62a623
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/agent/services/oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ where
}

/// On poll lookup all Pyth Mapping/Product/Price accounts and sync.
#[instrument(skip(config, state))]
#[instrument(skip(config, publish_keypair, state))]
async fn poller<S>(
config: Config,
network: Network,
Expand Down
4 changes: 2 additions & 2 deletions src/agent/state/exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ where
Ok(())
}

#[instrument(skip(self, publisher_permissions))]
#[instrument(skip(self, publish_keypair, publisher_permissions))]
async fn update_permissions(
&self,
network: Network,
Expand All @@ -323,7 +323,7 @@ where
}
}

#[instrument(skip(state))]
#[instrument(skip(state, publish_keypair))]
pub async fn get_publish_keypair<S>(
state: &S,
network: Network,
Expand Down
2 changes: 1 addition & 1 deletion src/agent/state/keypairs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ where
)?)
}

#[instrument(skip(self))]
#[instrument(skip(self, new_keypair))]
async fn update_keypair(&self, network: Network, new_keypair: Keypair) {
*match network {
Network::Primary => self.into().primary_current_keypair.write().await,
Expand Down
2 changes: 1 addition & 1 deletion src/agent/state/oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ where
}

/// Poll target Solana based chain for Pyth related accounts.
#[instrument(skip(self, rpc_client))]
#[instrument(skip(self, publish_keypair, rpc_client))]
async fn poll_updates(
&self,
network: Network,
Expand Down

0 comments on commit a62a623

Please sign in to comment.