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

Benchmark initial sync #3995

Merged
merged 8 commits into from
May 13, 2022
Merged

Benchmark initial sync #3995

merged 8 commits into from
May 13, 2022

Conversation

dapplion
Copy link
Contributor

Motivation

Track current initial sync speed in CI before applying #3989

Description

  • Add range sync perf test (verify + import 31 blocks)

@dapplion dapplion requested a review from a team as a code owner May 10, 2022 07:59
@codecov
Copy link

codecov bot commented May 10, 2022

Codecov Report

Merging #3995 (87a9cec) into master (2ed2e03) will decrease coverage by 0.02%.
The diff coverage is n/a.

❗ Current head 87a9cec differs from pull request most recent head bf97301. Consider uploading reports for the commit bf97301 to get more accurate results

@@            Coverage Diff             @@
##           master    #3995      +/-   ##
==========================================
- Coverage   36.83%   36.80%   -0.03%     
==========================================
  Files         324      325       +1     
  Lines        9187     9199      +12     
  Branches     1494     1496       +2     
==========================================
+ Hits         3384     3386       +2     
- Misses       5612     5622      +10     
  Partials      191      191              

@dapplion dapplion changed the title Dapplion/benchmark initial sync Benchmark initial sync May 10, 2022
@dapplion dapplion force-pushed the dapplion/benchmark-initial-sync branch from e484b24 to 313ff52 Compare May 12, 2022 10:46
@dapplion
Copy link
Contributor Author

Blocked by #4017

@dapplion dapplion closed this May 12, 2022
@dapplion dapplion reopened this May 12, 2022
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 87a9cec Previous: 5c1833d Ratio
BeaconState.hashTreeRoot - No change 546.00 ns/op 564.00 ns/op 0.97
BeaconState.hashTreeRoot - 1 full validator 72.331 us/op 57.105 us/op 1.27
BeaconState.hashTreeRoot - 32 full validator 749.20 us/op 565.13 us/op 1.33
BeaconState.hashTreeRoot - 512 full validator 7.3883 ms/op 6.0036 ms/op 1.23
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 87.598 us/op 69.504 us/op 1.26
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.2668 ms/op 947.67 us/op 1.34
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 16.159 ms/op 12.863 ms/op 1.26
BeaconState.hashTreeRoot - 1 balances 68.900 us/op 52.769 us/op 1.31
BeaconState.hashTreeRoot - 32 balances 612.99 us/op 478.82 us/op 1.28
BeaconState.hashTreeRoot - 512 balances 5.7482 ms/op 4.5344 ms/op 1.27
BeaconState.hashTreeRoot - 250000 balances 123.91 ms/op 101.90 ms/op 1.22
processSlot - 1 slots 12.953 us/op 9.5230 us/op 1.36
processSlot - 32 slots 2.0321 ms/op 1.5878 ms/op 1.28
getCommitteeAssignments - req 1 vs - 250000 vc 5.3174 ms/op 5.2655 ms/op 1.01
getCommitteeAssignments - req 100 vs - 250000 vc 7.3238 ms/op 7.3123 ms/op 1.00
getCommitteeAssignments - req 1000 vs - 250000 vc 8.0503 ms/op 7.8910 ms/op 1.02
computeProposers - vc 250000 20.169 ms/op 16.431 ms/op 1.23
computeEpochShuffling - vc 250000 160.49 ms/op 158.61 ms/op 1.01
getNextSyncCommittee - vc 250000 344.29 ms/op 272.26 ms/op 1.26
altair processAttestation - 250000 vs - 7PWei normalcase 4.5541 ms/op 3.8990 ms/op 1.17
altair processAttestation - 250000 vs - 7PWei worstcase 6.5331 ms/op 5.8173 ms/op 1.12
altair processAttestation - setStatus - 1/6 committees join 238.12 us/op 189.55 us/op 1.26
altair processAttestation - setStatus - 1/3 committees join 421.77 us/op 370.38 us/op 1.14
altair processAttestation - setStatus - 1/2 committees join 572.23 us/op 512.01 us/op 1.12
altair processAttestation - setStatus - 2/3 committees join 764.63 us/op 664.13 us/op 1.15
altair processAttestation - setStatus - 4/5 committees join 1.0748 ms/op 921.48 us/op 1.17
altair processAttestation - setStatus - 100% committees join 1.2524 ms/op 1.0953 ms/op 1.14
altair processBlock - 250000 vs - 7PWei normalcase 28.982 ms/op 25.045 ms/op 1.16
altair processBlock - 250000 vs - 7PWei normalcase hashState 41.189 ms/op 34.072 ms/op 1.21
altair processBlock - 250000 vs - 7PWei worstcase 86.021 ms/op 70.379 ms/op 1.22
altair processBlock - 250000 vs - 7PWei worstcase hashState 115.40 ms/op 107.59 ms/op 1.07
altair processEth1Data - 250000 vs - 7PWei normalcase 917.00 us/op 758.76 us/op 1.21
altair processEpoch - mainnet_e81889 558.09 ms/op 541.96 ms/op 1.03
mainnet_e81889 - altair beforeProcessEpoch 152.98 ms/op 165.13 ms/op 0.93
mainnet_e81889 - altair processJustificationAndFinalization 74.309 us/op 23.946 us/op 3.10
mainnet_e81889 - altair processInactivityUpdates 10.438 ms/op 11.177 ms/op 0.93
mainnet_e81889 - altair processRewardsAndPenalties 150.67 ms/op 78.487 ms/op 1.92
mainnet_e81889 - altair processRegistryUpdates 17.063 us/op 4.3370 us/op 3.93
mainnet_e81889 - altair processSlashings 6.6710 us/op 1.1630 us/op 5.74
mainnet_e81889 - altair processEth1DataReset 6.7380 us/op 1.2320 us/op 5.47
mainnet_e81889 - altair processEffectiveBalanceUpdates 7.5519 ms/op 6.3712 ms/op 1.19
mainnet_e81889 - altair processSlashingsReset 24.655 us/op 6.0580 us/op 4.07
mainnet_e81889 - altair processRandaoMixesReset 27.107 us/op 5.5970 us/op 4.84
mainnet_e81889 - altair processHistoricalRootsUpdate 7.6180 us/op 1.5810 us/op 4.82
mainnet_e81889 - altair processParticipationFlagUpdates 16.200 us/op 5.1580 us/op 3.14
mainnet_e81889 - altair processSyncCommitteeUpdates 6.0430 us/op 1.2250 us/op 4.93
mainnet_e81889 - altair afterProcessEpoch 193.04 ms/op 202.70 ms/op 0.95
altair processInactivityUpdates - 250000 normalcase 41.399 ms/op 37.756 ms/op 1.10
altair processInactivityUpdates - 250000 worstcase 34.619 ms/op 29.343 ms/op 1.18
altair processRewardsAndPenalties - 250000 normalcase 140.54 ms/op 122.78 ms/op 1.14
altair processRewardsAndPenalties - 250000 worstcase 88.754 ms/op 110.61 ms/op 0.80
altair processSyncCommitteeUpdates - 250000 349.41 ms/op 280.06 ms/op 1.25
Tree 40 250000 create 916.56 ms/op 623.15 ms/op 1.47
Tree 40 250000 get(125000) 336.12 ns/op 284.74 ns/op 1.18
Tree 40 250000 set(125000) 3.2529 us/op 2.1133 us/op 1.54
Tree 40 250000 toArray() 35.278 ms/op 30.711 ms/op 1.15
Tree 40 250000 iterate all - toArray() + loop 36.282 ms/op 30.302 ms/op 1.20
Tree 40 250000 iterate all - get(i) 128.88 ms/op 108.20 ms/op 1.19
MutableVector 250000 create 19.206 ms/op 13.815 ms/op 1.39
MutableVector 250000 get(125000) 14.032 ns/op 15.007 ns/op 0.94
MutableVector 250000 set(125000) 804.21 ns/op 544.17 ns/op 1.48
MutableVector 250000 toArray() 6.4729 ms/op 6.2638 ms/op 1.03
MutableVector 250000 iterate all - toArray() + loop 6.6585 ms/op 6.5690 ms/op 1.01
MutableVector 250000 iterate all - get(i) 3.4815 ms/op 3.5364 ms/op 0.98
Array 250000 create 6.2227 ms/op 5.6810 ms/op 1.10
Array 250000 clone - spread 3.8156 ms/op 2.4144 ms/op 1.58
Array 250000 get(125000) 1.6600 ns/op 1.1170 ns/op 1.49
Array 250000 set(125000) 1.6650 ns/op 1.1540 ns/op 1.44
Array 250000 iterate all - loop 140.22 us/op 167.97 us/op 0.83
effectiveBalanceIncrements clone Uint8Array 300000 89.135 us/op 79.370 us/op 1.12
effectiveBalanceIncrements clone MutableVector 300000 1.3160 us/op 751.00 ns/op 1.75
effectiveBalanceIncrements rw all Uint8Array 300000 184.21 us/op 301.74 us/op 0.61
effectiveBalanceIncrements rw all MutableVector 300000 257.76 ms/op 170.79 ms/op 1.51
aggregationBits - 2048 els - zipIndexesInBitList 38.907 us/op 27.280 us/op 1.43
regular array get 100000 times 55.696 us/op 67.448 us/op 0.83
wrappedArray get 100000 times 55.842 us/op 67.401 us/op 0.83
arrayWithProxy get 100000 times 34.500 ms/op 30.160 ms/op 1.14
ssz.Root.equals 571.00 ns/op 478.00 ns/op 1.19
byteArrayEquals 523.00 ns/op 459.00 ns/op 1.14
phase0 processBlock - 250000 vs - 7PWei normalcase 4.3695 ms/op 3.4597 ms/op 1.26
phase0 processBlock - 250000 vs - 7PWei worstcase 57.368 ms/op 45.820 ms/op 1.25
phase0 afterProcessEpoch - 250000 vs - 7PWei 179.55 ms/op 193.48 ms/op 0.93
phase0 beforeProcessEpoch - 250000 vs - 7PWei 82.997 ms/op 69.685 ms/op 1.19
phase0 processEpoch - mainnet_e58758 572.98 ms/op 511.79 ms/op 1.12
mainnet_e58758 - phase0 beforeProcessEpoch 267.64 ms/op 218.30 ms/op 1.23
mainnet_e58758 - phase0 processJustificationAndFinalization 67.649 us/op 27.315 us/op 2.48
mainnet_e58758 - phase0 processRewardsAndPenalties 153.33 ms/op 132.89 ms/op 1.15
mainnet_e58758 - phase0 processRegistryUpdates 34.898 us/op 10.624 us/op 3.28
mainnet_e58758 - phase0 processSlashings 6.4820 us/op 1.2180 us/op 5.32
mainnet_e58758 - phase0 processEth1DataReset 5.9820 us/op 1.0750 us/op 5.56
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 6.9925 ms/op 5.9212 ms/op 1.18
mainnet_e58758 - phase0 processSlashingsReset 22.229 us/op 6.7060 us/op 3.31
mainnet_e58758 - phase0 processRandaoMixesReset 25.603 us/op 7.0450 us/op 3.63
mainnet_e58758 - phase0 processHistoricalRootsUpdate 8.3060 us/op 1.4760 us/op 5.63
mainnet_e58758 - phase0 processParticipationRecordUpdates 24.844 us/op 5.2740 us/op 4.71
mainnet_e58758 - phase0 afterProcessEpoch 158.52 ms/op 144.33 ms/op 1.10
phase0 processEffectiveBalanceUpdates - 250000 normalcase 6.9363 ms/op 6.3779 ms/op 1.09
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 7.4949 ms/op 6.7319 ms/op 1.11
phase0 processRegistryUpdates - 250000 normalcase 28.887 us/op 9.2290 us/op 3.13
phase0 processRegistryUpdates - 250000 badcase_full_deposits 510.25 us/op 363.07 us/op 1.41
phase0 processRegistryUpdates - 250000 worstcase 0.5 241.70 ms/op 204.73 ms/op 1.18
phase0 getAttestationDeltas - 250000 normalcase 17.849 ms/op 15.099 ms/op 1.18
phase0 getAttestationDeltas - 250000 worstcase 16.210 ms/op 15.230 ms/op 1.06
phase0 processSlashings - 250000 worstcase 6.8498 ms/op 5.4464 ms/op 1.26
shuffle list - 16384 els 11.246 ms/op 10.664 ms/op 1.05
shuffle list - 250000 els 153.81 ms/op 153.56 ms/op 1.00
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 368.34 us/op 475.62 us/op 0.77
pass gossip attestations to forkchoice per slot 4.0316 ms/op 3.4400 ms/op 1.17
computeDeltas 3.7411 ms/op 3.5377 ms/op 1.06
computeProposerBoostScoreFromBalances 472.02 us/op 502.76 us/op 0.94
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.6166 ms/op 2.0919 ms/op 1.25
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 89.594 us/op 78.444 us/op 1.14
BLS verify - blst-native 2.2053 ms/op 1.8627 ms/op 1.18
BLS verifyMultipleSignatures 3 - blst-native 4.5392 ms/op 3.8027 ms/op 1.19
BLS verifyMultipleSignatures 8 - blst-native 9.5074 ms/op 8.1875 ms/op 1.16
BLS verifyMultipleSignatures 32 - blst-native 37.425 ms/op 29.670 ms/op 1.26
BLS aggregatePubkeys 32 - blst-native 45.276 us/op 40.408 us/op 1.12
BLS aggregatePubkeys 128 - blst-native 181.29 us/op 156.50 us/op 1.16
getAttestationsForBlock 65.699 ms/op 59.436 ms/op 1.11
CheckpointStateCache - add get delete 13.400 us/op 10.804 us/op 1.24
validate gossip signedAggregateAndProof - struct 4.9723 ms/op 4.2879 ms/op 1.16
validate gossip attestation - struct 2.3730 ms/op 2.0316 ms/op 1.17
altair verifyImport mainnet_s3766816:31 7.2537 s/op
pickEth1Vote - no votes 2.5674 ms/op 2.2815 ms/op 1.13
pickEth1Vote - max votes 30.113 ms/op 19.376 ms/op 1.55
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.098 ms/op 10.956 ms/op 1.29
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 26.095 ms/op 21.347 ms/op 1.22
pickEth1Vote - Eth1Data fastSerialize value x2048 1.9614 ms/op 1.6080 ms/op 1.22
pickEth1Vote - Eth1Data fastSerialize tree x2048 21.765 ms/op 12.987 ms/op 1.68
bytes32 toHexString 1.2220 us/op 962.00 ns/op 1.27
bytes32 Buffer.toString(hex) 814.00 ns/op 672.00 ns/op 1.21
bytes32 Buffer.toString(hex) from Uint8Array 1.0510 us/op 890.00 ns/op 1.18
bytes32 Buffer.toString(hex) + 0x 778.00 ns/op 684.00 ns/op 1.14
Object access 1 prop 0.39900 ns/op 0.33000 ns/op 1.21
Map access 1 prop 0.34500 ns/op 0.28500 ns/op 1.21
Object get x1000 15.754 ns/op 17.882 ns/op 0.88
Map get x1000 1.0440 ns/op 0.97400 ns/op 1.07
Object set x1000 110.94 ns/op 109.22 ns/op 1.02
Map set x1000 83.088 ns/op 68.301 ns/op 1.22
Return object 10000 times 0.44000 ns/op 0.36840 ns/op 1.19
Throw Error 10000 times 7.4783 us/op 5.8243 us/op 1.28
enrSubnets - fastDeserialize 64 bits 3.3730 us/op 2.5720 us/op 1.31
enrSubnets - ssz BitVector 64 bits 1.0080 us/op 763.00 ns/op 1.32
enrSubnets - fastDeserialize 4 bits 481.00 ns/op 411.00 ns/op 1.17
enrSubnets - ssz BitVector 4 bits 1.0080 us/op 762.00 ns/op 1.32
prioritizePeers score -10:0 att 32-0.1 sync 2-0 113.06 us/op 89.197 us/op 1.27
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 150.70 us/op 123.32 us/op 1.22
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 267.44 us/op 219.87 us/op 1.22
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 578.02 us/op 429.02 us/op 1.35
prioritizePeers score 0:0 att 64-1 sync 4-1 523.09 us/op 459.62 us/op 1.14
RateTracker 1000000 limit, 1 obj count per request 190.71 ns/op 178.64 ns/op 1.07
RateTracker 1000000 limit, 2 obj count per request 145.36 ns/op 132.56 ns/op 1.10
RateTracker 1000000 limit, 4 obj count per request 116.75 ns/op 110.44 ns/op 1.06
RateTracker 1000000 limit, 8 obj count per request 111.17 ns/op 98.901 ns/op 1.12
RateTracker with prune 5.1540 us/op 3.8390 us/op 1.34
array of 16000 items push then shift 5.0145 us/op 3.1199 us/op 1.61
LinkedList of 16000 items push then shift 26.116 ns/op 15.948 ns/op 1.64
array of 16000 items push then pop 259.54 ns/op 205.91 ns/op 1.26
LinkedList of 16000 items push then pop 23.317 ns/op 15.134 ns/op 1.54
array of 24000 items push then shift 7.7172 us/op 4.5530 us/op 1.69
LinkedList of 24000 items push then shift 27.540 ns/op 19.360 ns/op 1.42
array of 24000 items push then pop 252.60 ns/op 196.02 ns/op 1.29
LinkedList of 24000 items push then pop 24.457 ns/op 16.636 ns/op 1.47

by benchmarkbot/action

@dapplion dapplion marked this pull request as ready for review May 13, 2022 11:12
@dapplion
Copy link
Contributor Author

dapplion commented May 13, 2022

Circumvented #4017 by uploading the tests files to a Github repo's release page. This is a temporary solution to unstuck this PR.

const TEST_FILES_BASE_URL = "https://github.com/dapplion/ethereum-consensus-test-data/releases/download/v0.1.0";

@dapplion dapplion merged commit d7acdcf into master May 13, 2022
@dapplion dapplion deleted the dapplion/benchmark-initial-sync branch May 13, 2022 11:23
@dapplion dapplion mentioned this pull request May 13, 2022
3 tasks
dapplion added a commit that referenced this pull request May 30, 2022
* New metric filtering missed blocks (#3927)

* Log block delay second

* Add elappsedTimeTillBecomeHead metric

* Add 'till become head' metric to dashboard

* chore: correct the metric name to elapsedTimeTillBecomeHead

* Add and use secFromSlot to clock

* Track block source

* Revert "Track block source"

This reverts commit 5fe6220.

* Update bucket values

* Limit how old blocks are tracked in elapsedTimeTillBecomeHead

* Simplify secFromSlot

Co-authored-by: dapplion <35266934+dapplion@users.noreply.github.com>

* Fix the terminal validations of the merge block (#3984)

* Fix the terminal validations of the merge block

* activate merge transition block spec tests

* some comments to explain the merge block validations movement

* Extend error messages when voluntary exit errors because of present of lockfile (#3935)

* Extend error and Clean up

* Only showing the message to use --force to override in case of voluntary exit

* Simplify gitData and version guessing (#3992)

Don't print double slash in version string

Dont add git-data.json to NPM releases

Write git-data.json only in from source docker build

Remove numCommits

Test git-data.json generation from within the test

Move comment

Revert "Dont add git-data.json to NPM releases"

This reverts commit 5fe2d38.

Simplify gitData and version guessing

Run cmd

* Activate ex-ante fork-choice spec tests (#4003)

* Prepare custom version on next release (#3990)

* Prepare custom version on next release

* Test in branch

* Don't set version in advance

* Remove --canary flag

* Change and commit version

* Setup git config

* Revert temp changes

* Lightclient e2e: increase validator client (#4006)

* Bump to v0.37.0 nightly builds (#4013)

* Guarantee full spec tests coverage (#4012)

* Ensure all spec tests are run

* Fix general bls tests

* Improve docs of specTestIterator

* Fix fork_choice tests

* Remove Check spec tests step

* Add merge transition/finalization banners (#3963)

* Add merge transition/finalization banners

* fix signatures

* Benchmark initial sync (#3995)

* Basic range sync perf test

* Benchmark initial sync

* Add INFURA_ETH2_CREDENTIALS to benchmark GA

* Download test cache file from alternative source

* Re-org beforeValue and testCase helpers

* Break light-client - state-transition test dependency

* Revert adding downloadTestCacheFile

* Download files from a Github release

* Clarify #3977 with unbounded uint issue (#4018)

* Update mainnet-shadow-5 configs (#4021)

* Bump moment from 2.29.1 to 2.29.2 (#3901)

Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](moment/moment@2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Implement support for validator next-epoch proposer duties (#3782)

* Implementation to be able to get block proposer an epoch ahead - still need optimization

* revert changes made to waitForSlot

* caching the results of computing future proposers. Also extended test

* using effectiveBalanceIncrements from state instead of recomputing it

* fix lint errors

* revert check not needed in getBeaconProposer

* Update tests to include assertion messages

* Move caching of next proposer duties to BeaconChain class

* Delete the block proposer previously cached when next proposer was requested at current epoch

* moved next epoch proposers from the chain to the state

* Compute next proposer on demand and cache

* Fix lint errors

* update implementation to work with changes from master

* caching epoch seed in context so that getNextEpochBeaconProposer can be independent of state

* Revert "caching epoch seed in context so that getNextEpochBeaconProposer can be independent of state"

This reverts commit 02a722a.

* caching epoch seed in context so that getNextEpochBeaconProposer can be independent of state

* removing the need to delete from nextEpochProposers in call to getBeaconProposer

* no need to recompute currrentProposerSeed again

* Revert "no need to recompute currrentProposerSeed again"

This reverts commit b6b1b8c.

* removed empty file left after fixing merge conflicts

* remove some unnecessary variable from the epoch context.

* add some comments

* Fix lint

* import from the right location

* Review PR

* Merge imports

* Delete get proposers api impl test

* Remove duplicated comment

Co-authored-by: dapplion <35266934+dapplion@users.noreply.github.com>

* Extend timeout for gitData unit test (#4026)

* Fix readAndGetGitData (#4025)

* Ensure light client update is in a single period (#4029)

* Handle merge block fetch error (#4016)

* Handle merge block fetch error

* Log errors on fetch errors for terminal pow

* docs: Update nodeJS minimum requirement (#4037)

* Remove child_process call in gitData before step (#4033)

* Oppool aggregates use BitArray only for set logic (#4034)

* Use BitArrays for aggregate merging

* Test intersectUint8Arrays

* Review PR

* Update tests

* Remove un-used code

* Modify gossipsub params following consensus spec v1.1.10 (#4011)

* Modify gossipsub params following consensus spec v1.1.10

* Specify GOSSIPSUB_HEARTBEAT_INTERVAL as a constant

* Throw a more informative error on invalid keystore (#4022)

* Throw a more informative error on invalid keystore

* Make error more descriptive

* Use template string

* Update keys.ts

* Update keys.ts

Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>

* Ignore gossip AggregateAndProof if aggregate is seen (#4019)

* Ignore gossip AggregateAndProof if aggregate is seen

* Check for non-strict superset of seen attestation data

* Fix validateGossipAggregateAndProof benchmark test

* Fix import

* Ultilize intersectUint8Arrays()

* Implement SeenContributionAndProof.participantsKnown

* Add metrics to seen cache

* Add perf tests

* Change method name to isSuperSetOrEqual()

* Refactor metric names

* Specify lerna exact version for release-nightly workflow (#4049)

* Add ropsten network (#4051)

* Force all packages to be versioned for exact (#4052)

* Update discv5 to v0.7.1 (#4044)

* Add ability to update the fee recipient for execution via beacon and/or validator defaults (#3958)

* Add and use a default fee recipient for a validator process

* transfer the proposer cache to beacon chain

* mock chain fixes

* test and perf fixes

* fee recipient validation change

* track and use free recipient as string instead of ExecutionAddress

* fix unit test

* fix merge test

* use dummy address

* refac and add proposer cache pruning

* tests for beacon proposer cache

* merge interop fee recipient check

* fix the optional

* feeRecipient confirmation and small refac

* add the missing map

* add flag to enable strict fee recipient check

* Small refactor to setup merge for ropsten using baked in configs (#4053)

* Issue advance fcU for builing the EL block (#3965)

rebaseing to the refactored prepare beacon proposer

refac payload id cache as separate class and add pruning

issue payload fcus if synced

rename issueNext.. to maybeIssueNext...

* Simplify release process (#4030)

* Simplify release process

* Remove old postrelease script

* Add lerna version check

* Tweak RELEASE.md

* Add force-publish to lerna version command

* Update the proposer boost percentage to 40% (#4055)

* ESM Support (#3978)

* ESM changes

* Fix root lodestar script

* Fix some linter errors

* trying directly re-exporting under an alias from networks module

* Fix types exports

* Fix more linter errors

* Fix spec test download

* Update bls to 7.1.0

* Fix spec tests

* temp reverting eslint parser option to 10 and disabling the check of .js file extenstion. Should fix lint errors

* temp commented out file-extension-in-import

* Disable readme checks

* Fix check-build

* Fix params e2e tests

* Bump @chainsafe/threads

* Bump bls to v7.1.1

* Add timeouts after node initialization but before sim test run

* Tweak timeouts

* Tweak timeout

* Tweak sim merge timeout

* Tweak sim merge timeout

* Tweak sim merge timeout

* Tweak sim merge timeout

* Add more timeouts

* Add another timeout

* Fix linter errors

* Fix some tests

* Fix some linter errors and spec tests

* Fix benchmarks

* Fix linter errors

* Update each bls dependency

* Tweak timeouts

* Add another timeout

* More timeouts

* Fix bls pool size

* Set root package.json to ESM

* Remove old linter comment

* Revert "Set root package.json to ESM"

This reverts commit 347b0fd.

* Remove stray file (probably old)

* Undo unnecessary diff

* Add comment on __dirname replacement

* Import type @chainsafe/bls/types

* Use lodestar path imports

* Revert multifork to lodestar package

* Format .mocharc.yaml

* Use same @chainsafe/as-sha256 version

* Fix lodash path imports

* Use src instead of lib

* Load db metrics

* Remove experimental-specifier-resolution

* Remove lodestat/chain export

* Add stray missing file extension

* Revert ValidatorDir changes

* Fix stray missing file extensions

* Fix check-types

Co-authored-by: Dadepo Aderemi <dadepo@gmail.com>
Co-authored-by: dapplion <35266934+dapplion@users.noreply.github.com>

* chore(release): v0.37.0-beta.0

* Bump to v0.37.0

Co-authored-by: tuyennhv <vutuyen2636@gmail.com>
Co-authored-by: g11tech <76567250+g11tech@users.noreply.github.com>
Co-authored-by: dadepo <dadepo@gmail.com>
Co-authored-by: Cayman <caymannava@gmail.com>
Co-authored-by: Phil Ngo <58080811+philknows@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: g11tech <gajinder@g11.in>
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.

None yet

2 participants