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

fix(chain_spec): Set correct paris block and chain difficulty #7111

Merged

Conversation

Deniallugo
Copy link
Contributor

@Deniallugo Deniallugo commented Mar 12, 2024

It's impossible to set Paris block and chain difficulty using the custom spec and ChainConfig builder.

Even if Paris has been mentioned in spec it's always disabled

image

Signed-off-by: Danil <deniallugo@gmail.com>
@Deniallugo Deniallugo closed this Mar 12, 2024
@Deniallugo Deniallugo reopened this Mar 12, 2024
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

change looks good,
can we get a sanity test for test?

@mattsse mattsse added the C-bug An unexpected or incorrect behavior label Mar 12, 2024
@Deniallugo Deniallugo force-pushed the set-correct-paris-block-and-difficulty branch from 91bb5df to b5400fe Compare March 12, 2024 11:22
@Deniallugo
Copy link
Contributor Author

Hi @mattsse thanks for the fast review!
I've added this check to the existing test and also add a new one

@Deniallugo Deniallugo requested a review from mattsse March 12, 2024 11:31
Signed-off-by: Danil <deniallugo@gmail.com>
@mattsse mattsse added this pull request to the merge queue Mar 12, 2024
Merged via the queue into paradigmxyz:main with commit 22d585d Mar 12, 2024
27 checks passed
0xSt1ng3R added a commit to 0xSt1ng3R/reth that referenced this pull request Mar 12, 2024
fix(chain_spec): Set correct paris block and chain difficulty (paradigmxyz#7111)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants