Skip to content

Commit

Permalink
log gPA compression
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Dec 20, 2024
1 parent 78167c7 commit 73a4cff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/router-feed-lib/src/get_program_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub async fn get_compressed_program_account_rpc(

// use getGPA compressed if available
for program_id in filters.iter() {
info!("gPA for {}", program_id);
info!("gPA(compressed) for {}", program_id);

let result = rpc_client
.send::<OptionalContext<Vec<RpcKeyedCompressedAccount>>>(
Expand Down Expand Up @@ -227,9 +227,8 @@ pub async fn get_uncompressed_program_account_rpc(
let mut snap_result = vec![];
let mut min_slot = u64::MAX;

// use getGPA compressed if available
for program_id in filters.iter() {
info!("gPA for {}", program_id);
info!("gPA(uncompressed) for {}", program_id);
min_slot = slot.min(min_slot);
let account_snapshot = rpc_client
.get_program_accounts_with_config(&program_id, config.clone())
Expand Down

0 comments on commit 73a4cff

Please sign in to comment.