Skip to content

Commit

Permalink
remove initial_gas arg
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Feb 22, 2024
1 parent 093294f commit d2514e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/katana/executor/src/abstraction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ pub trait TransactionExecutor {
flags: SimulationFlag,
) -> ExecutorResult<Box<dyn TransactionExecutionOutput>>;

/// TODO: make `initial_gas` as `ExecutorFactory` responsibility
fn call(&self, call: EntryPointCall, initial_gas: u128) -> ExecutorResult<Vec<FieldElement>>;
/// Perform a contract entry point call.
fn call(&self, call: EntryPointCall) -> ExecutorResult<Vec<FieldElement>>;
}

/// The output of a transaction execution.
Expand Down

0 comments on commit d2514e6

Please sign in to comment.