Skip to content

Commit

Permalink
remove solana-program
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Dec 4, 2024
1 parent 7d9761f commit f4d5b35
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 18 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion programs/sbf/Cargo.lock

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

4 changes: 3 additions & 1 deletion svm-transaction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ edition = { workspace = true }

[dependencies]
solana-hash = { workspace = true }
solana-program = { workspace = true, default-features = false }
solana-message = { workspace = true }
solana-pubkey = { workspace = true }
solana-sdk-ids = { workspace = true }
solana-signature = { workspace = true }
solana-transaction = { workspace = true }

[dev-dependencies]
solana-message = { workspace = true, features = ["bincode"] }
solana-nonce = { workspace = true }
solana-system-interface = { workspace = true }
static_assertions = { workspace = true }
2 changes: 1 addition & 1 deletion svm-transaction/src/instruction.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use solana_program::instruction::CompiledInstruction;
use solana_message::compiled_instruction::CompiledInstruction;

/// A non-owning version of [`CompiledInstruction`] that references
/// slices of account indexes and data.
Expand Down
2 changes: 1 addition & 1 deletion svm-transaction/src/message_address_table_lookup.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use {solana_program::message::v0, solana_pubkey::Pubkey};
use {solana_message::v0, solana_pubkey::Pubkey};

/// A non-owning version of [`v0::MessageAddressTableLookup`].
/// This simply references the data in the original message.
Expand Down
2 changes: 1 addition & 1 deletion svm-transaction/src/svm_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use {
},
core::fmt::Debug,
solana_hash::Hash,
solana_program::message::AccountKeys,
solana_message::AccountKeys,
solana_pubkey::Pubkey,
solana_sdk_ids::system_program,
};
Expand Down
2 changes: 1 addition & 1 deletion svm-transaction/src/svm_message/sanitized_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use {
svm_message::SVMMessage,
},
solana_hash::Hash,
solana_program::message::{AccountKeys, SanitizedMessage},
solana_message::{AccountKeys, SanitizedMessage},
solana_pubkey::Pubkey,
};

Expand Down
2 changes: 1 addition & 1 deletion svm-transaction/src/svm_message/sanitized_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use {
svm_message::SVMMessage,
},
solana_hash::Hash,
solana_program::message::AccountKeys,
solana_message::AccountKeys,
solana_pubkey::Pubkey,
solana_transaction::sanitized::SanitizedTransaction,
};
Expand Down
16 changes: 7 additions & 9 deletions svm-transaction/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@
use {
crate::svm_message::SVMMessage,
solana_hash::Hash,
solana_program::{
instruction::CompiledInstruction,
message::{
legacy,
v0::{self, LoadedAddresses, MessageAddressTableLookup},
MessageHeader, SanitizedMessage, SanitizedVersionedMessage, SimpleAddressLoader,
VersionedMessage,
},
system_instruction::SystemInstruction,
solana_message::{
compiled_instruction::CompiledInstruction,
legacy,
v0::{self, LoadedAddresses, MessageAddressTableLookup},
MessageHeader, SanitizedMessage, SanitizedVersionedMessage, SimpleAddressLoader,
VersionedMessage,
},
solana_pubkey::Pubkey,
solana_sdk_ids::system_program,
solana_system_interface::instruction::SystemInstruction,
std::collections::HashSet,
};

Expand Down
2 changes: 1 addition & 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 f4d5b35

Please sign in to comment.