Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Aug 6, 2024
1 parent 03d6f6f commit af8794e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions vm/src/vm/runners/cairo_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1178,10 +1178,8 @@ impl CairoRunner {
}

/// Intitializes the runner in order to run cairo 1 contract entrypoints
/// Initializes builtins & segments
/// All builtins are initialized regardless of use
/// Swaps the program's builtins field with program_builtins
/// Adds the segment_arena builtin if present in the program_builtins
/// Initializes program builtins & segments
pub fn initialize_function_runner_cairo_1(
&mut self,
program_builtins: &[BuiltinName],
Expand All @@ -1193,8 +1191,7 @@ impl CairoRunner {
}

/// Intitializes the runner in order to run cairo 0 contract entrypoints
/// Initializes builtins & segments
/// All builtins are initialized regardless of use
/// Initializes program builtins & segments
pub fn initialize_function_runner(&mut self) -> Result<(), RunnerError> {
self.initialize_program_builtins()?;
self.initialize_segments(self.program_base);
Expand Down

0 comments on commit af8794e

Please sign in to comment.