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

Schedule capella on sepolia #5127

Merged
merged 1 commit into from
Feb 10, 2023
Merged

Schedule capella on sepolia #5127

merged 1 commit into from
Feb 10, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Feb 10, 2023

@g11tech g11tech requested a review from a team as a code owner February 10, 2023 10:50
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: ba7fbf1 Previous: d5e05d3 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 881.82 us/op 1.0058 ms/op 0.88
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 54.631 us/op 52.736 us/op 1.04
BLS verify - blst-native 1.2314 ms/op 1.2495 ms/op 0.99
BLS verifyMultipleSignatures 3 - blst-native 2.5172 ms/op 2.5382 ms/op 0.99
BLS verifyMultipleSignatures 8 - blst-native 5.4972 ms/op 5.4672 ms/op 1.01
BLS verifyMultipleSignatures 32 - blst-native 19.858 ms/op 20.101 ms/op 0.99
BLS aggregatePubkeys 32 - blst-native 26.506 us/op 26.995 us/op 0.98
BLS aggregatePubkeys 128 - blst-native 104.01 us/op 102.86 us/op 1.01
getAttestationsForBlock 66.462 ms/op 74.273 ms/op 0.89
isKnown best case - 1 super set check 307.00 ns/op 278.00 ns/op 1.10
isKnown normal case - 2 super set checks 278.00 ns/op 284.00 ns/op 0.98
isKnown worse case - 16 super set checks 274.00 ns/op 286.00 ns/op 0.96
CheckpointStateCache - add get delete 6.1760 us/op 6.4090 us/op 0.96
validate gossip signedAggregateAndProof - struct 2.8004 ms/op 3.1040 ms/op 0.90
validate gossip attestation - struct 1.3489 ms/op 1.4335 ms/op 0.94
pickEth1Vote - no votes 1.3922 ms/op 1.3750 ms/op 1.01
pickEth1Vote - max votes 12.978 ms/op 12.047 ms/op 1.08
pickEth1Vote - Eth1Data hashTreeRoot value x2048 10.534 ms/op 9.6879 ms/op 1.09
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 17.460 ms/op 15.780 ms/op 1.11
pickEth1Vote - Eth1Data fastSerialize value x2048 779.03 us/op 754.19 us/op 1.03
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.0886 ms/op 5.8446 ms/op 1.21
bytes32 toHexString 721.00 ns/op 828.00 ns/op 0.87
bytes32 Buffer.toString(hex) 448.00 ns/op 424.00 ns/op 1.06
bytes32 Buffer.toString(hex) from Uint8Array 644.00 ns/op 623.00 ns/op 1.03
bytes32 Buffer.toString(hex) + 0x 442.00 ns/op 424.00 ns/op 1.04
Object access 1 prop 0.21400 ns/op 0.20600 ns/op 1.04
Map access 1 prop 0.17500 ns/op 0.16700 ns/op 1.05
Object get x1000 6.8840 ns/op 7.1060 ns/op 0.97
Map get x1000 0.63900 ns/op 0.68500 ns/op 0.93
Object set x1000 73.206 ns/op 69.789 ns/op 1.05
Map set x1000 56.853 ns/op 50.903 ns/op 1.12
Return object 10000 times 0.24970 ns/op 0.26050 ns/op 0.96
Throw Error 10000 times 4.3335 us/op 4.4523 us/op 0.97
fastMsgIdFn sha256 / 200 bytes 3.5510 us/op 3.7690 us/op 0.94
fastMsgIdFn h32 xxhash / 200 bytes 319.00 ns/op 324.00 ns/op 0.98
fastMsgIdFn h64 xxhash / 200 bytes 468.00 ns/op 476.00 ns/op 0.98
fastMsgIdFn sha256 / 1000 bytes 11.982 us/op 12.165 us/op 0.98
fastMsgIdFn h32 xxhash / 1000 bytes 445.00 ns/op 452.00 ns/op 0.98
fastMsgIdFn h64 xxhash / 1000 bytes 541.00 ns/op 554.00 ns/op 0.98
fastMsgIdFn sha256 / 10000 bytes 105.02 us/op 107.86 us/op 0.97
fastMsgIdFn h32 xxhash / 10000 bytes 2.0100 us/op 2.0440 us/op 0.98
fastMsgIdFn h64 xxhash / 10000 bytes 1.4650 us/op 1.5020 us/op 0.98
enrSubnets - fastDeserialize 64 bits 1.6380 us/op 1.5670 us/op 1.05
enrSubnets - ssz BitVector 64 bits 598.00 ns/op 625.00 ns/op 0.96
enrSubnets - fastDeserialize 4 bits 206.00 ns/op 211.00 ns/op 0.98
enrSubnets - ssz BitVector 4 bits 621.00 ns/op 609.00 ns/op 1.02
prioritizePeers score -10:0 att 32-0.1 sync 2-0 101.18 us/op 101.28 us/op 1.00
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 138.80 us/op 136.56 us/op 1.02
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 178.89 us/op 211.99 us/op 0.84
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 341.15 us/op 374.94 us/op 0.91
prioritizePeers score 0:0 att 64-1 sync 4-1 400.38 us/op 434.69 us/op 0.92
array of 16000 items push then shift 1.6898 us/op 1.9441 us/op 0.87
LinkedList of 16000 items push then shift 9.0980 ns/op 11.582 ns/op 0.79
array of 16000 items push then pop 111.37 ns/op 135.96 ns/op 0.82
LinkedList of 16000 items push then pop 9.2860 ns/op 11.999 ns/op 0.77
array of 24000 items push then shift 2.4612 us/op 2.7496 us/op 0.90
LinkedList of 24000 items push then shift 9.5650 ns/op 13.666 ns/op 0.70
array of 24000 items push then pop 92.268 ns/op 96.290 ns/op 0.96
LinkedList of 24000 items push then pop 9.3230 ns/op 9.8870 ns/op 0.94
intersect bitArray bitLen 8 14.619 ns/op 18.044 ns/op 0.81
intersect array and set length 8 95.756 ns/op 129.15 ns/op 0.74
intersect bitArray bitLen 128 47.551 ns/op 57.579 ns/op 0.83
intersect array and set length 128 1.2706 us/op 1.3315 us/op 0.95
Buffer.concat 32 items 2.9010 us/op 2.8620 us/op 1.01
Uint8Array.set 32 items 2.7200 us/op 2.4390 us/op 1.12
pass gossip attestations to forkchoice per slot 4.2180 ms/op 4.0068 ms/op 1.05
computeDeltas 3.6412 ms/op 3.0905 ms/op 1.18
computeProposerBoostScoreFromBalances 1.9519 ms/op 1.9581 ms/op 1.00
altair processAttestation - 250000 vs - 7PWei normalcase 3.0929 ms/op 3.3047 ms/op 0.94
altair processAttestation - 250000 vs - 7PWei worstcase 4.7448 ms/op 4.6342 ms/op 1.02
altair processAttestation - setStatus - 1/6 committees join 147.47 us/op 146.22 us/op 1.01
altair processAttestation - setStatus - 1/3 committees join 306.25 us/op 294.35 us/op 1.04
altair processAttestation - setStatus - 1/2 committees join 379.52 us/op 378.73 us/op 1.00
altair processAttestation - setStatus - 2/3 committees join 473.91 us/op 506.23 us/op 0.94
altair processAttestation - setStatus - 4/5 committees join 679.49 us/op 673.54 us/op 1.01
altair processAttestation - setStatus - 100% committees join 770.79 us/op 818.07 us/op 0.94
altair processBlock - 250000 vs - 7PWei normalcase 17.226 ms/op 20.111 ms/op 0.86
altair processBlock - 250000 vs - 7PWei normalcase hashState 29.017 ms/op 26.831 ms/op 1.08
altair processBlock - 250000 vs - 7PWei worstcase 48.456 ms/op 55.583 ms/op 0.87
altair processBlock - 250000 vs - 7PWei worstcase hashState 72.603 ms/op 77.746 ms/op 0.93
phase0 processBlock - 250000 vs - 7PWei normalcase 3.1395 ms/op 2.2945 ms/op 1.37
phase0 processBlock - 250000 vs - 7PWei worstcase 32.671 ms/op 31.354 ms/op 1.04
altair processEth1Data - 250000 vs - 7PWei normalcase 646.93 us/op 602.02 us/op 1.07
vc - 250000 eb 1 eth1 1 we 0 wn 0 - smpl 15 13.762 us/op 9.7330 us/op 1.41
vc - 250000 eb 0.95 eth1 0.1 we 0.05 wn 0 - smpl 219 43.050 us/op 35.476 us/op 1.21
vc - 250000 eb 0.95 eth1 0.3 we 0.05 wn 0 - smpl 42 16.559 us/op 13.390 us/op 1.24
vc - 250000 eb 0.95 eth1 0.7 we 0.05 wn 0 - smpl 18 10.302 us/op 9.5680 us/op 1.08
vc - 250000 eb 0.1 eth1 0.1 we 0 wn 0 - smpl 1020 133.06 us/op 120.84 us/op 1.10
vc - 250000 eb 0.03 eth1 0.03 we 0 wn 0 - smpl 11777 692.98 us/op 716.51 us/op 0.97
vc - 250000 eb 0.01 eth1 0.01 we 0 wn 0 - smpl 16384 921.51 us/op 924.28 us/op 1.00
vc - 250000 eb 0 eth1 0 we 0 wn 0 - smpl 16384 899.09 us/op 1.0817 ms/op 0.83
vc - 250000 eb 0 eth1 0 we 0 wn 0 nocache - smpl 16384 2.4046 ms/op 2.4661 ms/op 0.98
vc - 250000 eb 0 eth1 1 we 0 wn 0 - smpl 16384 1.7443 ms/op 1.6606 ms/op 1.05
vc - 250000 eb 0 eth1 1 we 0 wn 0 nocache - smpl 16384 5.9955 ms/op 4.1716 ms/op 1.44
Tree 40 250000 create 359.08 ms/op 382.83 ms/op 0.94
Tree 40 250000 get(125000) 196.33 ns/op 199.87 ns/op 0.98
Tree 40 250000 set(125000) 1.0060 us/op 1.1128 us/op 0.90
Tree 40 250000 toArray() 22.674 ms/op 22.742 ms/op 1.00
Tree 40 250000 iterate all - toArray() + loop 22.472 ms/op 22.927 ms/op 0.98
Tree 40 250000 iterate all - get(i) 75.449 ms/op 76.964 ms/op 0.98
MutableVector 250000 create 11.263 ms/op 12.176 ms/op 0.92
MutableVector 250000 get(125000) 6.4430 ns/op 6.4500 ns/op 1.00
MutableVector 250000 set(125000) 304.03 ns/op 305.05 ns/op 1.00
MutableVector 250000 toArray() 3.7072 ms/op 3.8870 ms/op 0.95
MutableVector 250000 iterate all - toArray() + loop 3.9997 ms/op 4.0629 ms/op 0.98
MutableVector 250000 iterate all - get(i) 1.5041 ms/op 1.6165 ms/op 0.93
Array 250000 create 3.2329 ms/op 3.7353 ms/op 0.87
Array 250000 clone - spread 1.1955 ms/op 1.3419 ms/op 0.89
Array 250000 get(125000) 0.54000 ns/op 0.77000 ns/op 0.70
Array 250000 set(125000) 0.62100 ns/op 0.88000 ns/op 0.71
Array 250000 iterate all - loop 83.748 us/op 117.21 us/op 0.71
effectiveBalanceIncrements clone Uint8Array 300000 38.021 us/op 61.790 us/op 0.62
effectiveBalanceIncrements clone MutableVector 300000 328.00 ns/op 435.00 ns/op 0.75
effectiveBalanceIncrements rw all Uint8Array 300000 167.49 us/op 197.08 us/op 0.85
effectiveBalanceIncrements rw all MutableVector 300000 83.041 ms/op 134.75 ms/op 0.62
phase0 afterProcessEpoch - 250000 vs - 7PWei 114.58 ms/op 121.22 ms/op 0.95
phase0 beforeProcessEpoch - 250000 vs - 7PWei 42.780 ms/op 41.791 ms/op 1.02
altair processEpoch - mainnet_e81889 319.85 ms/op 325.08 ms/op 0.98
mainnet_e81889 - altair beforeProcessEpoch 71.230 ms/op 70.999 ms/op 1.00
mainnet_e81889 - altair processJustificationAndFinalization 17.302 us/op 23.800 us/op 0.73
mainnet_e81889 - altair processInactivityUpdates 5.6030 ms/op 5.6666 ms/op 0.99
mainnet_e81889 - altair processRewardsAndPenalties 52.565 ms/op 77.455 ms/op 0.68
mainnet_e81889 - altair processRegistryUpdates 2.9960 us/op 4.3880 us/op 0.68
mainnet_e81889 - altair processSlashings 795.00 ns/op 616.00 ns/op 1.29
mainnet_e81889 - altair processEth1DataReset 767.00 ns/op 656.00 ns/op 1.17
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3120 ms/op 1.2824 ms/op 1.02
mainnet_e81889 - altair processSlashingsReset 8.3790 us/op 4.5870 us/op 1.83
mainnet_e81889 - altair processRandaoMixesReset 9.8330 us/op 4.5810 us/op 2.15
mainnet_e81889 - altair processHistoricalRootsUpdate 1.5390 us/op 659.00 ns/op 2.34
mainnet_e81889 - altair processParticipationFlagUpdates 4.7610 us/op 2.5980 us/op 1.83
mainnet_e81889 - altair processSyncCommitteeUpdates 1.3040 us/op 665.00 ns/op 1.96
mainnet_e81889 - altair afterProcessEpoch 135.00 ms/op 123.92 ms/op 1.09
phase0 processEpoch - mainnet_e58758 384.74 ms/op 337.30 ms/op 1.14
mainnet_e58758 - phase0 beforeProcessEpoch 160.32 ms/op 114.47 ms/op 1.40
mainnet_e58758 - phase0 processJustificationAndFinalization 18.506 us/op 17.382 us/op 1.06
mainnet_e58758 - phase0 processRewardsAndPenalties 69.728 ms/op 44.289 ms/op 1.57
mainnet_e58758 - phase0 processRegistryUpdates 16.334 us/op 10.531 us/op 1.55
mainnet_e58758 - phase0 processSlashings 862.00 ns/op 1.0850 us/op 0.79
mainnet_e58758 - phase0 processEth1DataReset 958.00 ns/op 1.2470 us/op 0.77
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0647 ms/op 1.2438 ms/op 0.86
mainnet_e58758 - phase0 processSlashingsReset 4.8940 us/op 9.2880 us/op 0.53
mainnet_e58758 - phase0 processRandaoMixesReset 5.4360 us/op 11.701 us/op 0.46
mainnet_e58758 - phase0 processHistoricalRootsUpdate 633.00 ns/op 2.0000 us/op 0.32
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.2890 us/op 12.293 us/op 0.43
mainnet_e58758 - phase0 afterProcessEpoch 99.814 ms/op 98.677 ms/op 1.01
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2640 ms/op 1.5556 ms/op 0.81
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5649 ms/op 1.9723 ms/op 0.79
altair processInactivityUpdates - 250000 normalcase 23.786 ms/op 26.855 ms/op 0.89
altair processInactivityUpdates - 250000 worstcase 26.813 ms/op 29.347 ms/op 0.91
phase0 processRegistryUpdates - 250000 normalcase 7.5430 us/op 9.7350 us/op 0.77
phase0 processRegistryUpdates - 250000 badcase_full_deposits 282.77 us/op 288.86 us/op 0.98
phase0 processRegistryUpdates - 250000 worstcase 0.5 113.89 ms/op 124.88 ms/op 0.91
altair processRewardsAndPenalties - 250000 normalcase 66.380 ms/op 65.305 ms/op 1.02
altair processRewardsAndPenalties - 250000 worstcase 74.373 ms/op 65.759 ms/op 1.13
phase0 getAttestationDeltas - 250000 normalcase 12.065 ms/op 7.2041 ms/op 1.67
phase0 getAttestationDeltas - 250000 worstcase 11.017 ms/op 7.2761 ms/op 1.51
phase0 processSlashings - 250000 worstcase 5.7875 ms/op 3.9853 ms/op 1.45
altair processSyncCommitteeUpdates - 250000 213.84 ms/op 191.95 ms/op 1.11
BeaconState.hashTreeRoot - No change 300.00 ns/op 279.00 ns/op 1.08
BeaconState.hashTreeRoot - 1 full validator 52.741 us/op 54.733 us/op 0.96
BeaconState.hashTreeRoot - 32 full validator 592.58 us/op 528.42 us/op 1.12
BeaconState.hashTreeRoot - 512 full validator 6.7360 ms/op 5.6104 ms/op 1.20
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 65.875 us/op 66.126 us/op 1.00
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 964.70 us/op 1.0773 ms/op 0.90
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 15.953 ms/op 11.673 ms/op 1.37
BeaconState.hashTreeRoot - 1 balances 52.322 us/op 49.782 us/op 1.05
BeaconState.hashTreeRoot - 32 balances 530.01 us/op 461.97 us/op 1.15
BeaconState.hashTreeRoot - 512 balances 4.7592 ms/op 4.5088 ms/op 1.06
BeaconState.hashTreeRoot - 250000 balances 82.647 ms/op 75.797 ms/op 1.09
aggregationBits - 2048 els - zipIndexesInBitList 21.830 us/op 17.179 us/op 1.27
regular array get 100000 times 35.906 us/op 33.732 us/op 1.06
wrappedArray get 100000 times 36.402 us/op 33.603 us/op 1.08
arrayWithProxy get 100000 times 17.293 ms/op 16.194 ms/op 1.07
ssz.Root.equals 721.00 ns/op 577.00 ns/op 1.25
byteArrayEquals 693.00 ns/op 554.00 ns/op 1.25
shuffle list - 16384 els 7.2216 ms/op 7.0072 ms/op 1.03
shuffle list - 250000 els 107.32 ms/op 103.48 ms/op 1.04
processSlot - 1 slots 9.9920 us/op 8.9870 us/op 1.11
processSlot - 32 slots 1.4954 ms/op 1.3819 ms/op 1.08
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 236.76 us/op 204.80 us/op 1.16
getCommitteeAssignments - req 1 vs - 250000 vc 3.3075 ms/op 2.9350 ms/op 1.13
getCommitteeAssignments - req 100 vs - 250000 vc 4.5952 ms/op 4.2147 ms/op 1.09
getCommitteeAssignments - req 1000 vs - 250000 vc 4.8127 ms/op 4.5033 ms/op 1.07
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.4700 ns/op 4.8300 ns/op 1.13
state getBlockRootAtSlot - 250000 vs - 7PWei 948.18 ns/op 592.32 ns/op 1.60
computeProposers - vc 250000 11.435 ms/op 10.966 ms/op 1.04
computeEpochShuffling - vc 250000 110.32 ms/op 108.29 ms/op 1.02
getNextSyncCommittee - vc 250000 193.24 ms/op 186.31 ms/op 1.04

