diff --git a/EIPS/eip-creation_collision.md b/EIPS/eip-6733.md similarity index 80% rename from EIPS/eip-creation_collision.md rename to EIPS/eip-6733.md index a02a46fce7889c..f119ae5d8c2ccc 100644 --- a/EIPS/eip-creation_collision.md +++ b/EIPS/eip-6733.md @@ -1,5 +1,5 @@ --- -eip: +eip: 6733 title: Revert creation in case of collision description: Revert contract creation if address already has code author: Renan Rodrigues de Souza (@RenanSouza2) @@ -12,7 +12,7 @@ created: 2023-03-20 ## Abstract -There is no current definition to what happens when a contract creation happens in an address with code already deployed. This fix prevents an attack of deploying a contract code and later changing the code arbitrarily. +There is no current definition to what happens when a contract creation happens in an address with code already deployed. This fix prevents an attack of deploying contract code and later changing the code arbitrarily. ## Motivation @@ -24,11 +24,11 @@ In contract creation where `new contract address` has a `CODEHASH != EMPTYCODEHA ## Rationale -One of the core tenants of smart contracts is it's code being guranteed not to change, with enougth computing power an attacker can change the code stored in an address to any other code allowing them to remove funds or transfer tokens. +One of the core tenants of smart contracts is its code being guaranteed not to change. With enougth computing power an attacker can change the code stored in an address to any other code, allowing them to remove funds or transfer tokens. ## Backwards Compatibility -There is a very small possibility of this collision happening to contract cration by contracts. +There is a very small possibility of this collision happening to contract creation by contracts. ## Test Cases @@ -71,4 +71,4 @@ Copyright and related rights waived via [CC0](../LICENSE.md). ## Citation -Please cite this document as Renan Souza, "EIP-creation_collision: Revert creation in case of collision" +Please cite this document as Renan Souza, "EIP-6733: Revert creation in case of collision"