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

Clarify #3977 with unbounded uint issue #4018

Merged
merged 1 commit into from
May 13, 2022

Conversation

dapplion
Copy link
Contributor

Motivation

Clarify #3977 fixes with rationale and better variable naming

Description

  • Use Bigint suffix instead of Bn
  • Add comments with rationale

@dapplion dapplion requested a review from a team as a code owner May 12, 2022 16:05
@codecov
Copy link

codecov bot commented May 12, 2022

Codecov Report

Merging #4018 (4e736ba) into master (2ed2e03) will decrease coverage by 0.02%.
The diff coverage is n/a.

❗ Current head 4e736ba differs from pull request most recent head 7a676c1. Consider uploading reports for the commit 7a676c1 to get more accurate results

@@            Coverage Diff             @@
##           master    #4018      +/-   ##
==========================================
- Coverage   36.83%   36.81%   -0.03%     
==========================================
  Files         324      325       +1     
  Lines        9187     9198      +11     
  Branches     1494     1495       +1     
==========================================
+ Hits         3384     3386       +2     
- Misses       5612     5621       +9     
  Partials      191      191              

@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4e736ba Previous: 5c1833d Ratio
BeaconState.hashTreeRoot - No change 483.00 ns/op 564.00 ns/op 0.86
BeaconState.hashTreeRoot - 1 full validator 58.569 us/op 57.105 us/op 1.03
BeaconState.hashTreeRoot - 32 full validator 554.13 us/op 565.13 us/op 0.98
BeaconState.hashTreeRoot - 512 full validator 6.4634 ms/op 6.0036 ms/op 1.08
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 70.761 us/op 69.504 us/op 1.02
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.0339 ms/op 947.67 us/op 1.09
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 13.802 ms/op 12.863 ms/op 1.07
BeaconState.hashTreeRoot - 1 balances 57.225 us/op 52.769 us/op 1.08
BeaconState.hashTreeRoot - 32 balances 521.46 us/op 478.82 us/op 1.09
BeaconState.hashTreeRoot - 512 balances 5.1634 ms/op 4.5344 ms/op 1.14
BeaconState.hashTreeRoot - 250000 balances 102.65 ms/op 101.90 ms/op 1.01
processSlot - 1 slots 9.8190 us/op 9.5230 us/op 1.03
processSlot - 32 slots 1.7413 ms/op 1.5878 ms/op 1.10
getCommitteeAssignments - req 1 vs - 250000 vc 5.7841 ms/op 5.2655 ms/op 1.10
getCommitteeAssignments - req 100 vs - 250000 vc 8.3212 ms/op 7.3123 ms/op 1.14
getCommitteeAssignments - req 1000 vs - 250000 vc 8.8907 ms/op 7.8910 ms/op 1.13
computeProposers - vc 250000 17.908 ms/op 16.431 ms/op 1.09
computeEpochShuffling - vc 250000 167.20 ms/op 158.61 ms/op 1.05
getNextSyncCommittee - vc 250000 285.40 ms/op 272.26 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei normalcase 3.7924 ms/op 3.8990 ms/op 0.97
altair processAttestation - 250000 vs - 7PWei worstcase 5.7359 ms/op 5.8173 ms/op 0.99
altair processAttestation - setStatus - 1/6 committees join 223.45 us/op 189.55 us/op 1.18
altair processAttestation - setStatus - 1/3 committees join 401.74 us/op 370.38 us/op 1.08
altair processAttestation - setStatus - 1/2 committees join 576.44 us/op 512.01 us/op 1.13
altair processAttestation - setStatus - 2/3 committees join 726.75 us/op 664.13 us/op 1.09
altair processAttestation - setStatus - 4/5 committees join 1.1001 ms/op 921.48 us/op 1.19
altair processAttestation - setStatus - 100% committees join 1.2516 ms/op 1.0953 ms/op 1.14
altair processBlock - 250000 vs - 7PWei normalcase 28.138 ms/op 25.045 ms/op 1.12
altair processBlock - 250000 vs - 7PWei normalcase hashState 38.821 ms/op 34.072 ms/op 1.14
altair processBlock - 250000 vs - 7PWei worstcase 79.326 ms/op 70.379 ms/op 1.13
altair processBlock - 250000 vs - 7PWei worstcase hashState 116.94 ms/op 107.59 ms/op 1.09
altair processEth1Data - 250000 vs - 7PWei normalcase 726.92 us/op 758.76 us/op 0.96
altair processEpoch - mainnet_e81889 606.20 ms/op 541.96 ms/op 1.12
mainnet_e81889 - altair beforeProcessEpoch 175.78 ms/op 165.13 ms/op 1.06
mainnet_e81889 - altair processJustificationAndFinalization 31.133 us/op 23.946 us/op 1.30
mainnet_e81889 - altair processInactivityUpdates 11.793 ms/op 11.177 ms/op 1.06
mainnet_e81889 - altair processRewardsAndPenalties 92.266 ms/op 78.487 ms/op 1.18
mainnet_e81889 - altair processRegistryUpdates 6.6440 us/op 4.3370 us/op 1.53
mainnet_e81889 - altair processSlashings 3.0470 us/op 1.1630 us/op 2.62
mainnet_e81889 - altair processEth1DataReset 2.7250 us/op 1.2320 us/op 2.21
mainnet_e81889 - altair processEffectiveBalanceUpdates 6.8543 ms/op 6.3712 ms/op 1.08
mainnet_e81889 - altair processSlashingsReset 9.6170 us/op 6.0580 us/op 1.59
mainnet_e81889 - altair processRandaoMixesReset 11.350 us/op 5.5970 us/op 2.03
mainnet_e81889 - altair processHistoricalRootsUpdate 3.9990 us/op 1.5810 us/op 2.53
mainnet_e81889 - altair processParticipationFlagUpdates 7.0640 us/op 5.1580 us/op 1.37
mainnet_e81889 - altair processSyncCommitteeUpdates 2.5660 us/op 1.2250 us/op 2.09
mainnet_e81889 - altair afterProcessEpoch 198.50 ms/op 202.70 ms/op 0.98
altair processInactivityUpdates - 250000 normalcase 36.057 ms/op 37.756 ms/op 0.96
altair processInactivityUpdates - 250000 worstcase 31.250 ms/op 29.343 ms/op 1.07
altair processRewardsAndPenalties - 250000 normalcase 89.003 ms/op 122.78 ms/op 0.72
altair processRewardsAndPenalties - 250000 worstcase 85.313 ms/op 110.61 ms/op 0.77
altair processSyncCommitteeUpdates - 250000 302.58 ms/op 280.06 ms/op 1.08
Tree 40 250000 create 751.85 ms/op 623.15 ms/op 1.21
Tree 40 250000 get(125000) 308.07 ns/op 284.74 ns/op 1.08
Tree 40 250000 set(125000) 2.2899 us/op 2.1133 us/op 1.08
Tree 40 250000 toArray() 32.820 ms/op 30.711 ms/op 1.07
Tree 40 250000 iterate all - toArray() + loop 34.482 ms/op 30.302 ms/op 1.14
Tree 40 250000 iterate all - get(i) 118.36 ms/op 108.20 ms/op 1.09
MutableVector 250000 create 18.717 ms/op 13.815 ms/op 1.35
MutableVector 250000 get(125000) 14.299 ns/op 15.007 ns/op 0.95
MutableVector 250000 set(125000) 594.81 ns/op 544.17 ns/op 1.09
MutableVector 250000 toArray() 6.9997 ms/op 6.2638 ms/op 1.12
MutableVector 250000 iterate all - toArray() + loop 6.8639 ms/op 6.5690 ms/op 1.04
MutableVector 250000 iterate all - get(i) 3.8149 ms/op 3.5364 ms/op 1.08
Array 250000 create 5.7911 ms/op 5.6810 ms/op 1.02
Array 250000 clone - spread 2.3932 ms/op 2.4144 ms/op 0.99
Array 250000 get(125000) 0.99300 ns/op 1.1170 ns/op 0.89
Array 250000 set(125000) 0.95200 ns/op 1.1540 ns/op 0.82
Array 250000 iterate all - loop 180.69 us/op 167.97 us/op 1.08
effectiveBalanceIncrements clone Uint8Array 300000 59.606 us/op 79.370 us/op 0.75
effectiveBalanceIncrements clone MutableVector 300000 578.00 ns/op 751.00 ns/op 0.77
effectiveBalanceIncrements rw all Uint8Array 300000 329.21 us/op 301.74 us/op 1.09
effectiveBalanceIncrements rw all MutableVector 300000 154.60 ms/op 170.79 ms/op 0.91
aggregationBits - 2048 els - zipIndexesInBitList 25.502 us/op 27.280 us/op 0.93
regular array get 100000 times 70.218 us/op 67.448 us/op 1.04
wrappedArray get 100000 times 74.284 us/op 67.401 us/op 1.10
arrayWithProxy get 100000 times 35.046 ms/op 30.160 ms/op 1.16
ssz.Root.equals 451.00 ns/op 478.00 ns/op 0.94
byteArrayEquals 453.00 ns/op 459.00 ns/op 0.99
phase0 processBlock - 250000 vs - 7PWei normalcase 3.6889 ms/op 3.4597 ms/op 1.07
phase0 processBlock - 250000 vs - 7PWei worstcase 50.408 ms/op 45.820 ms/op 1.10
phase0 afterProcessEpoch - 250000 vs - 7PWei 187.61 ms/op 193.48 ms/op 0.97
phase0 beforeProcessEpoch - 250000 vs - 7PWei 78.116 ms/op 69.685 ms/op 1.12
phase0 processEpoch - mainnet_e58758 635.46 ms/op 511.79 ms/op 1.24
mainnet_e58758 - phase0 beforeProcessEpoch 200.02 ms/op 218.30 ms/op 0.92
mainnet_e58758 - phase0 processJustificationAndFinalization 30.346 us/op 27.315 us/op 1.11
mainnet_e58758 - phase0 processRewardsAndPenalties 128.08 ms/op 132.89 ms/op 0.96
mainnet_e58758 - phase0 processRegistryUpdates 14.611 us/op 10.624 us/op 1.38
mainnet_e58758 - phase0 processSlashings 2.9950 us/op 1.2180 us/op 2.46
mainnet_e58758 - phase0 processEth1DataReset 2.7670 us/op 1.0750 us/op 2.57
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 5.9912 ms/op 5.9212 ms/op 1.01
mainnet_e58758 - phase0 processSlashingsReset 9.8560 us/op 6.7060 us/op 1.47
mainnet_e58758 - phase0 processRandaoMixesReset 11.711 us/op 7.0450 us/op 1.66
mainnet_e58758 - phase0 processHistoricalRootsUpdate 3.8100 us/op 1.4760 us/op 2.58
mainnet_e58758 - phase0 processParticipationRecordUpdates 9.9460 us/op 5.2740 us/op 1.89
mainnet_e58758 - phase0 afterProcessEpoch 165.41 ms/op 144.33 ms/op 1.15
phase0 processEffectiveBalanceUpdates - 250000 normalcase 6.3541 ms/op 6.3779 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 7.7007 ms/op 6.7319 ms/op 1.14
phase0 processRegistryUpdates - 250000 normalcase 13.971 us/op 9.2290 us/op 1.51
phase0 processRegistryUpdates - 250000 badcase_full_deposits 433.17 us/op 363.07 us/op 1.19
phase0 processRegistryUpdates - 250000 worstcase 0.5 226.92 ms/op 204.73 ms/op 1.11
phase0 getAttestationDeltas - 250000 normalcase 16.847 ms/op 15.099 ms/op 1.12
phase0 getAttestationDeltas - 250000 worstcase 14.315 ms/op 15.230 ms/op 0.94
phase0 processSlashings - 250000 worstcase 5.6992 ms/op 5.4464 ms/op 1.05
shuffle list - 16384 els 11.641 ms/op 10.664 ms/op 1.09
shuffle list - 250000 els 171.14 ms/op 153.56 ms/op 1.11
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 391.45 us/op 475.62 us/op 0.82
pass gossip attestations to forkchoice per slot 3.5796 ms/op 3.4400 ms/op 1.04
computeDeltas 3.5513 ms/op 3.5377 ms/op 1.00
computeProposerBoostScoreFromBalances 536.62 us/op 502.76 us/op 1.07
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.7896 ms/op 2.0919 ms/op 0.86
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 75.169 us/op 78.444 us/op 0.96
BLS verify - blst-native 2.0631 ms/op 1.8627 ms/op 1.11
BLS verifyMultipleSignatures 3 - blst-native 4.0254 ms/op 3.8027 ms/op 1.06
BLS verifyMultipleSignatures 8 - blst-native 8.6202 ms/op 8.1875 ms/op 1.05
BLS verifyMultipleSignatures 32 - blst-native 32.902 ms/op 29.670 ms/op 1.11
BLS aggregatePubkeys 32 - blst-native 40.356 us/op 40.408 us/op 1.00
BLS aggregatePubkeys 128 - blst-native 173.66 us/op 156.50 us/op 1.11
getAttestationsForBlock 59.951 ms/op 59.436 ms/op 1.01
CheckpointStateCache - add get delete 11.296 us/op 10.804 us/op 1.05
validate gossip signedAggregateAndProof - struct 4.2580 ms/op 4.2879 ms/op 0.99
validate gossip attestation - struct 2.2234 ms/op 2.0316 ms/op 1.09
pickEth1Vote - no votes 2.3081 ms/op 2.2815 ms/op 1.01
pickEth1Vote - max votes 18.382 ms/op 19.376 ms/op 0.95
pickEth1Vote - Eth1Data hashTreeRoot value x2048 11.510 ms/op 10.956 ms/op 1.05
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.744 ms/op 21.347 ms/op 0.92
pickEth1Vote - Eth1Data fastSerialize value x2048 1.7722 ms/op 1.6080 ms/op 1.10
pickEth1Vote - Eth1Data fastSerialize tree x2048 12.294 ms/op 12.987 ms/op 0.95
bytes32 toHexString 916.00 ns/op 962.00 ns/op 0.95
bytes32 Buffer.toString(hex) 702.00 ns/op 672.00 ns/op 1.04
bytes32 Buffer.toString(hex) from Uint8Array 880.00 ns/op 890.00 ns/op 0.99
bytes32 Buffer.toString(hex) + 0x 683.00 ns/op 684.00 ns/op 1.00
Object access 1 prop 0.33600 ns/op 0.33000 ns/op 1.02
Map access 1 prop 0.31900 ns/op 0.28500 ns/op 1.12
Object get x1000 18.467 ns/op 17.882 ns/op 1.03
Map get x1000 1.0530 ns/op 0.97400 ns/op 1.08
Object set x1000 105.85 ns/op 109.22 ns/op 0.97
Map set x1000 64.860 ns/op 68.301 ns/op 0.95
Return object 10000 times 0.38480 ns/op 0.36840 ns/op 1.04
Throw Error 10000 times 5.9195 us/op 5.8243 us/op 1.02
enrSubnets - fastDeserialize 64 bits 2.5820 us/op 2.5720 us/op 1.00
enrSubnets - ssz BitVector 64 bits 732.00 ns/op 763.00 ns/op 0.96
enrSubnets - fastDeserialize 4 bits 405.00 ns/op 411.00 ns/op 0.99
enrSubnets - ssz BitVector 4 bits 789.00 ns/op 762.00 ns/op 1.04
prioritizePeers score -10:0 att 32-0.1 sync 2-0 91.043 us/op 89.197 us/op 1.02
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 131.48 us/op 123.32 us/op 1.07
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 208.31 us/op 219.87 us/op 0.95
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 417.88 us/op 429.02 us/op 0.97
prioritizePeers score 0:0 att 64-1 sync 4-1 489.04 us/op 459.62 us/op 1.06
RateTracker 1000000 limit, 1 obj count per request 186.06 ns/op 178.64 ns/op 1.04
RateTracker 1000000 limit, 2 obj count per request 138.53 ns/op 132.56 ns/op 1.05
RateTracker 1000000 limit, 4 obj count per request 119.26 ns/op 110.44 ns/op 1.08
RateTracker 1000000 limit, 8 obj count per request 108.89 ns/op 98.901 ns/op 1.10
RateTracker with prune 4.0900 us/op 3.8390 us/op 1.07
array of 16000 items push then shift 3.5019 us/op 3.1199 us/op 1.12
LinkedList of 16000 items push then shift 18.951 ns/op 15.948 ns/op 1.19
array of 16000 items push then pop 226.48 ns/op 205.91 ns/op 1.10
LinkedList of 16000 items push then pop 16.253 ns/op 15.134 ns/op 1.07
array of 24000 items push then shift 4.9723 us/op 4.5530 us/op 1.09
LinkedList of 24000 items push then shift 20.231 ns/op 19.360 ns/op 1.04
array of 24000 items push then pop 204.55 ns/op 196.02 ns/op 1.04
LinkedList of 24000 items push then pop 17.587 ns/op 16.636 ns/op 1.06

by benchmarkbot/action

@wemeetagain wemeetagain merged commit d56ff4f into master May 13, 2022
@wemeetagain wemeetagain deleted the dapplion/rationale-slashing-unit-fix branch May 13, 2022 13:39
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.

3 participants