diff --git a/crates/interpreter/src/instructions/contract.rs b/crates/interpreter/src/instructions/contract.rs index 7128c7a03f..149d87c73c 100644 --- a/crates/interpreter/src/instructions/contract.rs +++ b/crates/interpreter/src/instructions/contract.rs @@ -17,6 +17,7 @@ use std::boxed::Box; /// EOF Create instruction pub fn eofcreate(interpreter: &mut Interpreter, _host: &mut H) { require_eof!(interpreter); + require_non_staticcall!(interpreter); gas!(interpreter, EOF_CREATE_GAS); let initcontainer_index = unsafe { *interpreter.instruction_pointer }; pop!(interpreter, value, salt, data_offset, data_size);