Skip to content

Conversation

@zhiqiangxu
Copy link
Contributor

@zhiqiangxu zhiqiangxu commented Apr 29, 2025

In the latest code, if SetupGenesisBlockWithOverride returns a ConfigCompatError, it will be ignored silently by geth init.

I think it should fail out loud since the new chain config isn't actually stored.

It's introduced in this pr 3 months ago: #30907

@rjl493456442 rjl493456442 self-requested a review April 30, 2025 00:40
Copy link
Member

@rjl493456442 rjl493456442 left a comment

Choose a reason for hiding this comment

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

Thanks for catching it!

@rjl493456442 rjl493456442 added this to the 1.15.11 milestone Apr 30, 2025
@rjl493456442 rjl493456442 merged commit ba0a61b into ethereum:master Apr 30, 2025
3 of 4 checks passed
@zhiqiangxu
Copy link
Contributor Author

Thanks for catching it!

You're welcome ! Btw, could you also take a look at my another pr here ?

jakub-freebit pushed a commit to fblch/go-ethereum that referenced this pull request Jul 3, 2025
howjmay pushed a commit to iotaledger/go-ethereum that referenced this pull request Aug 27, 2025
gballet pushed a commit to gballet/go-ethereum that referenced this pull request Sep 11, 2025
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.

2 participants