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

feat: rebased electra branch - DONOTMERGE just for testing/CI #6899

Closed
wants to merge 51 commits into from

Commits on Jun 17, 2024

  1. feat: placeholder PR for electra

    add types stub and epoch config
    
    fix types
    g11tech committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    9b71394 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. feat: implement EIP-6110 (#6042)

    * Add immutable in the dependencies
    
    * Initial change to pubkeyCache
    
    * Added todos
    
    * Moved unfinalized cache to epochCache
    
    * Move populating finalized cache to afterProcessEpoch
    
    * Specify unfinalized cache during state cloning
    
    * Move from unfinalized to finalized cache in afterProcessEpoch
    
    * Confused myself
    
    * Clean up
    
    * Change logic
    
    * Fix cloning issue
    
    * Clean up redundant code
    
    * Add CarryoverData in epochCtx.createFromState
    
    * Fix typo
    
    * Update usage of pubkeyCache
    
    * Update pubkeyCache usage
    
    * Fix lint
    
    * Fix lint
    
    * Add 6110 to ChainConfig
    
    * Add 6110 to BeaconPreset
    
    * Define 6110 fork and container
    
    * Add V6110 api to execution engine
    
    * Update test
    
    * Add depositReceiptsRoot to process_execution_payload
    
    * State transitioning to EIP6110
    
    * State transitioning to EIP6110
    
    * Light client change in EIP-6110
    
    * Update tests
    
    * produceBlock
    
    * Refactor processDeposit to match the spec
    
    * Implement processDepositReceipt
    
    * Implement 6110 fork guard for pubkeyCache
    
    * Handle changes in eth1 deposit
    
    * Update eth1 deposit test
    
    * Fix typo
    
    * Lint
    
    * Remove embarassing comments
    
    * Address comments
    
    * Modify applyDeposit signature
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update packages/state-transition/src/cache/pubkeyCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Remove old code
    
    * Rename fields in epochCache and immutableData
    
    * Remove CarryoverData
    
    * Move isAfter6110 from var to method
    
    * Fix cyclic import
    
    * Fix operations spec runner
    
    * Fix for spec test
    
    * Fix spec test
    
    * state.depositReceiptsStartIndex to BigInt
    
    * getDeposit requires cached state
    
    * default depositReceiptsStartIndex value in genesis
    
    * Fix pubkeyCache bug
    
    * newUnfinalizedPubkeyIndexMap in createCachedBeaconState
    
    * Lint
    
    * Pass epochCache instead of pubkey2IndexFn in apis
    
    * Address comments
    
    * Add unit test on pubkey cache cloning
    
    * Add unfinalizedPubkeyCacheSize to metrics
    
    * Add unfinalizedPubkeyCacheSize to metrics
    
    * Clean up code
    
    * Add besu to el-interop
    
    * Add 6110 genesis file
    
    * Template for sim test
    
    * Add unit test for getEth1DepositCount
    
    * Update sim test
    
    * Update besudocker
    
    * Finish beacon api calls in sim test
    
    * Update epochCache.createFromState()
    
    * Fix bug unfinalized validators are not finalized
    
    * Add sim test to run a few blocks
    
    * Lint
    
    * Merge branch 'unstable' into 611
    
    * Add more check to sim test
    
    * Update besu docker image instruction
    
    * Update sim test with correct tx
    
    * Address comment + cleanup
    
    * Clean up code
    
    * Properly handle promise rejection
    
    * Lint
    
    * Update packages/beacon-node/src/execution/engine/types.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update comments
    
    * Accept type undefined in ExecutionPayloadBodyRpc
    
    * Update comment and semantic
    
    * Remove if statement when adding finalized validator
    
    * Comment on repeated insert on finalized cache
    
    * rename createFromState
    
    * Add comment on getPubkey()
    
    * Stash change to reduce diffs
    
    * Stash change to reduce diffs
    
    * Lint
    
    * addFinalizedPubkey on finalized checkpoint
    
    * Update comment
    
    * Use OrderedMap for unfinalized cache
    
    * Pull out logic of deleting pubkeys for batch op
    
    * Add updateUnfinalizedPubkeys in regen
    
    * Update updateUnfinalizedPubkeys logic
    
    * Add comment
    
    * Add metrics for state context caches
    
    * Address comment
    
    * Address comment
    
    * Deprecate eth1Data polling when condition is reached
    
    * Fix conflicts
    
    * Fix sim test
    
    * Lint
    
    * Fix type
    
    * Fix test
    
    * Fix test
    
    * Lint
    
    * Update packages/light-client/src/spec/utils.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Fix spec test
    
    * Address comments
    
    * Improve cache logic on checkpoint finalized
    
    * Update sim test according to new cache logic
    
    * Update comment
    
    * Lint
    
    * Finalized pubkey cache only update once per checkpoint
    
    * Add perf test for updateUnfinalizedPubkeys
    
    * Add perf test for updateUnfinalizedPubkeys
    
    * Tweak params for perf test
    
    * Freeze besu docker image version for 6110
    
    * Add benchmark result
    
    * Use Map instead of OrderedMap. Update benchmark
    
    * Minor optimization
    
    * Minor optimization
    
    * Add memory test for immutable.js
    
    * Update test
    
    * Reduce code duplication
    
    * Lint
    
    * Remove try/catch in updateUnfinalizedPubkeys
    
    * Introduce EpochCache metric
    
    * Add historicalValidatorLengths
    
    * Polish code
    
    * Migrate state-transition unit tests to vitest
    
    * Fix calculation of pivot index
    
    * `historicalValidatorLengths` only activate post 6110
    
    * Update sim test
    
    * Lint
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Improve readability on historicalValidatorLengths
    
    * Update types
    
    * Fix calculation
    
    * Add eth1data poll todo
    
    * Add epochCache.getValidatorCountAtEpoch
    
    * Add todo
    
    * Add getStateIterator for state cache
    
    * Partial commit
    
    * Update perf test
    
    * updateUnfinalizedPubkeys directly modify states from regen
    
    * Update sim test. Lint
    
    * Add todo
    
    * some improvements and a fix for effectiveBalanceIncrements fork safeness
    
    * rename eip6110 to elctra
    
    * fix electra-interop.test.ts
    
    ---------
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    Co-authored-by: gajinder <develop@g11tech.io>
    
    lint and tsc
    
    small cleanup
    
    fix rebase issue
    ensi321 authored and g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    d3f59cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2aadf5 View commit details
    Browse the repository at this point in the history
  3. feat: implement execution layer exits eip 7002 (#6651)

    * feat: implement execution layer exits eip 7002
    
    * lint and tsc fix
    
    * apply feedback
    
    * improve comment
    g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    ade5c5d View commit details
    Browse the repository at this point in the history
  4. chore: update spec test version for electra fork (#6717)

    * Update spec-test version
    
    * Skip electra
    ensi321 authored and g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    507d94d View commit details
    Browse the repository at this point in the history
  5. feat: add presets and ssz types for EIP-7549 (#6715)

    * Add types
    
    * Update unit test
    
    * lint
    
    * Address comments
    
    * Address comments
    
    * Lint
    
    * Update packages/beacon-node/src/util/sszBytes.ts
    
    Co-authored-by: tuyennhv <tuyen@chainsafe.io>
    
    * Add isElectraAttestation
    
    * Update unit test
    
    * Update unit test
    
    * chore: add comments for sszBytes.ts
    
    ---------
    
    Co-authored-by: tuyennhv <tuyen@chainsafe.io>
    Co-authored-by: Tuyen Nguyen <vutuyen2636@gmail.com>
    3 people authored and g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    ea52e9d View commit details
    Browse the repository at this point in the history
  6. chore: fix the rebase build (#6735)

    * chore: fix the rebase build
    
    * fix test
    g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    929e49e View commit details
    Browse the repository at this point in the history
  7. feat: upgrade 7002 exits to withdrawal request (#6736)

    * feat: upgrade 7002 exits to withdrawal request
    
    * fix types
    
    * fix types and references
    
    * further fix the types references and get build passing
    
    * update the process ops fn but needs to be extended by maxeb
    g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    2b8866d View commit details
    Browse the repository at this point in the history
  8. feat: implement maxEB EIP-7251 (#6539)

    * feat: implement EIP-6110 (#6042)
    
    * Add immutable in the dependencies
    
    * Initial change to pubkeyCache
    
    * Added todos
    
    * Moved unfinalized cache to epochCache
    
    * Move populating finalized cache to afterProcessEpoch
    
    * Specify unfinalized cache during state cloning
    
    * Move from unfinalized to finalized cache in afterProcessEpoch
    
    * Confused myself
    
    * Clean up
    
    * Change logic
    
    * Fix cloning issue
    
    * Clean up redundant code
    
    * Add CarryoverData in epochCtx.createFromState
    
    * Fix typo
    
    * Update usage of pubkeyCache
    
    * Update pubkeyCache usage
    
    * Fix lint
    
    * Fix lint
    
    * Add 6110 to ChainConfig
    
    * Add 6110 to BeaconPreset
    
    * Define 6110 fork and container
    
    * Add V6110 api to execution engine
    
    * Update test
    
    * Add depositReceiptsRoot to process_execution_payload
    
    * State transitioning to EIP6110
    
    * State transitioning to EIP6110
    
    * Light client change in EIP-6110
    
    * Update tests
    
    * produceBlock
    
    * Refactor processDeposit to match the spec
    
    * Implement processDepositReceipt
    
    * Implement 6110 fork guard for pubkeyCache
    
    * Handle changes in eth1 deposit
    
    * Update eth1 deposit test
    
    * Fix typo
    
    * Lint
    
    * Remove embarassing comments
    
    * Address comments
    
    * Modify applyDeposit signature
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update packages/state-transition/src/cache/pubkeyCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Remove old code
    
    * Rename fields in epochCache and immutableData
    
    * Remove CarryoverData
    
    * Move isAfter6110 from var to method
    
    * Fix cyclic import
    
    * Fix operations spec runner
    
    * Fix for spec test
    
    * Fix spec test
    
    * state.depositReceiptsStartIndex to BigInt
    
    * getDeposit requires cached state
    
    * default depositReceiptsStartIndex value in genesis
    
    * Fix pubkeyCache bug
    
    * newUnfinalizedPubkeyIndexMap in createCachedBeaconState
    
    * Lint
    
    * Pass epochCache instead of pubkey2IndexFn in apis
    
    * Address comments
    
    * Add unit test on pubkey cache cloning
    
    * Add unfinalizedPubkeyCacheSize to metrics
    
    * Add unfinalizedPubkeyCacheSize to metrics
    
    * Clean up code
    
    * Add besu to el-interop
    
    * Add 6110 genesis file
    
    * Template for sim test
    
    * Add unit test for getEth1DepositCount
    
    * Update sim test
    
    * Update besudocker
    
    * Finish beacon api calls in sim test
    
    * Update epochCache.createFromState()
    
    * Fix bug unfinalized validators are not finalized
    
    * Add sim test to run a few blocks
    
    * Lint
    
    * Merge branch 'unstable' into 611
    
    * Add more check to sim test
    
    * Update besu docker image instruction
    
    * Update sim test with correct tx
    
    * Address comment + cleanup
    
    * Clean up code
    
    * Properly handle promise rejection
    
    * Lint
    
    * Update packages/beacon-node/src/execution/engine/types.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update comments
    
    * Accept type undefined in ExecutionPayloadBodyRpc
    
    * Update comment and semantic
    
    * Remove if statement when adding finalized validator
    
    * Comment on repeated insert on finalized cache
    
    * rename createFromState
    
    * Add comment on getPubkey()
    
    * Stash change to reduce diffs
    
    * Stash change to reduce diffs
    
    * Lint
    
    * addFinalizedPubkey on finalized checkpoint
    
    * Update comment
    
    * Use OrderedMap for unfinalized cache
    
    * Pull out logic of deleting pubkeys for batch op
    
    * Add updateUnfinalizedPubkeys in regen
    
    * Update updateUnfinalizedPubkeys logic
    
    * Add comment
    
    * Add metrics for state context caches
    
    * Address comment
    
    * Address comment
    
    * Deprecate eth1Data polling when condition is reached
    
    * Fix conflicts
    
    * Fix sim test
    
    * Lint
    
    * Fix type
    
    * Fix test
    
    * Fix test
    
    * Lint
    
    * Update packages/light-client/src/spec/utils.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Fix spec test
    
    * Address comments
    
    * Improve cache logic on checkpoint finalized
    
    * Update sim test according to new cache logic
    
    * Update comment
    
    * Lint
    
    * Finalized pubkey cache only update once per checkpoint
    
    * Add perf test for updateUnfinalizedPubkeys
    
    * Add perf test for updateUnfinalizedPubkeys
    
    * Tweak params for perf test
    
    * Freeze besu docker image version for 6110
    
    * Add benchmark result
    
    * Use Map instead of OrderedMap. Update benchmark
    
    * Minor optimization
    
    * Minor optimization
    
    * Add memory test for immutable.js
    
    * Update test
    
    * Reduce code duplication
    
    * Lint
    
    * Remove try/catch in updateUnfinalizedPubkeys
    
    * Introduce EpochCache metric
    
    * Add historicalValidatorLengths
    
    * Polish code
    
    * Migrate state-transition unit tests to vitest
    
    * Fix calculation of pivot index
    
    * `historicalValidatorLengths` only activate post 6110
    
    * Update sim test
    
    * Lint
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Improve readability on historicalValidatorLengths
    
    * Update types
    
    * Fix calculation
    
    * Add eth1data poll todo
    
    * Add epochCache.getValidatorCountAtEpoch
    
    * Add todo
    
    * Add getStateIterator for state cache
    
    * Partial commit
    
    * Update perf test
    
    * updateUnfinalizedPubkeys directly modify states from regen
    
    * Update sim test. Lint
    
    * Add todo
    
    * some improvements and a fix for effectiveBalanceIncrements fork safeness
    
    * rename eip6110 to elctra
    
    * fix electra-interop.test.ts
    
    ---------
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    Co-authored-by: gajinder <develop@g11tech.io>
    
    lint and tsc
    
    small cleanup
    
    fix rebase issue
    
    * feat: implement EIP-6110 (#6042)
    
    * Add immutable in the dependencies
    
    * Initial change to pubkeyCache
    
    * Added todos
    
    * Moved unfinalized cache to epochCache
    
    * Move populating finalized cache to afterProcessEpoch
    
    * Specify unfinalized cache during state cloning
    
    * Move from unfinalized to finalized cache in afterProcessEpoch
    
    * Confused myself
    
    * Clean up
    
    * Change logic
    
    * Fix cloning issue
    
    * Clean up redundant code
    
    * Add CarryoverData in epochCtx.createFromState
    
    * Fix typo
    
    * Update usage of pubkeyCache
    
    * Update pubkeyCache usage
    
    * Fix lint
    
    * Fix lint
    
    * Add 6110 to ChainConfig
    
    * Add 6110 to BeaconPreset
    
    * Define 6110 fork and container
    
    * Add V6110 api to execution engine
    
    * Update test
    
    * Add depositReceiptsRoot to process_execution_payload
    
    * State transitioning to EIP6110
    
    * State transitioning to EIP6110
    
    * Light client change in EIP-6110
    
    * Update tests
    
    * produceBlock
    
    * Refactor processDeposit to match the spec
    
    * Implement processDepositReceipt
    
    * Implement 6110 fork guard for pubkeyCache
    
    * Handle changes in eth1 deposit
    
    * Update eth1 deposit test
    
    * Fix typo
    
    * Lint
    
    * Remove embarassing comments
    
    * Address comments
    
    * Modify applyDeposit signature
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update packages/state-transition/src/cache/pubkeyCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Remove old code
    
    * Rename fields in epochCache and immutableData
    
    * Remove CarryoverData
    
    * Move isAfter6110 from var to method
    
    * Fix cyclic import
    
    * Fix operations spec runner
    
    * Fix for spec test
    
    * Fix spec test
    
    * state.depositReceiptsStartIndex to BigInt
    
    * getDeposit requires cached state
    
    * default depositReceiptsStartIndex value in genesis
    
    * Fix pubkeyCache bug
    
    * newUnfinalizedPubkeyIndexMap in createCachedBeaconState
    
    * Lint
    
    * Pass epochCache instead of pubkey2IndexFn in apis
    
    * Address comments
    
    * Add unit test on pubkey cache cloning
    
    * Add unfinalizedPubkeyCacheSize to metrics
    
    * Add unfinalizedPubkeyCacheSize to metrics
    
    * Clean up code
    
    * Add besu to el-interop
    
    * Add 6110 genesis file
    
    * Template for sim test
    
    * Add unit test for getEth1DepositCount
    
    * Update sim test
    
    * Update besudocker
    
    * Finish beacon api calls in sim test
    
    * Update epochCache.createFromState()
    
    * Fix bug unfinalized validators are not finalized
    
    * Add sim test to run a few blocks
    
    * Lint
    
    * Merge branch 'unstable' into 611
    
    * Add more check to sim test
    
    * Update besu docker image instruction
    
    * Update sim test with correct tx
    
    * Address comment + cleanup
    
    * Clean up code
    
    * Properly handle promise rejection
    
    * Lint
    
    * Update packages/beacon-node/src/execution/engine/types.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Update comments
    
    * Accept type undefined in ExecutionPayloadBodyRpc
    
    * Update comment and semantic
    
    * Remove if statement when adding finalized validator
    
    * Comment on repeated insert on finalized cache
    
    * rename createFromState
    
    * Add comment on getPubkey()
    
    * Stash change to reduce diffs
    
    * Stash change to reduce diffs
    
    * Lint
    
    * addFinalizedPubkey on finalized checkpoint
    
    * Update comment
    
    * Use OrderedMap for unfinalized cache
    
    * Pull out logic of deleting pubkeys for batch op
    
    * Add updateUnfinalizedPubkeys in regen
    
    * Update updateUnfinalizedPubkeys logic
    
    * Add comment
    
    * Add metrics for state context caches
    
    * Address comment
    
    * Address comment
    
    * Deprecate eth1Data polling when condition is reached
    
    * Fix conflicts
    
    * Fix sim test
    
    * Lint
    
    * Fix type
    
    * Fix test
    
    * Fix test
    
    * Lint
    
    * Update packages/light-client/src/spec/utils.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Fix spec test
    
    * Address comments
    
    * Improve cache logic on checkpoint finalized
    
    * Update sim test according to new cache logic
    
    * Update comment
    
    * Lint
    
    * Finalized pubkey cache only update once per checkpoint
    
    * Add perf test for updateUnfinalizedPubkeys
    
    * Add perf test for updateUnfinalizedPubkeys
    
    * Tweak params for perf test
    
    * Freeze besu docker image version for 6110
    
    * Add benchmark result
    
    * Use Map instead of OrderedMap. Update benchmark
    
    * Minor optimization
    
    * Minor optimization
    
    * Add memory test for immutable.js
    
    * Update test
    
    * Reduce code duplication
    
    * Lint
    
    * Remove try/catch in updateUnfinalizedPubkeys
    
    * Introduce EpochCache metric
    
    * Add historicalValidatorLengths
    
    * Polish code
    
    * Migrate state-transition unit tests to vitest
    
    * Fix calculation of pivot index
    
    * `historicalValidatorLengths` only activate post 6110
    
    * Update sim test
    
    * Lint
    
    * Update packages/state-transition/src/cache/epochCache.ts
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    
    * Improve readability on historicalValidatorLengths
    
    * Update types
    
    * Fix calculation
    
    * Add eth1data poll todo
    
    * Add epochCache.getValidatorCountAtEpoch
    
    * Add todo
    
    * Add getStateIterator for state cache
    
    * Partial commit
    
    * Update perf test
    
    * updateUnfinalizedPubkeys directly modify states from regen
    
    * Update sim test. Lint
    
    * Add todo
    
    * some improvements and a fix for effectiveBalanceIncrements fork safeness
    
    * rename eip6110 to elctra
    
    * fix electra-interop.test.ts
    
    ---------
    
    Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
    Co-authored-by: gajinder <develop@g11tech.io>
    
    lint and tsc
    
    small cleanup
    
    * Add presets
    
    * Update config
    
    * Add necessary containers
    
    * Update presets
    
    * Update config
    
    * Add todo comments
    
    * Update constants and params
    
    * Impl new process withdrawal
    
    * Add withdrawaRequests to payload
    
    * Add processConsolidation
    
    * Add process withdraw request
    
    * Update deposit and withdrawal flow
    
    * epoch processing
    
    * Implement churn limits
    
    * Lint
    
    * lint
    
    * Update state-transition utils
    
    * processExecutionLayerWithdrawRequest
    
    * processConsolidation
    
    * queueExcessActiveBalance
    
    * isValidDepositSignature
    
    * Add jsdoc and timer for new processEpoch functions
    
    * Lint
    
    * Update maxEB
    
    * update voluntary exit
    
    * Fix config
    
    * Update initiateValidatorExit
    
    * Remove churn limit in processRegistryUpdates
    
    * Fix conflict
    
    * Add MAX_WITHDRAWAL_REQUESTS_PER_PAYLOAD
    
    * Reflect latest spec changes
    
    * rebase fixes, fixes, improvements and cleanup
    
    lint
    
    * Upgrade ssz version
    
    * Use sliceFrom()
    
    * cleanup as per specs feedback
    
    subarry
    
    * simplify
    
    * fix withdrawals
    
    * remove slice
    
    * fix the slashing quotient determination in slashvalidator
    
    ---------
    
    Co-authored-by: harkamal <gajinder@g11.in>
    ensi321 and g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    6ae385a View commit details
    Browse the repository at this point in the history
  9. feat: beacon node process electra attestations EIP-7549 (#6738)

    * Process attestations in block
    
    * Fix check-types
    
    * Address comments
    ensi321 authored and g11tech committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    86b15bc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7050f8e View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. feat: implement EIP-7549 (#6689)

    * initial commit
    
    * lint
    
    * Add getAttestingIndices and update getIndexedAttestation
    
    * Update gossip validation
    
    * Update attestation gossip validation
    
    * aggregateAndProof validation
    
    * clean up
    
    * Validator
    
    * Misc
    
    * Fix the build erros
    
    * feat: get attestations for electra block (#6732)
    
    * feat: getAttestationsForBlock() for electra
    
    * chore: fix lint
    
    * fix: MAX_ATTESTATIONS_PER_GROUP_ELECTRA and address PR comments
    
    * chore: unit test aggregateConsolidation
    
    * Fix rebase mistake
    
    * Address my own comment :)
    
    ---------
    
    Co-authored-by: Navie Chan <naviechan@gmail.com>
    
    * Fix check-types
    
    * Address comments
    
    ---------
    
    Co-authored-by: Nazar Hussain <nazarhussain@gmail.com>
    Co-authored-by: tuyennhv <tuyen@chainsafe.io>
    3 people authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    825f488 View commit details
    Browse the repository at this point in the history
  2. fix: attestation pool for electra (#6744)

    * feat: attestationPool to group by slot by data root by committee index for electra
    
    * fix: gossip validation and assert.notNull() util
    
    * fix: remove light-client stats.html
    
    * fix: lint and check-types
    twoeths authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    1705888 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c34113 View commit details
    Browse the repository at this point in the history
  4. feat: rename deposit receipt to deposit request for Pectra (#6748)

    * Rename receipt to request
    
    * Remove stats.html
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    a046aef View commit details
    Browse the repository at this point in the history
  5. test: enable spec tests related to eip-7549 (#6741)

    * initial commit
    
    * Update gossip validation
    
    * Update attestation gossip validation
    
    * aggregateAndProof validation
    
    * Extend spec runner to be more flexible
    
    * Add missing state attributes for electra
    
    * Fix ss data types for electra spec
    
    * Make the spec runner more flexible
    
    * Fix the bug in process attestation
    
    * Update the sepc test version
    
    * clean up
    
    * Misc
    
    * Fix the build erros
    
    * feat: get attestations for electra block (#6732)
    
    * feat: getAttestationsForBlock() for electra
    
    * chore: fix lint
    
    * fix: MAX_ATTESTATIONS_PER_GROUP_ELECTRA and address PR comments
    
    * chore: unit test aggregateConsolidation
    
    * Fix rebase mistake
    
    * Address my own comment :)
    
    ---------
    
    Co-authored-by: Navie Chan <naviechan@gmail.com>
    
    * Fix check-types
    
    * Address comments
    
    * Fix the build erros
    
    * Extend spec runner to be more flexible
    
    * Add missing state attributes for electra
    
    * Fix ss data types for electra spec
    
    * Make the spec runner more flexible
    
    * Fix the bug in process attestation
    
    * Update the sepc test version
    
    * Fix rebase issue
    
    * Update committee index count check
    
    ---------
    
    Co-authored-by: NC <adrninistrator1@protonmail.com>
    Co-authored-by: Navie Chan <naviechan@gmail.com>
    Co-authored-by: tuyennhv <tuyen@chainsafe.io>
    4 people authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    5c1fb95 View commit details
    Browse the repository at this point in the history
  6. fix: fix e2e test in electra-fork (#6751)

    Update spec version
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    e7abb89 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d4dd8da View commit details
    Browse the repository at this point in the history
  8. feat: apply some fixes and hacks to get the single node devnet workin…

    …g with fork transition (#6754)
    g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    aed7d7f View commit details
    Browse the repository at this point in the history
  9. fix: get aggregate and proofs signature sets (#6757)

    fix: get signature for SignedAggregateAndProof based on fork
    twoeths authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    14695b5 View commit details
    Browse the repository at this point in the history
  10. test(spec): fix attestors slashing specs for electra fork (#6758)

    * Fix attester slashing specs for electra
    
    * Remove unused import
    
    * Add code comment
    
    * Update the expression
    
    * Update the fork check
    nazarhussain authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    4a55211 View commit details
    Browse the repository at this point in the history
  11. chore: fix types and lint (#6750)

    * chore: fix types and lint
    
    * fx
    
    * type and lint fix
    g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    fda27b8 View commit details
    Browse the repository at this point in the history
  12. fix: fix electra genesis spec test (#6764)

    * process pending deposit from eth1
    
    * Fix the genesis params
    
    * fix
    
    * Fix
    
    * clean up
    
    ---------
    
    Co-authored-by: Nazar Hussain <nazarhussain@gmail.com>
    2 people authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    96f7701 View commit details
    Browse the repository at this point in the history
  13. feat: support missing electra spec test (#6765)

    Add spec test
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    41b857a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4fc06af View commit details
    Browse the repository at this point in the history
  15. chore: update EffectiveBalanceIncrements type (#6763)

    * chore: update EffectiveBalanceIncrements type
    
    * chore: remove now irrelevant tests
    jeluard authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    27cf29a View commit details
    Browse the repository at this point in the history
  16. Fix ssz_static

    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    c476b94 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0707a60 View commit details
    Browse the repository at this point in the history
  18. fix: additional epoch calculation logic for consolidation churn (#6770)

    Fix the chunk limit logic
    nazarhussain authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    4b8a315 View commit details
    Browse the repository at this point in the history
  19. fix: electra fork transition spec tests (#6769)

    * fix: electra fork transition
    
    * fix: merge issue
    
    * chore: remove unwanted change
    twoeths authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    4f99b2e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    5b80b00 View commit details
    Browse the repository at this point in the history
  21. chore(spec): remove the skip specs for electra (#6772)

    Remove the skip spec for electra
    nazarhussain authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    f814364 View commit details
    Browse the repository at this point in the history
  22. fix: use mutable validator object (#6774)

    Use mutable validator object
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d1b5769 View commit details
    Browse the repository at this point in the history
  23. test: fix balance spec tests (#6777)

    * fix: remove epochCache.balances and invalid MAX_EFFECTIVE_BALANCE check
    
    * fix: update rewardsAndPenalties balance updates
    
    * docs: add comment to check epochTransitionCache
    matthewkeil authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    baeb740 View commit details
    Browse the repository at this point in the history
  24. fix: effective balance cache is not in sync with validator effective …

    …balance (#6780)
    
    Update eb cache at fork transition
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    8d18fbd View commit details
    Browse the repository at this point in the history
  25. fix: make electra-fork passes lint and check-types (#6785)

    fix lint and check-types
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    0668076 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f0dc964 View commit details
    Browse the repository at this point in the history
  27. fix: publish attestations with non-zero committee index (#6790)

    Fix publishing att with non-zero comm index
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    ef4092c View commit details
    Browse the repository at this point in the history
  28. fix: validator monitor summaries should not render during epoch 0 (#6791

    )
    
    Skip render summary at epoch 0
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    cb6b706 View commit details
    Browse the repository at this point in the history
  29. fix: attestation duty validation (#6792)

    * fix attestation duty validation
    
    * Update packages/validator/src/services/validatorStore.ts
    
    Co-authored-by: twoeths <tuyen@chainsafe.io>
    
    * Update packages/validator/src/services/validatorStore.ts
    
    ---------
    
    Co-authored-by: twoeths <tuyen@chainsafe.io>
    Co-authored-by: Cayman <caymannava@gmail.com>
    3 people authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    81b993a View commit details
    Browse the repository at this point in the history
  30. fix: align BeaconBlockBody and BlindedBeaconBlockBody (#6782)

    * fix: align BeaconBlockBody and BlindedBeaconBlockBody
    
    * Remove type hacks in test
    
    ---------
    
    Co-authored-by: Nico Flaig <nflaig@protonmail.com>
    2 people authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    e78ee55 View commit details
    Browse the repository at this point in the history
  31. test: improve ssz tests consistency (#6776)

    * test: improve ssz tests consistency
    
    * chore: address comments
    jeluard authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    fdefed8 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    22a2980 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    29f066b View commit details
    Browse the repository at this point in the history
  34. fix: get seen AttData key from SignedAggregateAndProof electra (#6802)

    * fix: get seen AttData key from SignedAggregateAndProof electra
    
    * chore: revert the naming change to COMMITTEE_BITS_SIZE and add comment
    
    * fix: add toBase64() util
    twoeths authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    65627c1 View commit details
    Browse the repository at this point in the history
  35. test: only skip ssz_static tests associated to missing type (#6798)

    * test: only skip ssz_static tests associated to missing type
    
    * More detailed error message if type is not defined
    nflaig authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    aadd017 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    4ab68ae View commit details
    Browse the repository at this point in the history
  37. feat: add engine_getPayloadBodiesByHash and ByRange V2 (#6852)

    * Add ByHash and ByRange V2
    
    * Fix build issue
    
    * Fix CI error
    ensi321 authored and g11tech committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    03da487 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    2476698 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    4239f72 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. rebase fixes

    chore: fix bls and blst versioning
    
    fix: add ForkName.electra to ForkBlobsInfo
    
    some api header lookup fixes
    
    more api fixes
    
    make the api data safe
    
    Co-authored-by: matthewkeil <me@matthewkeil.com>
    g11tech and matthewkeil committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    4f800e5 View commit details
    Browse the repository at this point in the history