Skip to content

Commit

Permalink
Set calldata as empty bytes at contract creation
Browse files Browse the repository at this point in the history
  • Loading branch information
maximopalopoli committed Nov 22, 2024
1 parent 5bbe595 commit 5e031e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/vm/levm/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl VM {
new_contract_address,
code,
value,
calldata.clone(),
Bytes::new(),
false,
env.gas_limit.min(MAX_BLOCK_GAS_LIMIT),
TX_BASE_COST,
Expand Down

0 comments on commit 5e031e2

Please sign in to comment.