berachain / beacon-kit

A modular framework for building EVM consensus clients ⛵️✨
https://berachain.com
Other
82 stars 45 forks source link

[HELP] Error when running on Goland #1659

Closed GDdark closed 5 days ago

GDdark commented 5 days ago

System: Macos

I want to run this project on our local GoLand and I found some errors.

I use the configuration file generated by make start

And I run the main.go on beacond/cmd/main.go and got some errors

unknown db_backend pebbledb, expected one of goleveldb,memdb So I have to change the app-db-backend on app.toml to memdb and it work again

ERROR startup failure error="error in genesis doc: params.Validator.PubKeyTypes[0], bls12_381, is an unknown pubkey type"

It happens when I startup the geth And I found the cometbft does not support the bls12_381

This is part of the code from CometBFT. image image image

However, I am confused because the binary file generated by make build is work fine.

So how can i make it work on GoLand?