Skip to content

Commit

Permalink
Remove TODOs (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aursen authored Mar 29, 2024
1 parent ab5d03b commit 26e4a80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,14 @@ impl LiteSVM {
)
}

//TODO
fn create_transaction_context(
&mut self,
compute_budget: ComputeBudget,
accounts: Vec<(Pubkey, AccountSharedData)>,
) -> TransactionContext {
TransactionContext::new(
accounts,
Rent::default(), //TODO remove rent in future
self.get_sysvar(),
compute_budget.max_invoke_stack_height,
compute_budget.max_instruction_trace_length,
)
Expand All @@ -360,7 +359,6 @@ impl LiteSVM {
Ok(tx)
}

//TODO rework it with process_transaction and another on and optimize
fn process_transaction(
&mut self,
tx: &SanitizedTransaction,
Expand Down

0 comments on commit 26e4a80

Please sign in to comment.