Skip to content

Commit

Permalink
chore: use MemoryOOG (bluealloy#1941)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Dec 23, 2024
1 parent 237bb1c commit e3f6a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/interpreter/src/instructions/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3f6a35

Please sign in to comment.