Skip to content

Release 1.8.0 - #5410

Closed
wemeetagain wants to merge 61 commits into
stablefrom
rc/v1.8.0
Closed

Release 1.8.0#5410
wemeetagain wants to merge 61 commits into
stablefrom
rc/v1.8.0

Conversation

@wemeetagain

Copy link
Copy Markdown
Member

No description provided.

nazarhussain and others added 30 commits March 26, 2023 15:28
* Add package skeleton

* Add implementation for the verification

* Update package versions

* Update teh provdier structure to store full execution payload

* Add a test script

* Split the utils to scoped files

* Add multiple web3 providers

* Add a proxy factory method

* Add the CLI for the prover proxy

* Rename few functions to make those consistent

* Add some required unit tests

* Add unit tests

* Add e2e tests

* Fix duplicate Buffer error

* Fix lint error

* Fix lint errors

* Update the lightclient to sync in background

* Validate the execution payload

* Update initWithRest to init

* Update the max limit for the payloads to not cross finalized slot

* Remove the usage for finalizedPayloadHeaders tracking

* Rename update to lcHeader

* Update the code as per feedback

* Fix readme

* Update the payload store logic

* Add the cleanup logic to payload store

* Update the code as per feedback

* Fix few types in the tests

* Move the usage to isForkWithdrawls

* Fix a unit test
…#5313)

* Use finalized state id when no checkpoint provided in checkpoint sync

* add stateid to log
* Limit preaggregating attestations

* preaggregateSlotDistance hidden cli param

* Log debug if error adding SyncCommitteeMessage to pool

* SyncCommitteeMessagePool: return instead of throw error

* Add SyncCommitteeMesssage insertOutcome metric

* Update prune() method header

Co-authored-by: Cayman <caymannava@gmail.com>

---------

Co-authored-by: Cayman <caymannava@gmail.com>
Update release.md with rc patching clarity
)

* Only process attestations if there are connected aggregators

* Track aggregator slot subnet count

* Fix deneb sim test
Monitoring relies on metrics data to work properly and as of now would
throw an error if `--metrics` flag is not supplied. This change implicitly
enables metrics if a monitoring endpoint is configured.

Note: metrics server will only be started if metrics are explicitly enabled
* Add support for the dial only protocols

* Fix the lint errors

* Rename the DuplexProtocolDefinition to ProtocolDefinition

* Fix the build errors

* Fix prettier errors

* Add the js docs for different types
* Add logging support to prover

* Fix lint errors
* Upgrade Typescript 5.0

* Update and fix lint deps

* Update testing related deps

* Fix a linter error
* Add support for eth_getBlockByHash and eth_getBlockByNumber

* Update the eth_getBalance and eth_getTransactionCount to reuse logic

* Update code to improve code reusibility

* Fix lint errors
* Add logging policy

* Update CONTRIBUTING.md

Co-authored-by: Cayman <caymannava@gmail.com>

* Review PR

* Address review

* review PR

---------

Co-authored-by: Cayman <caymannava@gmail.com>
* Update outdated dependencies

* Fix the js-yaml schema issue

* Fix some types issue in the tests

* Fix unit tests

* Fix logger format errors
* Process gossip block immediately

* Process beacon_block_and_blobs_sidecar gossip object immediately

* New WorkOpts type

* Check canAceptWork once per executeWork()
* Handle gossip messages async

* Add comments
* Add computeSigningRoot benchmark test

* Add utilities to extract AttestationData hash from serialized data

* Implement SeenAttestationDatas

* Do not cache state in AttestationDataCacheEntry

* Add memory test

* Fix getGossipDataHashFns()

* Cache signingRoot and attDataRootHex

* Apply SeenAttestationDatas cache to validateGossipAggregateAndProof()

* Cache AttestationDatas of 3 most recent slots

* Unit test SeenAttestationDatas

* chain.attDataCacheSlotDistance cli option

* Type gossip validation functions result

* Use cached attDataRootHex in attestation opPools

* Pass gossip serialized data to gossip validation function

* slight refactor

* Fix MockBeaconChain

* Fix lint in MockBeaconChain

* Fix validateGossipAttestation unit tests

---------

Co-authored-by: Cayman <caymannava@gmail.com>
* Add sszBytes utils

* Unknown Block Root queues

