From ac6e2ea110e0b1de4918525ec49aefdff22abc8f Mon Sep 17 00:00:00 2001 From: nk_ysg Date: Fri, 30 Aug 2024 01:33:05 +0800 Subject: [PATCH] eofcreate order of args --- crates/interpreter/src/instructions/contract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/interpreter/src/instructions/contract.rs b/crates/interpreter/src/instructions/contract.rs index 281e147582..dd1eb1029a 100644 --- a/crates/interpreter/src/instructions/contract.rs +++ b/crates/interpreter/src/instructions/contract.rs @@ -20,7 +20,7 @@ pub fn eofcreate(interpreter: &mut Interpreter, _host: &mut H) require_non_staticcall!(interpreter); gas!(interpreter, EOF_CREATE_GAS); let initcontainer_index = unsafe { *interpreter.instruction_pointer }; - pop!(interpreter, value, salt, data_offset, data_size); + pop!(interpreter, salt, data_offset, data_size, value); let sub_container = interpreter .eof()