745129c4ac
Each place in `call_evm` that sets up an EVM call calculates the new contract address for contract creations. But it's redundant, because `newComputation` ignores the provided value and does the calculation again. Remove the unused address calculation. This is also a step to merging different entry points and EVMC. This change ends up with the same value in both `msg.contractAddress` and `msg.codeAddress` for every entry point, and this is good because it matches the EVMC message structure, where they are replaced by only one value called `msg.destination` Signed-off-by: Jamie Lokier <jamie@shareable.org> |
||
---|---|---|
.. | ||
call_evm.nim |