* Use Uint8Array.subarray()

* Merge tuyen/new_gossip_queues

* Avoid forEach pattern

* Process unknown attestations: yield to event loop

* Fix metrics

* Name variable and function as *attDataBase64 everywhere

* Handle invalid serialized data

* Check ssz data length of gossip messages
* Add beacon and sync committee selection APIs

* Implement distributed attestation aggregation selection

* Add partial selection proof to duty object

* Implement distributed sync committee aggregation selection

* Improve err message if not resolved after time of slot

* Log submit selections error if thrown after cutoff slot time

* Throw prepareBeaconCommitteeSubnet errors to log in top-level catch

* Add unit tests for distributed attestation aggregation selection

* Add unit tests for distributed sync committee aggregation selection

* Improve err message when request to selection endpoints fails

* Reference services by class name in comments
twoeths and others added 26 commits April 17, 2023 12:58
…Data (#5363)

* Add ssz bytes util to extract aggregationBits from Attestation

* Add getSignatureFromAttestationSerialized sszBytes util

* Do not always deserialize attestation, use cached AttestationData instead

* Reuse parsed attestation slot for attestation gossip messages

* Fix onPendingGossipsubMessage: set msgSlot for beacon_attestation message

* Fix gossip e2e tests

* Reject gossip message if invalid ssz data

* Log rejected gossip messages
* Update yargs to v17

* Fix linter errors

* Fix e2e test

* Upgrade yargs to latest version

* Fix build error

* Update the prover cli

* Fix the e2e test

---------

Co-authored-by: Nazar Hussain <nazarhussain@gmail.com>
* Upgrade lerna to lerna 6

* Make lerna compatible to legacy runner

* Remove lerna obsolete options

* Update the package with optional dependency

* Revert "Update the package with optional dependency"

This reverts commit 99dde2b.

* Remove the usage of --ignore-optional from ci scritps
Replaced by "Logging policy" section added in #5299
* Add eth_getCode support for the prover

* Move some functions to a utility file

* Add more unit tests

* Add unit test for getCode

* Cleanup fixture files

* Update the tsconfig
Adds CLI flag `--presetFile` which invokes `setActivePreset` with
custom values from file to override values of the active preset.
* Correctly override the active preset

* Add beacon preset types to filter out extraneous keys

* Verify that preset values in activePreset are overridden

* Convert BeaconPreset to type and rename file

* Add jsdoc to BeaconPreset
* Decrypt keystores in a thread pool

* Add tests

* Add logs

* Transfer secret ArrayBuffer back to the main thread

* fix progress log

* rename 'force' to 'ignoreLockFile'

* remove unused force param

* Fix keystore cache issue

* Use higher job concurrency

* Revert "Use higher job concurrency"

This reverts commit a42fddd.

* Explicitly assign args when calling decryptKeystoreDefinitions

* Apply suggestions from code review

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* Address PR comments

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* Add execution blockNumber to the notifier log

* update

* compress the log

* fix typo

* add sync log guide

* update as per feedback
* Update fastify.listen() method invocations

* Remove unnecessary FastifyError type casts
* Add GossipErrorCode.PAST_SLOT

* Add getSlotFromSignedBeaconBlockSerialized() util

* DOS protection: avoid processing messages that are too old
* Add --nat flag

* Fix unit test
Only call getBlockSlotState() if necessary
fix: prioritize voluntary_exit and bls_to_execution_change
* Add conventional commit PR title checker

* Address PR comments
@wemeetagain wemeetagain closed this May 1, 2023
@wemeetagain
wemeetagain deleted the rc/v1.8.0 branch May 1, 2023 14:53
ensi321 added a commit that referenced this pull request Jul 9, 2026
Match spec-tests v1.7.0-alpha.11, where the IL bitlist was removed from
the bid (consensus-specs #5371). It is re-added post-alpha.11 (#5410);
that change will land on the alpha.12 branch instead.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ensi321 added a commit that referenced this pull request Jul 9, 2026
This reverts commit bdafb91.

inclusion_list_bits is re-added to the bid post-alpha.11 (consensus-specs
#5410), so removing it was a regression against the latest spec. Add the
Bitvector[INCLUSION_LIST_COMMITTEE_SIZE] field back and wait for the
alpha.12 spec-tests, where the field is present again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

9 participants