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

ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan #11068

Merged
merged 8 commits into from
Sep 20, 2019

Conversation

soc1c
Copy link
Contributor

@soc1c soc1c commented Sep 19, 2019

Activates Istanbul hardfork:

  • Ropsten on 6485846 (Oct 2)
  • Görli on 1561651 (Oct 30)
  • Rinkeby 5435345 (November)
  • Kovan 14111141 (December)

Some sources:

I took the diff of required changes from #11033 not from the Istanbul meta-EIP https://eips.ethereum.org/EIPS/eip-1679; I mention this because on first view both specs do not match, so please review this PR carefully! From my experience, I think #11033 is a better reference than an official EIP ;-)

Needs a release once merged.

Thanks. 🙏

Fixes #10770

Bonus: c17a53b be pedantic about EIP-1283 in the test specs.

@soc1c soc1c added A0-pleasereview 🤓 Pull request needs code review. P5-sometimesoon 🌲 Issue is worth doing soon. B1-patch-beta 🕷🕷 M2-config 📂 Chain specifications and node configurations. B0-patch-stable 🕷 Pull request should also be back-ported to the stable branch. labels Sep 19, 2019
@parity-cla-bot

This comment has been minimized.

@soc1c soc1c added the B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. label Sep 19, 2019
@soc1c soc1c changed the title ethcore/res: activate Istanbul on Ropsten and Görli testnets ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan Sep 19, 2019
@ordian
Copy link
Collaborator

ordian commented Sep 19, 2019

@soc1c what do you find not matching?
Note that our eip2200 impl is equivalent to enabling both eip1283_reenable_transition and eip1706_transition (#10191).

@soc1c
Copy link
Contributor Author

soc1c commented Sep 19, 2019

what do you find not matching?

Ok, it's just 2200 that's confusing for Parity.

Checklist - EIP 1679: Hardfork Meta: Istanbul

  • EIP-152: Add Blake2 compression function F precompile
    that's the blake2_f bultin
  • EIP-1108: Reduce alt_bn128 precompile gas costs
    that's the eip1108_transition for builtins
  • EIP-1344: Add ChainID opcode
    that's the eip1344Transition
  • EIP-1884: Repricing for trie-size-dependent opcodes
    that's the eip1884Transition
  • EIP-2028: Calldata gas cost reduction
    that's the eip2028Transition
  • EIP-2200: Rebalance net-metered SSTORE gas cost with consideration of SLOAD gas cost change
    that's eip1283ReenableTransition plus eip1706Transition

Copy link
Collaborator

@ordian ordian left a comment

Choose a reason for hiding this comment

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

LGTM assuming the numbers are finalised.

@sorpaas sorpaas merged commit 2627288 into master Sep 20, 2019
@sorpaas sorpaas deleted the s1-testnet-istanbul branch September 20, 2019 07:53
@soc1c soc1c added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Sep 20, 2019
dvdplm added a commit that referenced this pull request Sep 20, 2019
* master:
  ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan (#11068)
  [sync]: rust 2018 (#11067)
s3krit pushed a commit that referenced this pull request Sep 25, 2019
)

* ethcore/res: activate Istanbul on Ropsten block 6485846

* ethcore/res: activate Istanbul on Goerli block 1561651

* ethcore/res: use hex values for Istanbul specs

* ethcore/res: fix trailing comma

* ethcore/res: be pedantic about EIP-1283 in Petersburg and Istanbul test specs

* ethcore/res: activate Istanbul on Rinkeby block 5435345

* ethcore/res: activate Istanbul on Kovan block 14111141

* ethcore/res: fix kovan istanbul number to 0xd751a5
s3krit pushed a commit that referenced this pull request Sep 25, 2019
)

* ethcore/res: activate Istanbul on Ropsten block 6485846

* ethcore/res: activate Istanbul on Goerli block 1561651

* ethcore/res: use hex values for Istanbul specs

* ethcore/res: fix trailing comma

* ethcore/res: be pedantic about EIP-1283 in Petersburg and Istanbul test specs

* ethcore/res: activate Istanbul on Rinkeby block 5435345

* ethcore/res: activate Istanbul on Kovan block 14111141

* ethcore/res: fix kovan istanbul number to 0xd751a5
@s3krit s3krit mentioned this pull request Sep 25, 2019
s3krit added a commit that referenced this pull request Sep 26, 2019
* ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan (#11068)

* ethcore/res: activate Istanbul on Ropsten block 6485846

* ethcore/res: activate Istanbul on Goerli block 1561651

* ethcore/res: use hex values for Istanbul specs

* ethcore/res: fix trailing comma

* ethcore/res: be pedantic about EIP-1283 in Petersburg and Istanbul test specs

* ethcore/res: activate Istanbul on Rinkeby block 5435345

* ethcore/res: activate Istanbul on Kovan block 14111141

* ethcore/res: fix kovan istanbul number to 0xd751a5

* [json-spec] make blake2 pricing spec more readable (#11034)

* [json-spec] make blake2 pricing spec more readable

* [ethcore] fix compilation

* Manual backport of #11033
s3krit added a commit that referenced this pull request Sep 26, 2019
* ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan (#11068)

* ethcore/res: activate Istanbul on Ropsten block 6485846

* ethcore/res: activate Istanbul on Goerli block 1561651

* ethcore/res: use hex values for Istanbul specs

* ethcore/res: fix trailing comma

* ethcore/res: be pedantic about EIP-1283 in Petersburg and Istanbul test specs

* ethcore/res: activate Istanbul on Rinkeby block 5435345

* ethcore/res: activate Istanbul on Kovan block 14111141

* ethcore/res: fix kovan istanbul number to 0xd751a5

* cleanup json crate (#11027)

* [json]: cleanup

write something here....

* nit: commit new/moved files

* nit: remove needless features

* nits

* fix(grumbles): use explicit import `DifficultyTest`

* fix(grumbles): remove needless type hints

* fix(grumble): docs `from -> used by`

Co-Authored-By: David <[email protected]>

* fix(grumbles): use explicit `imports`

* fix(grumble): merge `tx` and `tx_with_signing_info`

* fix(grumbles): resolve introduced `TODO's`

* [json-spec] make blake2 pricing spec more readable (#11034)

* [json-spec] make blake2 pricing spec more readable

* [ethcore] fix compilation

* Update JSON tests to d4f86ecf4aa7c (#11054)

* new ethereum consensus tests, #10908

* Update JSON tests to 725dbc73a

This PR reverts the controversial changes of the previous PR and skips the failing tests.

Maybe I misunderstand the suggested workaround of putting the fix under `#[cfg(test)]` but it seems odd to run different code in production than we run in tests. Instead here I suggest we skip the failing tests with the argument that we do not wish to fix this issue (at least not at this time) because it does not affect us. If I am wrong, and I likely am, I look forward to hearing why and what a better approach to updating the state tests is.

Branched off #10923

ref #10908

* Update json test commit to 1dc9d20e97165708f7db0bbf2d1a87a6b4285827

* Fail with error message

* Handle missing r, s, v params in json tests
Light cleanup of json test runner

* Include the path to the test file

* Handle new `postState` format: string or map
Sort out tests
Missing docs

* WIP

* Include test-helpers from ethjson

* Sort out new paths

* Remove dead code

* Fix warnings stemming from code called only from macros
Skip failing tests in stRevert/ and stTransactionTest/ (too course a filter!)
Docs and light touch refactorings for readability

* Skip all failing tests

* Document the single-test-skipping madness

* Update tests to latest commit on the `develop` branch

* Rename test skipping types to reflect actual purpose

* Switch to skipping individual tests in currents.json
Add some logging to help debug skipping

* Fix rpc test by curve fitting to new json test source file

* Add refs to all issues for fixing failing&skipped json tests

* Sort out the need for Clone for tests

* [json-tests] populate state from genesis pod state (#11083)

* [json-tests] populate state from genesis pod state

* [json-tests] #11075 is resolved as well

* [json-tests] #11076 hopefully too

* [json-tests] #11077 🎉

* [json-tests] fix trailing comma

* Update ethcore/src/json_tests/chain.rs

Co-Authored-By: Andronik Ordian <[email protected]>

* Add issue numbers to TODOs

* Apply @ordians fix for wrong state_root

* Warn on invalid RLP

* Remove the `ci-skip-tests` feature
@s3krit s3krit mentioned this pull request Sep 26, 2019
@varasev
Copy link
Contributor

varasev commented Oct 8, 2019

Kovan 14111141 (December)

Please note that it's not December, but October: ~Sunday, 13-Oct-19 09:30 UTC

@phahulin
Copy link
Contributor

phahulin commented Oct 8, 2019

Thanks for noting @varasev, kovan validators started updating.

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. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M2-config 📂 Chain specifications and node configurations. P5-sometimesoon 🌲 Issue is worth doing soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Istanbul Hard Fork Tracking
8 participants