From d501fab8b2eef2a6ecdd13a73501378ca04ed68e Mon Sep 17 00:00:00 2001 From: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Date: Mon, 30 Sep 2024 18:17:45 +0200 Subject: [PATCH] Update crates/exex/src/hints.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Walter --- crates/exex/src/hints.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/exex/src/hints.rs b/crates/exex/src/hints.rs index d7485bef..154d197b 100644 --- a/crates/exex/src/hints.rs +++ b/crates/exex/src/hints.rs @@ -128,9 +128,9 @@ pub fn block_hint(block: Block) -> Hint { ap_tracking: &ApTracking, _constants: &HashMap| -> 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();