Skip to content

Commit

Permalink
Update EM comment (#98)
Browse files Browse the repository at this point in the history
Small PR to update a comment in the execution manager to reflect that the ZERO_ADDRESS is not an EVM precompile, though they are treated the same.
  • Loading branch information
ben-chain authored Dec 16, 2020
1 parent b65af36 commit e9d4106
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,8 @@ contract OVM_ExecutionManager is iOVM_ExecutionManager, Lib_AddressResolver {
bytes memory _returndata
)
{
// EVM precompiles have the same address on L1 and L2 --> no trie lookup needed.

// Both 0x0000... and the EVM precompiles have the same address on L1 and L2 --> no trie lookup needed.
address codeContractAddress =
uint(_contract) < 100
? _contract
Expand Down

0 comments on commit e9d4106

Please sign in to comment.