|
|
|
@ -963,7 +963,7 @@ class Instruction: |
|
|
|
|
state.max_gas_used += gas_tuple[1] |
|
|
|
|
return [global_state] |
|
|
|
|
|
|
|
|
|
_sha3_gas_helper(global_state, length) |
|
|
|
|
Instruction._sha3_gas_helper(global_state, length) |
|
|
|
|
|
|
|
|
|
state.mem_extend(index, length) |
|
|
|
|
data_list = [ |
|
|
|
@ -1674,7 +1674,7 @@ class Instruction: |
|
|
|
|
addr = hex(caller.value)[2:] |
|
|
|
|
addr = "0" * (40 - len(addr)) + addr |
|
|
|
|
|
|
|
|
|
_sha3_gas_helper(global_state, len(code_str[:2] // 2)) |
|
|
|
|
Instruction._sha3_gas_helper(global_state, len(code_str[:2] // 2)) |
|
|
|
|
|
|
|
|
|
contract_address = int( |
|
|
|
|
get_code_hash("0xff" + addr + salt + get_code_hash(code_str)[2:])[26:], |
|
|
|
|