From e3f6a35259d089ac3411ccd5a3fa0fd6461fac40 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Mon, 23 Dec 2024 13:43:32 +0200 Subject: [PATCH] chore: use MemoryOOG (#1941) --- crates/interpreter/src/instructions/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/interpreter/src/instructions/macros.rs b/crates/interpreter/src/instructions/macros.rs index c290ba797b..fa05039c47 100644 --- a/crates/interpreter/src/instructions/macros.rs +++ b/crates/interpreter/src/instructions/macros.rs @@ -119,7 +119,7 @@ macro_rules! resize_memory { $crate::gas::MemoryExtensionResult::OutOfGas => { $interpreter .control - .set_instruction_result($crate::InstructionResult::OutOfGas); + .set_instruction_result($crate::InstructionResult::MemoryOOG); return $ret; } $crate::gas::MemoryExtensionResult::Same => (), // no action