Skip to content

Commit

Permalink
Update crates/exex/src/hints.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Walter <clement0walter@gmail.com>
  • Loading branch information
tcoratger and ClementWalter authored Sep 30, 2024
1 parent 6dc0ac1 commit d501fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/exex/src/hints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ pub fn block_hint(block: Block) -> Hint {
ap_tracking: &ApTracking,
_constants: &HashMap<String, Felt252>|
-> HintExecutionResult {
// We retrieve the `env` pointer from the `ids_data` hashmap.
// We retrieve the `model.Block*` pointer from the `ids_data` hashmap.
// This pointer is used to store the block-related values in the VM.
let env_ptr = get_ptr_from_var_name("block", vm, ids_data, ap_tracking)?;
let block_ptr = get_ptr_from_var_name("block", vm, ids_data, ap_tracking)?;

// Block header values are stored in a vector.
let mut block_header = Vec::new();
Expand Down

0 comments on commit d501fab

Please sign in to comment.