-
Notifications
You must be signed in to change notification settings - Fork 26
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
Consolidation, withdrawal & exit request creation tool #166
base: master
Are you sure you want to change the base?
Conversation
Test instructions:
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/master/playbooks/dev/fund-wallet.yaml", config: { targetAddress: "0x332E43696A505EF45b9319973785F837ce5267b9" } }
- { file: "https://raw.githubusercontent.com/ethpandaops/assertoor/refs/heads/electra-support/playbooks/pectra-dev/kurtosis/bls-changes.yaml", config: { targetAddress: "0x332E43696A505EF45b9319973785F837ce5267b9" } } change the address (
|
// https://eips.ethereum.org/EIPS/eip-7251#fee-calculation | ||
let i = 1n; | ||
let output = 0n; | ||
let numeratorAccum = 1n * 17n; // factor * denominator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth to just create a const/var for this 17? It's from CONSOLIDATION_REQUEST_FEE_UPDATE_FRACTION
right? Ideally we would probably read it from config, but it can get annoying passing that to the UI code.
// https://eips.ethereum.org/EIPS/eip-7002#fee-calculation | ||
let i = 1n; | ||
let output = 0n; | ||
let numeratorAccum = 1n * 17n; // factor * denominator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as previous comment. 17 could be something hardcoded or from config as WITHDRAWAL_REQUEST_FEE_UPDATE_FRACTION
This PR adds a submit consolidations and a submit withdrawals page, that can be used to create & submit consolidation, withdrawal & exit transactions.
These pages are intended to be available for testnets only. Therefore they are disabled by default and need to be enabled via the
frontend.showSubmitElRequests
setting if wanted.Submit Consolidation Requests:
Submit Withdrawal/Exit Requests: