From 2fbafd56232b06fdccbc5e109264667c1b77d158 Mon Sep 17 00:00:00 2001 From: Moncef AOUDIA Date: Mon, 6 Feb 2023 16:53:38 +0100 Subject: [PATCH] refactor: remove TODO --- src/as_execution/abi.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/as_execution/abi.rs b/src/as_execution/abi.rs index f278f79e..de129385 100644 --- a/src/as_execution/abi.rs +++ b/src/as_execution/abi.rs @@ -1085,7 +1085,6 @@ pub(crate) fn assembly_script_hash_sha256( bytes: i32, ) -> ABIResult { let env = ctx.data().clone(); - // TODO: Support dynamic gas cost depending on the payload size sub_remaining_gas_abi(&env, &mut ctx, function_name!())?; let memory = get_memory!(env); let bytes = read_buffer(memory, &ctx, bytes)?;