AlertSourceDiscuss
Skip to content

EIP-1352: Specify restricted address range for precompiles/system contracts

🚧 StagnantCore

Stagnant

This EIP has had no recent activity for at least 6 months, and has automatically been marked as stagnant. This EIP should not be used in production.

If you are interested in helping move this EIP to final, create a PR to move this EIP back to Draft and add yourself as an author, and an EIP editor will help guide you through the process. Thank you!

AuthorsAlex Beregszaszi (@axic)
Created2018-07-27

Simple Summary ​

Specify an Ethereum address range occupied by precompiles and future system contracts. Regular accounts and contracts cannot obtain such an address.

Abstract ​

The address range between 0x0000000000000000000000000000000000000000 and 0x000000000000000000000000000000000000ffff is reserved for precompiles and system contracts.

Motivation ​

This will simplify certain future features where unless this is implemented, several exceptions must be specified.

Specification ​

The address range between 0x0000000000000000000000000000000000000000 and 0x000000000000000000000000000000000000ffff is reserved for precompiles and system contracts.

Due to the extremely low probability (and lack of adequate testing possibilities) no explicit checks should be added to ensure that external transaction signing or the invoking of the CREATE instruction can result in a precompile address.

Rationale ​

N/A

Backwards Compatibility ​

No contracts on the main network have been created at the specified addresses. As a result it should pose no backwards compatibility problems.

Test Cases ​

N/A

Implementation ​

N/A

Copyright and related rights waived via CC0.

Citation

Please cite this document as:

Alex Beregszaszi, "EIP-1352: Specify restricted address range for precompiles/system contracts[DRAFT]," Ethereum Improvement Proposals, no. 1352, 2018. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-1352.