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

feature: add simple eth chain #591

Open
Anmol1696 opened this issue Dec 10, 2024 · 1 comment
Open

feature: add simple eth chain #591

Anmol1696 opened this issue Dec 10, 2024 · 1 comment

Comments

@Anmol1696
Copy link
Collaborator

Add ability to have simple eth chain setup with Starship

@Anmol1696
Copy link
Collaborator Author

How best to expose the eth chain to the config file.
We have a couple of options:

Option 1:

chains:
- id: becon-chain-1337
  name: eth-becon-chain
  numValidators: 4  # number of nodes
  config:
  #  ... 
  balances: 
    - address: <eth addr>
      amount: 1000ETH
    # ...
- id: execution-chain
  name: eth-execution-chain
  image: prysm:stable
  numValidators: 4  # number of nodes for execution chain
- id: validator
  name: eth-validator
  numValidator: 4   # number of validators      

Each type of node has its own

Option 2:

chains:
- id: eth
  name: ethereum
  numValidators: 4
  config: 
    beaconChain:
      image:
    executionChain:
      image:
    validator:
      image:

In this case we will have a single stateful set with 3 containers, one for each type of node.
This way number of nodes or numValidators is just a replica of the same set of nodes.

Option 3:

Similar to 2, but we will have different stateful set for each of the chain.

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

1 participant