* add a stringified credential option for LedgerStorage * fix clippy::useless-format warning * change CredentialOption to enum CredentialType * rename credential_option to credential_type * restore LedgerStorage new fn signature * fmt Co-authored-by: Tyera Eulberg <tyera@solana.com> Co-authored-by: Rachael Pai <komimi.p@gmail.com> Co-authored-by: Tyera Eulberg <tyera@solana.com>
This commit is contained in:
@ -37,6 +37,7 @@ use {
|
||||
native_token::lamports_to_sol, pubkey::Pubkey,
|
||||
},
|
||||
solana_send_transaction_service::send_transaction_service::{self, SendTransactionService},
|
||||
solana_storage_bigtable::CredentialType,
|
||||
std::{
|
||||
collections::HashSet,
|
||||
net::SocketAddr,
|
||||
@ -385,7 +386,7 @@ impl JsonRpcService {
|
||||
let bigtable_config = solana_storage_bigtable::LedgerStorageConfig {
|
||||
read_only: !enable_bigtable_ledger_upload,
|
||||
timeout,
|
||||
credential_path: None,
|
||||
credential_type: CredentialType::Filepath(None),
|
||||
instance_name: bigtable_instance_name.clone(),
|
||||
};
|
||||
runtime
|
||||
|
Reference in New Issue
Block a user