Skip to content

Commit

Permalink
remove solana-sdk from storage-proto (#4334)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey authored Jan 8, 2025
1 parent bacb073 commit d1b78cf
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 20 deletions.
10 changes: 9 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion storage-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ bs58 = { workspace = true }
prost = { workspace = true }
serde = { workspace = true }
solana-account-decoder = { workspace = true }
solana-sdk = { workspace = true }
solana-hash = { workspace = true }
solana-instruction = { workspace = true }
solana-message = { workspace = true }
solana-pubkey = { workspace = true }
solana-serde = { workspace = true }
solana-signature = { workspace = true }
solana-transaction = { workspace = true }
solana-transaction-context = { workspace = true }
solana-transaction-error = { workspace = true }
solana-transaction-status = { workspace = true }

[dev-dependencies]
Expand Down
24 changes: 12 additions & 12 deletions storage-proto/src/convert.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
use {
crate::{StoredExtendedRewards, StoredTransactionStatusMeta},
solana_account_decoder::parse_token::{real_number_string_trimmed, UiTokenAmount},
solana_sdk::{
hash::{Hash, HASH_BYTES},
instruction::{CompiledInstruction, InstructionError},
message::{
legacy::Message as LegacyMessage,
v0::{self, LoadedAddresses, MessageAddressTableLookup},
MessageHeader, VersionedMessage,
},
pubkey::Pubkey,
signature::Signature,
transaction::{Transaction, TransactionError, VersionedTransaction},
transaction_context::TransactionReturnData,
solana_hash::{Hash, HASH_BYTES},
solana_instruction::error::InstructionError,
solana_message::{
compiled_instruction::CompiledInstruction,
legacy::Message as LegacyMessage,
v0::{self, LoadedAddresses, MessageAddressTableLookup},
MessageHeader, VersionedMessage,
},
solana_pubkey::Pubkey,
solana_signature::Signature,
solana_transaction::{versioned::VersionedTransaction, Transaction},
solana_transaction_context::TransactionReturnData,
solana_transaction_error::TransactionError,
solana_transaction_status::{
ConfirmedBlock, EntrySummary, InnerInstruction, InnerInstructions, Reward, RewardType,
RewardsAndNumPartitions, TransactionByAddrInfo, TransactionStatusMeta,
Expand Down
8 changes: 4 additions & 4 deletions storage-proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ use {
parse_token::{real_number_string_trimmed, UiTokenAmount},
StringAmount,
},
solana_sdk::{
deserialize_utils::default_on_eof, message::v0::LoadedAddresses, transaction::Result,
transaction_context::TransactionReturnData,
},
solana_message::v0::LoadedAddresses,
solana_serde::default_on_eof,
solana_transaction_context::TransactionReturnData,
solana_transaction_error::TransactionResult as Result,
solana_transaction_status::{
InnerInstructions, Reward, RewardType, TransactionStatusMeta, TransactionTokenBalance,
},
Expand Down
10 changes: 9 additions & 1 deletion svm/examples/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d1b78cf

Please sign in to comment.