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

Is it possible to set up a fully functional private GoEthereum network with a Proof of Stake consensus mechanism without using Kurtosis or other wrappers? #30817

Open
ThomasAqu1nas opened this issue Nov 27, 2024 · 4 comments

Comments

@ThomasAqu1nas
Copy link

I need to test and compare the performance, load capacity, and speed of block validation/mining in a geth network using different consensus mechanisms: PoW, PoS, and PoA.

Setting up a PoW Ethash or PoA Clique network is straightforward based on the documentation.
However, when it comes to setting up a private geth network with a PoS consensus mechanism, the documentation suggests using the Kurtosis wrapper, which relies on code from the repository: https://github.com/ethpandaops/ethereum-package, rather than directly using the geth source code.

I would like to know if it's possible to configure a private network directly with a PoS consensus mechanism and generate a genesis config for this network.

@weiihann
Copy link
Contributor

@ThomasAqu1nas
Copy link
Author

https://docs.prylabs.network/docs/advanced/proof-of-stake-devnet

this might help

In Devnet, the database is destroyed after the node is disconnected

@MariusVanDerWijden
Copy link
Member

MariusVanDerWijden commented Nov 28, 2024

It's not possible to set up a proof-of-stake network with geth only. You can use geth --dev to set up a quick dev chain. If you specify the datadir (--datadir) the database will not be destroyed once the node is shut down.

You can always set up a network without kurtosis, but its more complicated, since you need to set up a lot of stuff manually

@ThomasAqu1nas
Copy link
Author

ThomasAqu1nas commented Nov 28, 2024

It's not possible to set up a proof-of-stake network with geth only. You can use geth --dev to set up a quick dev chain. If you specify the datadir (--datadir) the database will not be destroyed once the node is shut down.

You can always set up a network without kurtosis, but its more complicated, since you need to set up a lot of stuff manually

How about this guide that @weiihann sent me. It seems to be in this section: https://docs.prylabs.network/docs/advanced/proof-of-stake-devnet#manual-setup-built-from-source
the procedure for deploying the pos network is specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants