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: placeholder PR for electra #6352

Draft
wants to merge 48 commits into
base: unstable
Choose a base branch
from
Draft

feat: placeholder PR for electra #6352

wants to merge 48 commits into from

Commits on May 24, 2024

  1. feat: placeholder PR for electra

    add types stub and epoch config
    
    fix types
    g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    b9ef19d View commit details
    Browse the repository at this point in the history
  2. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    06d5344 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    452cc19 View commit details
    Browse the repository at this point in the history
  4. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    851b7c9 View commit details
    Browse the repository at this point in the history
  5. chore: update spec test version for electra fork (#6717)

    * Update spec-test version
    
    * Skip electra
    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    2c8a2e6 View commit details
    Browse the repository at this point in the history
  6. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    0e67967 View commit details
    Browse the repository at this point in the history
  7. chore: fix the rebase build (#6735)

    * chore: fix the rebase build
    
    * fix test
    g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    95f954f View commit details
    Browse the repository at this point in the history
  8. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    e54ea93 View commit details
    Browse the repository at this point in the history
  9. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    10a0c7f View commit details
    Browse the repository at this point in the history
  10. feat: beacon node process electra attestations EIP-7549 (#6738)

    * Process attestations in block
    
    * Fix check-types
    
    * Address comments
    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    f177dc0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fe8ebcf View commit details
    Browse the repository at this point in the history
  12. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    a71ded5 View commit details
    Browse the repository at this point in the history
  13. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    d5214c0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7e894c0 View commit details
    Browse the repository at this point in the history
  15. feat: rename deposit receipt to deposit request for Pectra (#6748)

    * Rename receipt to request
    
    * Remove stats.html
    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    7f3ee33 View commit details
    Browse the repository at this point in the history
  16. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    03d39bb View commit details
    Browse the repository at this point in the history
  17. fix: fix e2e test in electra-fork (#6751)

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

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

    fix: get signature for SignedAggregateAndProof based on fork
    twoeths authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    cea9dca View commit details
    Browse the repository at this point in the history
  21. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    9f042b6 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ba5b3cf View commit details
    Browse the repository at this point in the history
  23. chore: fix types and lint (#6750)

    * chore: fix types and lint
    
    * fx
    
    * type and lint fix
    g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    932571a View commit details
    Browse the repository at this point in the history
  24. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    9e9e3cf View commit details
    Browse the repository at this point in the history
  25. feat: support missing electra spec test (#6765)

    Add spec test
    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    cc7afd7 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    69e0a27 View commit details
    Browse the repository at this point in the history
  27. chore: update EffectiveBalanceIncrements type (#6763)

    * chore: update EffectiveBalanceIncrements type
    
    * chore: remove now irrelevant tests
    jeluard authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    5b527c4 View commit details
    Browse the repository at this point in the history
  28. Fix ssz_static

    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    d5f3b8c View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    d7c9321 View commit details
    Browse the repository at this point in the history
  30. fix: additional epoch calculation logic for consolidation churn (#6770)

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

    * fix: electra fork transition
    
    * fix: merge issue
    
    * chore: remove unwanted change
    twoeths authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    70a59b0 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    8bf5bf1 View commit details
    Browse the repository at this point in the history
  33. chore(spec): remove the skip specs for electra (#6772)

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

    Use mutable validator object
    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    b747b75 View commit details
    Browse the repository at this point in the history
  35. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    03658fd View commit details
    Browse the repository at this point in the history
  36. fix: effective balance cache is not in sync with validator effective …

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

    fix lint and check-types
    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    796213c View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    563e77a View commit details
    Browse the repository at this point in the history
  39. fix: publish attestations with non-zero committee index (#6790)

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

    )
    
    Skip render summary at epoch 0
    ensi321 authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    6eecd2b View commit details
    Browse the repository at this point in the history
  41. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    a66b18e View commit details
    Browse the repository at this point in the history
  42. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    117568c View commit details
    Browse the repository at this point in the history
  43. test: improve ssz tests consistency (#6776)

    * test: improve ssz tests consistency
    
    * chore: address comments
    jeluard authored and g11tech committed May 24, 2024
    Configuration menu
    Copy the full SHA
    ed0dbe9 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    4aba3b0 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    83a0ac9 View commit details
    Browse the repository at this point in the history
  46. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    d029cf7 View commit details
    Browse the repository at this point in the history
  47. 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 May 24, 2024
    Configuration menu
    Copy the full SHA
    0aa0a4d View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Configuration menu
    Copy the full SHA
    6471eea View commit details
    Browse the repository at this point in the history