Skip to content

Commit 284c99e

Browse files
authored
harness: drop fee structure (#123)
1 parent 8120cb4 commit 284c99e

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ solana-cpi = "2.2"
6161
solana-ed25519-program = "2.2"
6262
solana-epoch-rewards = "2.2"
6363
solana-epoch-schedule = "2.2"
64-
solana-fee-structure = "2.2"
6564
solana-hash = "2.2"
6665
solana-instruction = "2.2"
6766
solana-keccak-hasher = "2.2"

harness/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ solana-clock = { workspace = true }
4242
solana-compute-budget = { workspace = true }
4343
solana-epoch-rewards = { workspace = true }
4444
solana-epoch-schedule = { workspace = true }
45-
solana-fee-structure = { workspace = true }
4645
solana-hash = { workspace = true }
4746
solana-instruction = { workspace = true }
4847
solana-loader-v3-interface = { workspace = true }

harness/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ use {
462462
mollusk_svm_result::{Check, CheckContext, Config, ContextResult, InstructionResult},
463463
solana_account::Account,
464464
solana_compute_budget::compute_budget::ComputeBudget,
465-
solana_fee_structure::FeeStructure,
466465
solana_hash::Hash,
467466
solana_instruction::{AccountMeta, Instruction},
468467
solana_log_collector::LogCollector,
@@ -483,7 +482,6 @@ pub struct Mollusk {
483482
pub config: Config,
484483
pub compute_budget: ComputeBudget,
485484
pub feature_set: FeatureSet,
486-
pub fee_structure: FeeStructure,
487485
pub logger: Option<Rc<RefCell<LogCollector>>>,
488486
pub program_cache: ProgramCache,
489487
pub sysvars: Sysvars,
@@ -515,7 +513,6 @@ impl Default for Mollusk {
515513
config: Config::default(),
516514
compute_budget: ComputeBudget::default(),
517515
feature_set,
518-
fee_structure: FeeStructure::default(),
519516
logger: None,
520517
program_cache: ProgramCache::default(),
521518
sysvars: Sysvars::default(),
@@ -625,7 +622,7 @@ impl Mollusk {
625622
&mut program_cache,
626623
EnvironmentConfig::new(
627624
Hash::default(),
628-
self.fee_structure.lamports_per_signature,
625+
/* blockhash_lamports_per_signature */ 5000, // The default value
629626
0,
630627
&|_| 0,
631628
Arc::new(self.feature_set.clone()),

0 commit comments

Comments
 (0)