From e9e37737d4a372b15f0cddfeceacc4c820207a9a Mon Sep 17 00:00:00 2001 From: RenanSouza2 Date: Tue, 21 Mar 2023 14:22:39 -0300 Subject: [PATCH] Grammar fix, EIP number --- EIPS/{eip-creation_collision.md => eip-6733.md} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename EIPS/{eip-creation_collision.md => eip-6733.md} (80%) 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"