Skip to content

Commit

Permalink
chore: reduce data needed for sol get block (#5428)
Browse files Browse the repository at this point in the history
(cherry picked from commit b8c1825)
  • Loading branch information
albert-llimos committed Nov 19, 2024
1 parent 931e53f commit bf086a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/src/witness/sol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::{
sol::{
commitment_config::CommitmentConfig,
retry_rpc::{SolRetryRpcApi, SolRetryRpcClient},
rpc_client_api::RpcBlockConfig,
rpc_client_api::{RpcBlockConfig, TransactionDetails},
},
state_chain_observer::client::{
chain_api::ChainApi, electoral_api::ElectoralApi,
Expand Down Expand Up @@ -174,6 +174,8 @@ impl VoterApi<SolanaLiveness> for SolanaLivenessVoter {
.get_block(
slot,
RpcBlockConfig {
transaction_details: Some(TransactionDetails::None),
rewards: Some(false),
max_supported_transaction_version: Some(0),
..Default::default()
},
Expand Down

0 comments on commit bf086a2

Please sign in to comment.