Skip to content

Commit

Permalink
fix(abstract-phase-manager): get available gas from latest kernel out…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanks12 authored May 3, 2024
1 parent b3ae289 commit 0fa509b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export abstract class AbstractPhaseManager {
const isExecutionRequest = !isPublicExecutionResult(current);
// TODO(6052): Extract correct new counter from nested calls
const sideEffectCounter = lastSideEffectCounter(tx) + 1;
const availableGas = this.getAvailableGas(tx, previousPublicKernelOutput);
const availableGas = this.getAvailableGas(tx, kernelOutput);

const result = isExecutionRequest
? await this.publicExecutor.simulate(
Expand Down

0 comments on commit 0fa509b

Please sign in to comment.