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

beacon hangs on start with Medalla #1347

Closed
dangerousfood opened this issue Aug 5, 2020 · 6 comments
Closed

beacon hangs on start with Medalla #1347

dangerousfood opened this issue Aug 5, 2020 · 6 comments

Comments

@dangerousfood
Copy link

Screen Shot 2020-08-04 at 10 23 27 PM

Blocks don't start sync from Eth1 client and deposits aren't run

Screen Shot 2020-08-04 at 10 26 09 PM

@mpetrunic
Copy link
Member

Our eth1 processing doesn't work very well and blocks everything. You should probably disable eth1 processing (--eth1.enabled false) until we fix that.

@larry0x
Copy link

larry0x commented Aug 5, 2020

Our eth1 processing doesn't work very well and blocks everything. You should probably disable eth1 processing (--eth1.enabled false) until we fix that.

I'm having exactly the same issue. Disabling eth1 seems to make no difference:

larry@bacon:~/eth2/lodestar$ yarn run cli beacon --testnet medalla --rootDir ~/.lodestar --eth1.enabled false --metrics.enabled false
yarn run v1.22.4
$ node --trace-deprecation ./packages/lodestar-cli/bin/lodestar beacon --testnet medalla --rootDir /home/larry/.lodestar --eth1.enabled false --metrics.enabled false
2020-08-06 00:35:39  [CHAIN]            info: Initializing beacon chain with state root 0xaf6aafa94dcc22a5cf0253c4f5dd886397900034bf7c149c54635b537f34f64e and block root 0xebe49843e96e538592c9e1976e155e9057c251ed9312eba517afce3ca1a0660c, number of validator: 20084 
2020-08-06 00:35:47  [CHAIN]            info: Beacon chain initialized 
2020-08-06 00:35:47  [NODE]             info: Starting eth2 beacon node - LODESTAR! 
2020-08-06 00:35:47  [DB]               info: Connected to LevelDB database at /home/larry/.lodestar/chain-db 
2020-08-06 00:35:56  [CHAIN]            info: Chain started, waiting blocks and attestations 
2020-08-06 00:35:56  [CHAIN]            info: Found last known finalized state at epoch #0 root 0x0000000000000000000000000000000000000000000000000000000000000000 
2020-08-06 00:35:56  [CHAIN]            info: Found 2 nonfinalized blocks in database from slot 0 to 0 
2020-08-06 00:35:56  [CHAIN]            info: Found finalized block at slot 0,
        root=0xebe49843e96e538592c9e1976e155e9057c251ed9312eba517afce3ca1a0660c 
2020-08-06 00:35:56  [CHAIN]            info: No need to reprocess blocks

@dangerousfood
Copy link
Author

I use that option to no effect. I performed an rm -rf on the chain-db before starting as well

Params 👇

yarn run cli beacon \
  --testnet medalla \
  --rootDir /Users/dangerousfood/Dev/eth2-medalla/lodestar \
  --eth1.provider.url https://goerli.prylabs.net \
  --metrics.serverPort 8009 \
  --eth1.enabled false

@dapplion
Copy link
Contributor

dapplion commented Aug 6, 2020

@dangerousfood Thanks for reporting! Would you mind pasting your CLI logs, doing a rm -rf on the chain-db directory beforehand? Or are they the same as the original message?

@larry0x
Copy link

larry0x commented Aug 7, 2020

I'd like to report that after pulling the latest commits and recompiling Lodestar, this issue disappeared for me. This is without removing the chain-db directory and with --eth1-enabled being true.

@dapplion
Copy link
Contributor

dapplion commented Aug 7, 2020

@Larrypcdotcom Awesome! Thanks for reporting back. What a fire background tho @dangerousfood 🔥

@dapplion dapplion closed this as completed Aug 9, 2020
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

No branches or pull requests

4 participants