by benchmarkbot/action

@nazarhussain nazarhussain merged commit 4d3af90 into unstable Feb 10, 2023
@nazarhussain nazarhussain deleted the g11tech/sepolia-capella branch February 10, 2023 13:10
wemeetagain pushed a commit that referenced this pull request Feb 27, 2023
dapplion added a commit that referenced this pull request Feb 28, 2023
* v1.5.0

* Add validatior option to specify builder block selection strategy (#5064)

* Add validatior option to specify builder block selection strategy

* cleanup and improvements

* server api fx

* fix test

* fix the testcase

* Re-gossip bls changes if submitted earlier than capella (#5049)

* Cache and retransmit bls changes if submitted early

* regossip when synced on/post capella

* fix tests

* modify publish vs cache condition

* add logging

* add error logging

* batchify the processing

* fix some of the cases

* fix log issues

* also delete included keys

* fix lint

* simplify gossip loop

* fix build

* refac to a versioned bls change store

* update

* logging improvements

* improve logging and finish behavior

* cleanup

* Rename eip4844 fork as Deneb (#5082)

* Fix and extract payload to header conversion (#5101)

* Remove unused eslint disable directives (#5046)

* Add execution payload header to light client header capella onwards (#5027)

* Add execution payload header to light client header capella onwards

* add more forks

* add allfork types

* make other types multifork

* make events multifork compatible

* make lightclient routes multifork

* update light-client transport

* upgrade the blocktype on lightclient server import block

* fixes

* fix test

* fix event serialization/deserilization type

* update proof constants

* fix payload index

* update the light client update generation to multi fork

* fix types

* add spec override to pass specs

* make event types allforks

* make req/resp multifork

* make types multifork throughout

* fix the update serialize/deserialize

* fix error log

* better fork determination for update

* fix the fork of finalized

* fix tests

* fix header upgradation

* Fix zero finalized header in lightclient update gen (#5121)

* Schedule capella on sepolia (#5127)

* Get the capella builder functional (#5179)

* Allow blsChange reprocess/republish via API submission (#5185)

* Fix gossiping blsChange on submit if post capella

* comment improvement

* Use new db bucket for light client updates (#5205)

---------

Co-authored-by: Cayman <caymannava@gmail.com>
Co-authored-by: g11tech <develop@g11tech.io>
Co-authored-by: Nico Flaig <nflaig@protonmail.com>
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.6.0 🎉

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