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

Submit Deposits page #163

Merged
merged 19 commits into from
Nov 4, 2024
Merged

Submit Deposits page #163

merged 19 commits into from
Nov 4, 2024

Conversation

pk910
Copy link
Member

@pk910 pk910 commented Oct 29, 2024

This PR adds a submit deposits page (mini launchpad), that can be used to submit deposits generated by the deposit-cli to the network.
The mini launchpad is intended to be available for testnets only. Therefore it is disabled by default and needs to be enabled via the frontend.showSubmitDeposit setting if wanted.

image

image

@pk910 pk910 added the build-docker-image Automatically build docker image for PR branch label Oct 30, 2024
@pk910 pk910 changed the title WIP: Mini Launchpad Submit Deposits page Oct 31, 2024
@pk910 pk910 marked this pull request as ready for review October 31, 2024 14:26
@pk910 pk910 requested a review from skylenet October 31, 2024 14:26
@pk910
Copy link
Member Author

pk910 commented Oct 31, 2024

Testing instructions:

  1. Start dora via make devnet-run, any config should work, if you wanna use devnet4, take this custom-kurtosis.devnet.config.yaml:
participants_matrix:
  el:
    - el_type: geth
      el_image: ethpandaops/geth:lightclient-prague-devnet-4-37035c5
    - el_type: reth
      el_image: ethpandaops/reth:onbjerg-devnet-4-8a40d5c
  cl:
    - cl_type: lighthouse
      cl_image: ethpandaops/lighthouse:pawan-electra-alpha7-0dd215c
    - cl_type: prysm
      cl_image: ethpandaops/prysm-beacon-chain:develop-4aa5410
      vc_image: ethpandaops/prysm-validator:develop-4aa5410
network_params:
  electra_fork_epoch: 1
  min_validator_withdrawability_delay: 1
  shard_committee_period: 1
  churn_limit_quotient: 16
  seconds_per_slot: 6
additional_services:
  - dora
  - assertoor
snooper_enabled: true
assertoor_params:
  image: "ethpandaops/assertoor:electra-support-456ffe4"
  run_stability_check: false
  run_block_proposal_check: false
  tests:
    - { file: "https://raw.githubusercontent.com/ethpandaops/assertoor/refs/heads/electra-support/playbooks/pectra-dev/eip7002-all.yaml", config: { useExistingValidators: true } }
    - { file: "https://raw.githubusercontent.com/ethpandaops/assertoor/refs/heads/electra-support/playbooks/pectra-dev/kurtosis/eip7002-mass-withdrawals.yaml" }
    - { file: "https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/block-proposal-check.yaml" }
  1. Generate deposits
# generate random mnemonic
wagyu ethereum hd -w 24

# generate test deposits
# replace the json values within the `devnet_chain_setting` arg to match your devnet (genesis validators root is shown on dora frontpage)
docker run -v $(pwd)/validator-keys:/app/validator_keys --rm -it pk910/dev-images:deposit-cli existing-mnemonic --amount 128 --compounding --devnet_chain_setting '{"network_name":"kurtosis","genesis_fork_version":"0x10000038","exit_fork_version":"0x40000038","genesis_validator_root":"0x9c714f5515e091adccf066e945f10edc19fb6aefd132be221f7066caa17db73a"}'
# follow the instructions on screen

The pk910/dev-images:deposit-cli image is based on this PR

  1. Open mini launchpad and try submitting the deposits :)

@pk910 pk910 removed the build-docker-image Automatically build docker image for PR branch label Nov 4, 2024
Dockerfile Show resolved Hide resolved
@pk910 pk910 merged commit 648becb into master Nov 4, 2024
6 checks passed
@pk910 pk910 deleted the pk910/mini-launchpad branch November 4, 2024 19:01
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

Successfully merging this pull request may close these issues.

2 participants