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

chore: release 1.9.0 #5631

Merged
merged 154 commits into from
Jun 22, 2023
Merged

chore: release 1.9.0 #5631

merged 154 commits into from
Jun 22, 2023

Conversation

wemeetagain
Copy link
Member

No description provided.

dapplion and others added 30 commits May 1, 2023 15:08
Move network core metrics to separate file

Co-authored-by: Cayman <caymannava@gmail.com>
* Generalize clock for network thread

* Move clock events to clock

---------

Co-authored-by: Cayman <caymannava@gmail.com>
refactor!: use StatusCache in PeerManager
* Update reqresp to support only binary handler

* Convert beacon-node reqresp to support only binary handlers

* Update the beacon-reqresp and tests

* Update the readme

* Fix lint errors

* Increase the genesis delay to fix slow startup of nodes

* Fix the table reporter

* Fix a type issue

* Update the table reporter

* Fix el log file name

* Update the metadata response to support fork digest

* Update context bytes for v1,v2 protocols

* Update beacon metadata response

* Add more test fixtures

* Add protocol version to log for debugging

* Update the metadata response format

* Remove unncessary comments

* Debug logger

* Fix the sim log reporter

* Revert the genesis slot delay

* Fix e2e test types

* Fix e2e tests

* Update structure of handler

* Update the beacon-node handlers

* Fix linter errors

* Fix readme file

* Fix prettier warnings

* Review PR

* Fix lib import

* Update readme example

* Use Version enum

* Simplify MetadataController

* Add ReqResp interop test

* Add INVALID_RESPONSE_SSZ

* Review PR

---------

Co-authored-by: dapplion <35266934+dapplion@users.noreply.github.com>
Drop unused coreTopicsAtFork
Move getNetworkIdentity to network class
refactor: add gossip publisher module

Co-authored-by: dapplion <35266934+dapplion@users.noreply.github.com>
fix: Update builder mergemock sim with builder block assertions
* feat: block network processor if processing current slot block

* fix: remove default maxGossipTopicConcurrency value

* fix: move isProcessingCurrentSlotBlock to network processor
…5437)

* Filter by min-max key when loading pubkeys from db

* Explicitly pass bucket id to filter options
)

Epochs array might have more than ~10^5 elements, cannot use `Math.min`
as it would throw `RangeError: Maximum call stack size exceeded`.
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.4.0 to 1.10.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add WithType types

* feat: process gossip blocks with serializedData

* chore: add metrics
* Check for `ApiError` instead of `HttpError` to determine if node is syncing

* Log as warning if VC can't fulfill duties due to syncing node
…o allow optimistic sync in future (#5178)

Move blob data availability and validation context out from state transition

  rebase fixes

  retain dataAvailabilityStatus flag in state transition

  reduce diff

  correctly propogate availability status while block processing
* refactor!: simplify discv5 initialization

* chore: address PR comments

* chore: more simplification

* chore: fix unit test
* Remove fastify as peer dep from api package

* Ensure fastify is only used as type

* Remove c-kzg as peer dep from beacon-node package

* Update reqresp libp2p version to match beacon-node version
* Add note in CONTRIBUTING about external test deps

* Update CONTRIBUTING.md

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

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* feat: add support for `justified` block id

* fix: use hot db instead of archive db

* fix: apply correct execution optimistic flag
* Export slashing protection as interchange format v5

* Add flag to only export for a given subset of pubkeys

* Align voluntary-exit pubkeys description with slashing-protection export

* Log successful export as info message

* Better align import/export slashing protection logs
…iles (#5479)

* chore: refactor network/score files

* chore: add IPeerScore and RealScore as default impl
…5483)

refactor: update the execution api responses to decouple blob spec
* feat: add disablePeerScoring flag and MaxScore

* fix: return MAX_SCORE for MaxScore impl
g11tech and others added 21 commits June 13, 2023 07:58
feat: update spec tests target to v1.4.0-alpha.3
* refactor: class BeaconDb as close only

* Improve naming consistency

* Set to started by default to ensure close is always done

* Remove duplicate get

* Remaining refactoring

* More refactoring

* Fix slashing protection interchange tests

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* feat: write network thread profile

* fix: persist .cpuprofile file

* fix: disconnect inspector session

* feat: support dirpath and refactor

* chore: fix lint in api

* feat: specify duration for the api

* chore: fix check-types in beacon-node
Match beacon APIs URL casing
* fix: correct slot and index in getEpochCommittees response

* Add e2e test for getEpochCommittees api

* Add tests to check filtering by slot and index

* Use slot and index != 0 to test filtering

* Reduce timeout of tests
* Utilize batch request to improve performance

* Expose api from the provider for flexible use

* Verify the execution compatibility in start

* Add support for request timeout on proxy

* Improve the e2e tests

* Fix browser bundling issue

* Fix a batch request issue

* Fix the code with feedback
* fix: ignore finalized when processing downloaded unknown block

* chore: add unit test
* fix: handle downloaded blocks only

* chore: add unit test

* chore: fix comment
* Remove lerna from prerequisites

* Replace lerna commands with yarn
…5618)

* refactor: remove intermediary not-started state from peer discovery

* Fix tests

---------

Co-authored-by: Cayman <caymannava@gmail.com>
* feat: update kzg to the latest decoupled and bigendian version

* fix loading
…5654)

* fix: unknown block sync to subscribe/unsubscribe to network events

* fix: UnknownBlockSync sim test

* fix: correct the condition to subscribe unknownBlock to network
@twoeths
Copy link
Contributor

twoeths commented Jun 19, 2023

@wemeetagain I just did a force push for v1.9.0-rc.3

@twoeths
Copy link
Contributor

twoeths commented Jun 22, 2023

this is result of 3 day testing on a real mainnet node.

  • Less dropped attestations
Screenshot 2023-06-22 at 08 37 33
  • while there are the same received RPCs (meaning same mesh peers)
Screenshot 2023-06-22 at 08 38 20
  • Gossip Block Received/Processed time is the same
Screenshot 2023-06-22 at 08 39 41
  • rss is the same
Screenshot 2023-06-22 at 08 41 03
  • while cpu is 60% higher (could be because we process more attestations)
Screenshot 2023-06-22 at 08 41 25
  • other metrics are the same to v1.8.0 (Peer Stats, Req/Resp)
  • Update on Jun 23: submitPoolAttestations api is higher since v1.9.0
Screenshot 2023-06-23 at 05 34 36

@twoeths twoeths marked this pull request as ready for review June 22, 2023 02:01
@twoeths twoeths merged commit 1cdf098 into stable Jun 22, 2023
@twoeths twoeths deleted the rc/v1.9.0 branch June 22, 2023 02:04
@wemeetagain
Copy link
Member Author

🎉 This PR is included in v1.9.0 🎉

@twoeths
Copy link
Contributor

twoeths commented Jun 27, 2023

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.