Set origin to concrete creator address in creation tx

pull/1338/head
Bernhard Mueller 5 years ago
parent b290b6071a
commit c930ed6ac2
  1. 4
      mythril/laser/ethereum/transaction/symbolic.py

@ -134,9 +134,7 @@ def execute_contract_creation(
"gas_price{}".format(next_transaction_id), 256
),
gas_limit=8000000, # block gas limit
origin=symbol_factory.BitVecSym(
"origin{}".format(next_transaction_id), 256
),
origin=ACTORS["CREATOR"],
code=Disassembly(contract_initialization_code),
caller=ACTORS["CREATOR"],
contract_name=contract_name,

Loading…
Cancel
Save