From 97e30d73498c98261fc48121dae5843dfa0fb599 Mon Sep 17 00:00:00 2001 From: Albert Llimos <53186777+albert-llimos@users.noreply.github.com> Date: Tue, 19 Nov 2024 09:56:38 +0100 Subject: [PATCH] chore: reduce data needed for sol get block (#5428) (#5429) (cherry picked from commit b8c1825f3e58d3e84f5cf724ee82e29f041a78d6) --- engine/src/witness/sol.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/src/witness/sol.rs b/engine/src/witness/sol.rs index 5fe9f4c50b..ce9fe02c63 100644 --- a/engine/src/witness/sol.rs +++ b/engine/src/witness/sol.rs @@ -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, @@ -174,6 +174,8 @@ impl VoterApi for SolanaLivenessVoter { .get_block( slot, RpcBlockConfig { + transaction_details: Some(TransactionDetails::None), + rewards: Some(false), max_supported_transaction_version: Some(0), ..Default::default() },