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

"Starting Erigon on Ethereum mainnet" message in Hive tests #10443

Open
yperbasis opened this issue May 22, 2024 · 0 comments
Open

"Starting Erigon on Ethereum mainnet" message in Hive tests #10443

yperbasis opened this issue May 22, 2024 · 0 comments
Labels
imp2 Medium importance

Comments

@yperbasis
Copy link
Member

Hive tests use the init to save a dev chain genesis + config into the DB. As Barnabas reported, later erigon, when started against such DB instance, incorrectly says that it's starting on Ethereum mainnet:

[INFO] [05-22|14:00:17.201] Initialised chain configuration          config="{ChainID: 3151908, Homestead: 0, DAO: <nil>, Tangerine Whistle: 0, Spurious Dragon: 0, Byzantium: 0, Constantinople: 0, Petersburg: 0, Istanbul: 0, Muir Glacier: <nil>, Berlin: 0, London: 0, Arrow Glacier: <nil>, Gray Glacier: <nil>, Terminal Total Difficulty: 0, Merge Netsplit: 0, Shanghai: 0, Cancun: 0, Prague: 40116386478, Osaka: <nil>, Engine: unknown}" genesis=0x67215f968956398a7268417d063d4c4a6647fd61f474ce101aeb5dd4729ad868
[INFO] [05-22|14:00:17.204] Initialising Ethereum protocol           network=3151908

Apparently that's a bit that was missed by PRs #9408 & #10406.

@yperbasis yperbasis added imp3 Low importance imp2 Medium importance and removed imp3 Low importance labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imp2 Medium importance
Projects
None yet
Development

No branches or pull requests

1 participant