Skip to content

Commit

Permalink
eofcreate order of args
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Aug 29, 2024
1 parent 3085f04 commit ac6e2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/interpreter/src/instructions/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn eofcreate<H: Host + ?Sized>(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()
Expand Down

0 comments on commit ac6e2ea

Please sign in to comment.