From a248d3b4f35e28cea4ce8989e85f26022b358448 Mon Sep 17 00:00:00 2001 From: Petar Vujovic Date: Tue, 24 Dec 2024 17:03:50 +0100 Subject: [PATCH] chore: Remove `Base64Zstd` usage from `rpc-client` --- rpc-client/src/nonblocking/rpc_client.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rpc-client/src/nonblocking/rpc_client.rs b/rpc-client/src/nonblocking/rpc_client.rs index 0ca5f76a49f829..6a4dd12bebcf6c 100644 --- a/rpc-client/src/nonblocking/rpc_client.rs +++ b/rpc-client/src/nonblocking/rpc_client.rs @@ -3417,7 +3417,8 @@ impl RpcClient { commitment_config: CommitmentConfig, ) -> RpcResult> { let config = RpcAccountInfoConfig { - encoding: Some(UiAccountEncoding::Base64Zstd), + // encoding: Some(UiAccountEncoding::Base64Zstd), Zstd is not supported by svm-rollup + encoding: Some(UiAccountEncoding::Base64), commitment: Some(commitment_config), data_slice: None, min_context_slot: None, @@ -3644,7 +3645,8 @@ impl RpcClient { self.get_multiple_accounts_with_config( pubkeys, RpcAccountInfoConfig { - encoding: Some(UiAccountEncoding::Base64Zstd), + // encoding: Some(UiAccountEncoding::Base64Zstd), Zstd is not supported by svm-rollup + encoding: Some(UiAccountEncoding::Base64), commitment: Some(commitment_config), data_slice: None, min_context_slot: None, @@ -3917,7 +3919,8 @@ impl RpcClient { pubkey, RpcProgramAccountsConfig { account_config: RpcAccountInfoConfig { - encoding: Some(UiAccountEncoding::Base64Zstd), + // encoding: Some(UiAccountEncoding::Base64Zstd), Zstd is not supported by svm-rollup + encoding: Some(UiAccountEncoding::Base64), ..RpcAccountInfoConfig::default() }, ..RpcProgramAccountsConfig::default()