Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Enable EIP-2384 for ice age hard fork #11281

Merged
merged 3 commits into from
Dec 11, 2019
Merged

Enable EIP-2384 for ice age hard fork #11281

merged 3 commits into from
Dec 11, 2019

Conversation

sorpaas
Copy link
Collaborator

@sorpaas sorpaas commented Nov 22, 2019

There is a discussion in AllCoreDevs to include a difficulty bomb delay in Istanbul, or potentially conduct another hard fork one month after Istanbul. The proposal EIP-2384 further delays the bomb for another 4 million blocks.

Note that this is not mergable until a decision is reached.

@sorpaas sorpaas added A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. M4-core ⛓ Core client code / Rust. labels Nov 22, 2019
@sorpaas sorpaas marked this pull request as ready for review November 29, 2019 14:32
@@ -136,7 +136,8 @@
"eip100bTransition": "0x42ae50",
"difficultyBombDelays": {
"0x42ae50": "0x2dc6c0",
"0x6f1580": "0x1e8480"
"0x6f1580": "0x1e8480",
"0x8c6180": "0x3d0900"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

0x8c6180: 9200000
0x3d0900: 4000000

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Numbers lgtm.
It's a bit annoying that the EIPs are drafts and 2383 is not updated with the block number yet.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@sorpaas sorpaas changed the title Enable EIP-2384 for Istanbul hard fork Enable EIP-2384 for ice age hard fork Nov 29, 2019
@sorpaas sorpaas added A0-pleasereview 🤓 Pull request needs code review. and removed A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. labels Nov 29, 2019
@jam10o-new
Copy link
Contributor

should the ropsten fork also be in this PR?

@sorpaas
Copy link
Collaborator Author

sorpaas commented Dec 1, 2019

@joshua-mir Added!

@ordian ordian added this to the 2.7 milestone Dec 3, 2019
@dvdplm dvdplm added B0-patch-stable 🕷 Pull request should also be back-ported to the stable branch. B1-patch-beta 🕷🕷 labels Dec 9, 2019
Copy link
Collaborator

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

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

Looks good,

I was a bit surprised by https://github.com/paritytech/parity-ethereum/blob/master/ethcore/engines/ethash/src/lib.rs#L442-#L452 i.e, iterate over each delay and subtract to a fake block number but it makes sense because we store each delay (0x2dc6c0 => 3M, 0x1e8480 => 2M, 0x3d0900 => 4M) per block instead of the total (9M).

@niklasad1 niklasad1 added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Dec 10, 2019
@sorpaas sorpaas merged commit 4fa78e0 into master Dec 11, 2019
@sorpaas sorpaas deleted the sp-eip2384 branch December 11, 2019 21:32
s3krit pushed a commit that referenced this pull request Dec 13, 2019
* Enable EIP-2384 for Istanbul hard fork

* Update bomb delay block number

* Update ropsten.json
s3krit pushed a commit that referenced this pull request Dec 13, 2019
* Enable EIP-2384 for Istanbul hard fork

* Update bomb delay block number

* Update ropsten.json
ordian added a commit that referenced this pull request Dec 13, 2019
* master:
  ethcore/res: activate agharta on classic 9573000 (#11331)
  [secretstore] migrate to version 4 (#11322)
  Enable EIP-2384 for ice age hard fork (#11281)
dvdplm added a commit that referenced this pull request Dec 15, 2019
…ate their data instead

Merge branch 'master' into dp/chore/kvdb-no-default-column

* master:
  tx-q: enable basic verification of local transactions (#11332)
  remove null signatures (#11335)
  ethcore/res: activate agharta on classic 9573000 (#11331)
  [secretstore] migrate to version 4 (#11322)
  Enable EIP-2384 for ice age hard fork (#11281)
  Fix atomicity violation in network-devp2p (#11277)
s3krit pushed a commit that referenced this pull request Dec 16, 2019
* Enable EIP-2384 for ice age hard fork (#11281)
* ethcore/res: activate agharta on classic 9573000 (#11331)
* Istanbul HF in xDai (2019-12-12) (#11299)
* Istanbul HF in POA Core (2019-12-19) (#11298)
* Istanbul HF in POA Sokol (2019-12-05) (#11282)
* Activate ecip-1061 on kotti and mordor (#11338)
* Enable basic verification of local transactions (#11332)
* Disallow EIP-86 style null signatures for transactions outside tests (#11335)
s3krit pushed a commit that referenced this pull request Dec 16, 2019
* Enable EIP-2384 for ice age hard fork (#11281)
* ethcore/res: activate agharta on classic 9573000 (#11331)
* Istanbul HF in xDai (2019-12-12) (#11299)
* Istanbul HF in POA Core (2019-12-19) (#11298)
* Istanbul HF in POA Sokol (2019-12-05) (#11282)
* Activate ecip-1061 on kotti and mordor (#11338)
* Enable basic verification of local transactions (#11332)
* Disallow EIP-86 style null signatures for transactions outside tests (#11335)
* SecretStore database migration to v4 (#11322)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. B0-patch-stable 🕷 Pull request should also be back-ported to the stable branch. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants