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

Specify lerna exact version for release-nightly workflow #4049

Merged
merged 1 commit into from
May 24, 2022

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented May 24, 2022

Motivation

The generated package.json of lodestar-cli specified semver, and old commit of lodestar packages were picked because npm thought it's newer version

Specifically, we expect "0.37.0-dev.ef9528aa59" but got "0.37.0-dev.fbfae0c4a0" (the previous commit) becaused we specified "@chainsafe/lodestar": "^0.37.0-dev.ef9528aa59" in package.json of lodestar-cli

Description
Use "lerna version --exact" to generate the exact version instead of semver

Closes #4048

@twoeths twoeths requested a review from a team as a code owner May 24, 2022 06:58
@codecov
Copy link

codecov bot commented May 24, 2022

Codecov Report

Merging #4049 (297c00d) into master (ef9528a) will not change coverage.
The diff coverage is n/a.

❗ Current head 297c00d differs from pull request most recent head f6ba50d. Consider uploading reports for the commit f6ba50d to get more accurate results

@@           Coverage Diff           @@
##           master    #4049   +/-   ##
=======================================
  Coverage   36.56%   36.56%           
=======================================
  Files         327      327           
  Lines        9327     9327           
  Branches     1523     1523           
=======================================
  Hits         3410     3410           
  Misses       5726     5726           
  Partials      191      191           

@twoeths twoeths force-pushed the tuyen/fix-nightly-workflow branch from 04cf07d to f6ba50d Compare May 24, 2022 07:12
@github-actions
Copy link
Contributor

github-actions bot commented May 24, 2022

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 297c00d Previous: ef9528a Ratio
BeaconState.hashTreeRoot - No change 363.00 ns/op 436.00 ns/op 0.83
BeaconState.hashTreeRoot - 1 full validator 48.793 us/op 55.305 us/op 0.88
BeaconState.hashTreeRoot - 32 full validator 479.68 us/op 539.37 us/op 0.89
BeaconState.hashTreeRoot - 512 full validator 5.3834 ms/op 5.9457 ms/op 0.91
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 60.542 us/op 69.850 us/op 0.87
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 845.20 us/op 937.85 us/op 0.90
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 12.224 ms/op 12.906 ms/op 0.95
BeaconState.hashTreeRoot - 1 balances 48.510 us/op 53.752 us/op 0.90
BeaconState.hashTreeRoot - 32 balances 412.20 us/op 475.46 us/op 0.87
BeaconState.hashTreeRoot - 512 balances 4.1044 ms/op 4.6151 ms/op 0.89
BeaconState.hashTreeRoot - 250000 balances 88.935 ms/op 103.04 ms/op 0.86
processSlot - 1 slots 9.9240 us/op 10.456 us/op 0.95
processSlot - 32 slots 1.6121 ms/op 1.5972 ms/op 1.01
getCommitteeAssignments - req 1 vs - 250000 vc 4.6669 ms/op 5.2207 ms/op 0.89
getCommitteeAssignments - req 100 vs - 250000 vc 6.5074 ms/op 7.2339 ms/op 0.90
getCommitteeAssignments - req 1000 vs - 250000 vc 6.9601 ms/op 7.7443 ms/op 0.90
computeProposers - vc 250000 16.929 ms/op 16.520 ms/op 1.02
computeEpochShuffling - vc 250000 148.70 ms/op 160.26 ms/op 0.93
getNextSyncCommittee - vc 250000 275.80 ms/op 276.24 ms/op 1.00
altair processAttestation - 250000 vs - 7PWei normalcase 3.6447 ms/op 3.5485 ms/op 1.03
altair processAttestation - 250000 vs - 7PWei worstcase 5.1212 ms/op 5.1355 ms/op 1.00
altair processAttestation - setStatus - 1/6 committees join 187.52 us/op 190.39 us/op 0.98
altair processAttestation - setStatus - 1/3 committees join 364.36 us/op 367.89 us/op 0.99
altair processAttestation - setStatus - 1/2 committees join 456.68 us/op 516.87 us/op 0.88
altair processAttestation - setStatus - 2/3 committees join 589.33 us/op 670.37 us/op 0.88
altair processAttestation - setStatus - 4/5 committees join 921.72 us/op 915.72 us/op 1.01
altair processAttestation - setStatus - 100% committees join 1.0848 ms/op 1.0921 ms/op 0.99
altair processBlock - 250000 vs - 7PWei normalcase 24.896 ms/op 27.379 ms/op 0.91
altair processBlock - 250000 vs - 7PWei normalcase hashState 34.738 ms/op 36.660 ms/op 0.95
altair processBlock - 250000 vs - 7PWei worstcase 72.139 ms/op 78.507 ms/op 0.92
altair processBlock - 250000 vs - 7PWei worstcase hashState 93.126 ms/op 97.721 ms/op 0.95
altair processEth1Data - 250000 vs - 7PWei normalcase 749.57 us/op 925.27 us/op 0.81
altair processEpoch - mainnet_e81889 527.89 ms/op 553.67 ms/op 0.95
mainnet_e81889 - altair beforeProcessEpoch 96.743 ms/op 142.37 ms/op 0.68
mainnet_e81889 - altair processJustificationAndFinalization 21.763 us/op 37.947 us/op 0.57
mainnet_e81889 - altair processInactivityUpdates 10.994 ms/op 10.458 ms/op 1.05
mainnet_e81889 - altair processRewardsAndPenalties 137.46 ms/op 128.04 ms/op 1.07
mainnet_e81889 - altair processRegistryUpdates 3.3780 us/op 5.5050 us/op 0.61
mainnet_e81889 - altair processSlashings 979.00 ns/op 1.4740 us/op 0.66
mainnet_e81889 - altair processEth1DataReset 957.00 ns/op 1.8100 us/op 0.53
mainnet_e81889 - altair processEffectiveBalanceUpdates 7.5509 ms/op 7.1293 ms/op 1.06
mainnet_e81889 - altair processSlashingsReset 4.7240 us/op 9.0340 us/op 0.52
mainnet_e81889 - altair processRandaoMixesReset 5.7380 us/op 9.1760 us/op 0.63
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1910 us/op 2.3140 us/op 0.51
mainnet_e81889 - altair processParticipationFlagUpdates 3.1010 us/op 6.9970 us/op 0.44
mainnet_e81889 - altair processSyncCommitteeUpdates 965.00 ns/op 1.4680 us/op 0.66
mainnet_e81889 - altair afterProcessEpoch 171.13 ms/op 184.43 ms/op 0.93
altair processInactivityUpdates - 250000 normalcase 32.537 ms/op 30.036 ms/op 1.08
altair processInactivityUpdates - 250000 worstcase 26.753 ms/op 24.182 ms/op 1.11
altair processRewardsAndPenalties - 250000 normalcase 119.48 ms/op 118.61 ms/op 1.01
altair processRewardsAndPenalties - 250000 worstcase 76.724 ms/op 75.490 ms/op 1.02
altair processSyncCommitteeUpdates - 250000 262.72 ms/op 284.42 ms/op 0.92
Tree 40 250000 create 778.20 ms/op 759.35 ms/op 1.02
Tree 40 250000 get(125000) 266.65 ns/op 290.94 ns/op 0.92
Tree 40 250000 set(125000) 2.6305 us/op 2.3054 us/op 1.14
Tree 40 250000 toArray() 30.932 ms/op 30.537 ms/op 1.01
Tree 40 250000 iterate all - toArray() + loop 30.856 ms/op 31.296 ms/op 0.99
Tree 40 250000 iterate all - get(i) 103.95 ms/op 111.22 ms/op 0.93
MutableVector 250000 create 17.049 ms/op 14.670 ms/op 1.16
MutableVector 250000 get(125000) 11.556 ns/op 14.754 ns/op 0.78
MutableVector 250000 set(125000) 640.21 ns/op 616.94 ns/op 1.04
MutableVector 250000 toArray() 6.9289 ms/op 7.2864 ms/op 0.95
MutableVector 250000 iterate all - toArray() + loop 7.1807 ms/op 7.3016 ms/op 0.98
MutableVector 250000 iterate all - get(i) 2.9017 ms/op 3.3947 ms/op 0.85
Array 250000 create 6.5558 ms/op 5.7194 ms/op 1.15
Array 250000 clone - spread 3.8131 ms/op 3.5051 ms/op 1.09
Array 250000 get(125000) 1.5870 ns/op 1.5180 ns/op 1.05
Array 250000 set(125000) 1.6170 ns/op 1.5300 ns/op 1.06
Array 250000 iterate all - loop 167.81 us/op 167.82 us/op 1.00
effectiveBalanceIncrements clone Uint8Array 300000 95.085 us/op 78.026 us/op 1.22
effectiveBalanceIncrements clone MutableVector 300000 1.1540 us/op 661.00 ns/op 1.75
effectiveBalanceIncrements rw all Uint8Array 300000 301.76 us/op 301.90 us/op 1.00
effectiveBalanceIncrements rw all MutableVector 300000 218.22 ms/op 163.24 ms/op 1.34
aggregationBits - 2048 els - zipIndexesInBitList 35.068 us/op 26.349 us/op 1.33
regular array get 100000 times 67.387 us/op 67.589 us/op 1.00
wrappedArray get 100000 times 67.463 us/op 67.845 us/op 0.99
arrayWithProxy get 100000 times 29.784 ms/op 33.426 ms/op 0.89
ssz.Root.equals 502.00 ns/op 453.00 ns/op 1.11
byteArrayEquals 493.00 ns/op 424.00 ns/op 1.16
phase0 processBlock - 250000 vs - 7PWei normalcase 3.9986 ms/op 3.4333 ms/op 1.16
phase0 processBlock - 250000 vs - 7PWei worstcase 41.935 ms/op 44.952 ms/op 0.93
phase0 afterProcessEpoch - 250000 vs - 7PWei 160.84 ms/op 175.82 ms/op 0.91
phase0 beforeProcessEpoch - 250000 vs - 7PWei 69.670 ms/op 75.125 ms/op 0.93
phase0 processEpoch - mainnet_e58758 483.70 ms/op 507.39 ms/op 0.95
mainnet_e58758 - phase0 beforeProcessEpoch 223.19 ms/op 217.41 ms/op 1.03
mainnet_e58758 - phase0 processJustificationAndFinalization 20.664 us/op 21.319 us/op 0.97
mainnet_e58758 - phase0 processRewardsAndPenalties 121.38 ms/op 127.65 ms/op 0.95
mainnet_e58758 - phase0 processRegistryUpdates 11.036 us/op 11.655 us/op 0.95
mainnet_e58758 - phase0 processSlashings 1.1180 us/op 1.2340 us/op 0.91
mainnet_e58758 - phase0 processEth1DataReset 937.00 ns/op 1.1020 us/op 0.85
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 5.9928 ms/op 5.6570 ms/op 1.06
mainnet_e58758 - phase0 processSlashingsReset 5.4490 us/op 5.1620 us/op 1.06
mainnet_e58758 - phase0 processRandaoMixesReset 5.4460 us/op 6.2510 us/op 0.87
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.1650 us/op 1.1570 us/op 1.01
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.9560 us/op 5.1070 us/op 1.17
mainnet_e58758 - phase0 afterProcessEpoch 139.70 ms/op 153.88 ms/op 0.91
phase0 processEffectiveBalanceUpdates - 250000 normalcase 6.5127 ms/op 6.2400 ms/op 1.04
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 6.1242 ms/op 6.8384 ms/op 0.90
phase0 processRegistryUpdates - 250000 normalcase 8.3030 us/op 10.321 us/op 0.80
phase0 processRegistryUpdates - 250000 badcase_full_deposits 408.06 us/op 411.23 us/op 0.99
phase0 processRegistryUpdates - 250000 worstcase 0.5 204.34 ms/op 211.74 ms/op 0.97
phase0 getAttestationDeltas - 250000 normalcase 16.868 ms/op 15.798 ms/op 1.07
phase0 getAttestationDeltas - 250000 worstcase 17.267 ms/op 15.612 ms/op 1.11
phase0 processSlashings - 250000 worstcase 6.0251 ms/op 6.0424 ms/op 1.00
shuffle list - 16384 els 9.4715 ms/op 10.702 ms/op 0.88
shuffle list - 250000 els 136.95 ms/op 154.27 ms/op 0.89
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 384.56 us/op 365.58 us/op 1.05
pass gossip attestations to forkchoice per slot 2.9995 ms/op 3.3846 ms/op 0.89
computeDeltas 3.1303 ms/op 3.2918 ms/op 0.95
computeProposerBoostScoreFromBalances 503.18 us/op 503.05 us/op 1.00
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.1572 ms/op 1.8671 ms/op 1.16
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 76.686 us/op 72.485 us/op 1.06
BLS verify - blst-native 1.8604 ms/op 1.8623 ms/op 1.00
BLS verifyMultipleSignatures 3 - blst-native 3.8076 ms/op 3.8101 ms/op 1.00
BLS verifyMultipleSignatures 8 - blst-native 8.1942 ms/op 8.2069 ms/op 1.00
BLS verifyMultipleSignatures 32 - blst-native 29.698 ms/op 29.734 ms/op 1.00
BLS aggregatePubkeys 32 - blst-native 35.100 us/op 39.197 us/op 0.90
BLS aggregatePubkeys 128 - blst-native 135.59 us/op 153.76 us/op 0.88
getAttestationsForBlock 69.161 ms/op 62.921 ms/op 1.10
isKnown best case - 1 super set check 409.00 ns/op 413.00 ns/op 0.99
isKnown normal case - 2 super set checks 396.00 ns/op 401.00 ns/op 0.99
isKnown worse case - 16 super set checks 396.00 ns/op 401.00 ns/op 0.99
CheckpointStateCache - add get delete 9.8800 us/op 10.245 us/op 0.96
validate gossip signedAggregateAndProof - struct 3.7739 ms/op 4.2679 ms/op 0.88
validate gossip attestation - struct 1.7791 ms/op 2.0228 ms/op 0.88
altair verifyImport mainnet_s3766816:31 5.8139 s/op 6.0930 s/op 0.95
pickEth1Vote - no votes 1.9856 ms/op 2.2189 ms/op 0.89
pickEth1Vote - max votes 25.192 ms/op 23.459 ms/op 1.07
pickEth1Vote - Eth1Data hashTreeRoot value x2048 11.760 ms/op 11.438 ms/op 1.03
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.158 ms/op 20.839 ms/op 1.02
pickEth1Vote - Eth1Data fastSerialize value x2048 1.6686 ms/op 1.6149 ms/op 1.03
pickEth1Vote - Eth1Data fastSerialize tree x2048 18.096 ms/op 17.123 ms/op 1.06
bytes32 toHexString 1.0180 us/op 992.00 ns/op 1.03
bytes32 Buffer.toString(hex) 746.00 ns/op 692.00 ns/op 1.08
bytes32 Buffer.toString(hex) from Uint8Array 912.00 ns/op 926.00 ns/op 0.98
bytes32 Buffer.toString(hex) + 0x 582.00 ns/op 695.00 ns/op 0.84
Object access 1 prop 0.28500 ns/op 0.35400 ns/op 0.81
Map access 1 prop 0.25300 ns/op 0.29400 ns/op 0.86
Object get x1000 16.327 ns/op 18.232 ns/op 0.90
Map get x1000 0.85600 ns/op 0.99400 ns/op 0.86
Object set x1000 100.34 ns/op 114.38 ns/op 0.88
Map set x1000 61.605 ns/op 69.870 ns/op 0.88
Return object 10000 times 0.33180 ns/op 0.37450 ns/op 0.89
Throw Error 10000 times 5.1833 us/op 5.8243 us/op 0.89
enrSubnets - fastDeserialize 64 bits 2.2760 us/op 2.9080 us/op 0.78
enrSubnets - ssz BitVector 64 bits 649.00 ns/op 763.00 ns/op 0.85
enrSubnets - fastDeserialize 4 bits 329.00 ns/op 423.00 ns/op 0.78
enrSubnets - ssz BitVector 4 bits 620.00 ns/op 763.00 ns/op 0.81
prioritizePeers score -10:0 att 32-0.1 sync 2-0 78.927 us/op 91.300 us/op 0.86
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 109.86 us/op 123.66 us/op 0.89
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 178.14 us/op 207.09 us/op 0.86
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 378.67 us/op 439.37 us/op 0.86
prioritizePeers score 0:0 att 64-1 sync 4-1 404.76 us/op 456.92 us/op 0.89
RateTracker 1000000 limit, 1 obj count per request 157.93 ns/op 184.67 ns/op 0.86
RateTracker 1000000 limit, 2 obj count per request 119.13 ns/op 137.97 ns/op 0.86
RateTracker 1000000 limit, 4 obj count per request 97.909 ns/op 113.22 ns/op 0.86
RateTracker 1000000 limit, 8 obj count per request 86.022 ns/op 102.17 ns/op 0.84
RateTracker with prune 3.3530 us/op 4.1730 us/op 0.80
array of 16000 items push then shift 2.7656 us/op 3.0811 us/op 0.90
LinkedList of 16000 items push then shift 22.337 ns/op 22.654 ns/op 0.99
array of 16000 items push then pop 216.22 ns/op 232.55 ns/op 0.93
LinkedList of 16000 items push then pop 19.793 ns/op 19.335 ns/op 1.02
array of 24000 items push then shift 4.5618 us/op 4.5559 us/op 1.00
LinkedList of 24000 items push then shift 24.076 ns/op 23.409 ns/op 1.03
array of 24000 items push then pop 187.51 ns/op 187.07 ns/op 1.00
LinkedList of 24000 items push then pop 19.346 ns/op 19.361 ns/op 1.00
intersect bitArray bitLen 8 11.340 ns/op 11.380 ns/op 1.00
intersect array and set length 8 147.12 ns/op 159.80 ns/op 0.92
intersect bitArray bitLen 128 47.355 ns/op 47.305 ns/op 1.00
intersect array and set length 128 2.1188 us/op 2.2031 us/op 0.96

by benchmarkbot/action

@g11tech g11tech merged commit 71024a2 into master May 24, 2022
@g11tech g11tech deleted the tuyen/fix-nightly-workflow branch May 24, 2022 08:12
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>
@dapplion dapplion mentioned this pull request Jul 7, 2022
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.

Nightly build published wrong commit to docker
2 participants