Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address Collision of Contract Address Causes Exceptional Halt #689

Merged
merged 5 commits into from
Apr 5, 2018

Conversation

pirapira
Copy link
Member

This follows the discussion in coredev meeting 22, where no objections were made to the proposal to make contract creation fail in the case of address collision.

@cdetrio
Copy link
Member

cdetrio commented Aug 15, 2017

See also #684

@pirapira
Copy link
Member Author

#684 works for me.

@pirapira pirapira closed this Aug 15, 2017
@pirapira pirapira deleted the address-collision branch August 15, 2017 11:56
@cdetrio
Copy link
Member

cdetrio commented Aug 15, 2017

Would be easier to merge this one, can you undelete the branch?

@pirapira pirapira restored the address-collision branch August 15, 2017 12:00
@pirapira
Copy link
Member Author

Undeleted.

@pirapira pirapira reopened this Aug 15, 2017
@@ -0,0 +1,51 @@
## Preamble

EIP: <to be assigned>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use 689, and move this file to EIPS/eip-689.md

@pirapira pirapira added the EIP label Dec 1, 2017
pirapira added a commit to pirapira/EIPs that referenced this pull request Dec 4, 2017
@nicksavers nicksavers changed the title Add an EIP about making contract creation fail on address collision Address Collision of Contract Address Causes Exceptional Halt Dec 11, 2017
@Arachnid
Copy link
Contributor

This is a courtesy notice to let you know that the format for EIPs has been modified slightly. If you want your draft merged, you will need to make some small changes to how your EIP is formatted:

  • Frontmatter is now contained between lines with only a triple dash ('---')
  • Headers in the frontmatter are now lowercase.

If your PR is editing an existing EIP rather than creating a new one, this has already been done for you, and you need only rebase your PR.

In addition, a continuous build has been setup, which will check your PR against the rules for EIP formatting automatically once you update your PR. This build ensures all required headers are present, as well as performing a number of other checks.

Please rebase your PR against the latest master, and edit your PR to use the above format for frontmatter. For convenience, here's a sample header you can copy and adapt:

---
eip: <num>
title: <title>
author: <author>
type: [Standards Track|Informational|Meta]
category: [Core|Networking|Interface|ERC] (for type: Standards Track only)
status: Draft
created: <date>
---

pirapira added a commit to pirapira/EIPs that referenced this pull request Apr 4, 2018
pirapira added a commit to pirapira/EIPs that referenced this pull request Apr 4, 2018
EIPS/eip-689.md Outdated
## Preamble

---
eIP: 689
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be all lowercase.

EIPS/eip-689.md Outdated
@@ -0,0 +1,50 @@
## Preamble
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These first 3 lines need deleting.

EIPS/eip-689.md Outdated

This EIP has no effects after Constantinople fork because [EIP-86](https://github.com/ethereum/EIPs/pull/208) contains the changes proposed in this EIP. Even before the Constantinople fork, this EIP has no practical relevance because the change is visible only in case of a hash collision of keccak256.

Regarding testing, this EIP releaves clients from supporting reversion of code overwriting.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/releaves/relieves/

EIPS/eip-689.md Outdated

## Rationale

It seems unpractical to implement never-used features just for passing tests. Client implementations will be simpler with this EIP.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/unpractical/impractical/

@pirapira
Copy link
Member Author

pirapira commented Apr 5, 2018

@Arachnid I applied your comments.

@Arachnid Arachnid merged commit 5208cb7 into ethereum:master Apr 5, 2018
Arachnid pushed a commit to Arachnid/EIPs that referenced this pull request May 2, 2018
…um#689)

* Add an EIP about making contract creation fail on address collision

* Use 689

ethereum#689 (comment)

* Adjust formats

according to ethereum#689 (comment)

* Cleanups by @Arachnid
enjin-io pushed a commit to enjin-io/EIPs-1 that referenced this pull request Nov 13, 2023
* Add an EIP about making contract creation fail on address collision

* Use 689

ethereum/EIPs#689 (comment)

* Adjust formats

according to ethereum/EIPs#689 (comment)

* Cleanups by @Arachnid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants