Skip to content

Conversation

@holiman
Copy link
Contributor

@holiman holiman commented Oct 26, 2021

This PR adds support for ArrowGlacier, as defined by

Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number.

This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.

cc @marioevz @timbeiko

@holiman holiman requested a review from karalabe as a code owner October 26, 2021 07:54
@holiman holiman linked an issue Oct 27, 2021 that may be closed by this pull request
@holiman holiman requested a review from rjl493456442 as a code owner October 27, 2021 11:33
@marioevz
Copy link
Member

Tested using ethereum/tests#972, ethereum/retesteth#153.
LGTM.

Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

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

LGTM

@holiman holiman requested a review from zsfelfoldi as a code owner October 28, 2021 13:00
@holiman holiman added this to the 1.10.12 milestone Oct 28, 2021
@holiman holiman merged commit 32150f8 into ethereum:master Oct 28, 2021
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Oct 29, 2021
@holiman holiman deleted the arrow_glacier branch November 10, 2021 18:32
yongjun925 pushed a commit to DODOEX/go-ethereum that referenced this pull request Dec 3, 2022
…um#23810)

This PR adds support for ArrowGlacier, as defined by

    https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md
    https://eips.ethereum.org/EIPS/eip-4345

> Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number.

This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.
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.

evm t8n returns incorrect difficulty on --state.fork Berlin

3 participants