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

Add Sepolia config #4164

Merged
merged 1 commit into from
Jun 16, 2022
Merged

Add Sepolia config #4164

merged 1 commit into from
Jun 16, 2022

Conversation

dapplion
Copy link
Contributor

Motivation

Add Sepolia config for upcoming genesis in Sunday, June 19, 2022 2:00:00 PM +UTC

Description

Closes #4160

@dapplion dapplion requested a review from a team as a code owner June 16, 2022 10:46
@q9f
Copy link
Contributor

q9f commented Jun 16, 2022

REALLY YOU BEAT ME BY 32 SECONDS

Copy link
Contributor

@q9f q9f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dapplion
Copy link
Contributor Author

REALLY YOU BEAT ME BY 32 SECONDS

We are really connected tho ❤️

@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 802b8e2 Previous: e5b74d5 Ratio
altair processAttestation - 250000 vs - 7PWei normalcase 4.0550 ms/op 4.9602 ms/op 0.82
altair processAttestation - 250000 vs - 7PWei worstcase 6.5753 ms/op 8.0278 ms/op 0.82
altair processAttestation - setStatus - 1/6 committees join 210.98 us/op 243.18 us/op 0.87
altair processAttestation - setStatus - 1/3 committees join 396.01 us/op 538.80 us/op 0.73
altair processAttestation - setStatus - 1/2 committees join 559.10 us/op 664.18 us/op 0.84
altair processAttestation - setStatus - 2/3 committees join 711.77 us/op 905.80 us/op 0.79
altair processAttestation - setStatus - 4/5 committees join 990.80 us/op 1.2342 ms/op 0.80
altair processAttestation - setStatus - 100% committees join 1.1727 ms/op 1.3926 ms/op 0.84
altair processBlock - 250000 vs - 7PWei normalcase 31.311 ms/op 33.643 ms/op 0.93
altair processBlock - 250000 vs - 7PWei normalcase hashState 34.187 ms/op 40.419 ms/op 0.85
altair processBlock - 250000 vs - 7PWei worstcase 80.584 ms/op 103.74 ms/op 0.78
altair processBlock - 250000 vs - 7PWei worstcase hashState 106.33 ms/op 134.35 ms/op 0.79
phase0 processBlock - 250000 vs - 7PWei normalcase 3.7764 ms/op 4.7050 ms/op 0.80
phase0 processBlock - 250000 vs - 7PWei worstcase 46.809 ms/op 65.854 ms/op 0.71
altair processEth1Data - 250000 vs - 7PWei normalcase 762.82 us/op 1.0198 ms/op 0.75
Tree 40 250000 create 914.70 ms/op 1.3425 s/op 0.68
Tree 40 250000 get(125000) 293.66 ns/op 339.15 ns/op 0.87
Tree 40 250000 set(125000) 3.0411 us/op 4.2876 us/op 0.71
Tree 40 250000 toArray() 35.027 ms/op 37.978 ms/op 0.92
Tree 40 250000 iterate all - toArray() + loop 35.371 ms/op 37.456 ms/op 0.94
Tree 40 250000 iterate all - get(i) 116.31 ms/op 137.55 ms/op 0.85
MutableVector 250000 create 19.018 ms/op 18.164 ms/op 1.05
MutableVector 250000 get(125000) 13.285 ns/op 15.139 ns/op 0.88
MutableVector 250000 set(125000) 732.42 ns/op 1.1407 us/op 0.64
MutableVector 250000 toArray() 7.8446 ms/op 8.2753 ms/op 0.95
MutableVector 250000 iterate all - toArray() + loop 8.0590 ms/op 8.3281 ms/op 0.97
MutableVector 250000 iterate all - get(i) 3.3058 ms/op 3.5273 ms/op 0.94
Array 250000 create 7.3219 ms/op 8.0383 ms/op 0.91
Array 250000 clone - spread 4.0258 ms/op 5.7663 ms/op 0.70
Array 250000 get(125000) 1.6080 ns/op 2.2820 ns/op 0.70
Array 250000 set(125000) 1.6690 ns/op 2.1620 ns/op 0.77
Array 250000 iterate all - loop 170.38 us/op 148.56 us/op 1.15
effectiveBalanceIncrements clone Uint8Array 300000 102.14 us/op 130.85 us/op 0.78
effectiveBalanceIncrements clone MutableVector 300000 1.2250 us/op 1.7470 us/op 0.70
effectiveBalanceIncrements rw all Uint8Array 300000 254.87 us/op 303.02 us/op 0.84
effectiveBalanceIncrements rw all MutableVector 300000 250.80 ms/op 350.54 ms/op 0.72
phase0 afterProcessEpoch - 250000 vs - 7PWei 183.68 ms/op 220.23 ms/op 0.83
phase0 beforeProcessEpoch - 250000 vs - 7PWei 97.176 ms/op 112.44 ms/op 0.86
altair processEpoch - mainnet_e81889 507.00 ms/op 689.34 ms/op 0.74
mainnet_e81889 - altair beforeProcessEpoch 148.48 ms/op 199.42 ms/op 0.74
mainnet_e81889 - altair processJustificationAndFinalization 21.076 us/op 68.162 us/op 0.31
mainnet_e81889 - altair processInactivityUpdates 12.926 ms/op 13.023 ms/op 0.99
mainnet_e81889 - altair processRewardsAndPenalties 137.80 ms/op 106.69 ms/op 1.29
mainnet_e81889 - altair processRegistryUpdates 3.1990 us/op 15.510 us/op 0.21
mainnet_e81889 - altair processSlashings 601.00 ns/op 4.0480 us/op 0.15
mainnet_e81889 - altair processEth1DataReset 678.00 ns/op 4.0590 us/op 0.17
mainnet_e81889 - altair processEffectiveBalanceUpdates 3.0643 ms/op 3.0887 ms/op 0.99
mainnet_e81889 - altair processSlashingsReset 6.2490 us/op 29.238 us/op 0.21
mainnet_e81889 - altair processRandaoMixesReset 5.9230 us/op 26.250 us/op 0.23
mainnet_e81889 - altair processHistoricalRootsUpdate 808.00 ns/op 4.0190 us/op 0.20
mainnet_e81889 - altair processParticipationFlagUpdates 2.5290 us/op 14.785 us/op 0.17
mainnet_e81889 - altair processSyncCommitteeUpdates 757.00 ns/op 3.3200 us/op 0.23
mainnet_e81889 - altair afterProcessEpoch 191.57 ms/op 233.51 ms/op 0.82
phase0 processEpoch - mainnet_e58758 540.70 ms/op 669.64 ms/op 0.81
mainnet_e58758 - phase0 beforeProcessEpoch 241.37 ms/op 276.59 ms/op 0.87
mainnet_e58758 - phase0 processJustificationAndFinalization 18.801 us/op 57.547 us/op 0.33
mainnet_e58758 - phase0 processRewardsAndPenalties 124.81 ms/op 83.491 ms/op 1.49
mainnet_e58758 - phase0 processRegistryUpdates 9.6430 us/op 34.984 us/op 0.28
mainnet_e58758 - phase0 processSlashings 701.00 ns/op 3.5090 us/op 0.20
mainnet_e58758 - phase0 processEth1DataReset 790.00 ns/op 3.1550 us/op 0.25
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.0395 ms/op 2.4792 ms/op 0.82
mainnet_e58758 - phase0 processSlashingsReset 5.1070 us/op 18.506 us/op 0.28
mainnet_e58758 - phase0 processRandaoMixesReset 5.4830 us/op 25.434 us/op 0.22
mainnet_e58758 - phase0 processHistoricalRootsUpdate 862.00 ns/op 4.0380 us/op 0.21
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.7300 us/op 25.433 us/op 0.19
mainnet_e58758 - phase0 afterProcessEpoch 158.97 ms/op 196.18 ms/op 0.81
phase0 processEffectiveBalanceUpdates - 250000 normalcase 2.8790 ms/op 2.8024 ms/op 1.03
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 3.1752 ms/op 2.8060 ms/op 1.13
altair processInactivityUpdates - 250000 normalcase 29.245 ms/op 36.623 ms/op 0.80
altair processInactivityUpdates - 250000 worstcase 28.888 ms/op 51.853 ms/op 0.56
phase0 processRegistryUpdates - 250000 normalcase 7.5540 us/op 28.116 us/op 0.27
phase0 processRegistryUpdates - 250000 badcase_full_deposits 401.47 us/op 505.02 us/op 0.79
phase0 processRegistryUpdates - 250000 worstcase 0.5 211.65 ms/op 267.53 ms/op 0.79
altair processRewardsAndPenalties - 250000 normalcase 86.149 ms/op 117.60 ms/op 0.73
altair processRewardsAndPenalties - 250000 worstcase 82.690 ms/op 144.28 ms/op 0.57
phase0 getAttestationDeltas - 250000 normalcase 13.462 ms/op 16.477 ms/op 0.82
phase0 getAttestationDeltas - 250000 worstcase 13.986 ms/op 16.804 ms/op 0.83
phase0 processSlashings - 250000 worstcase 5.3837 ms/op 6.9276 ms/op 0.78
altair processSyncCommitteeUpdates - 250000 284.79 ms/op 374.69 ms/op 0.76
BeaconState.hashTreeRoot - No change 619.00 ns/op 797.00 ns/op 0.78
BeaconState.hashTreeRoot - 1 full validator 62.377 us/op 82.989 us/op 0.75
BeaconState.hashTreeRoot - 32 full validator 635.70 us/op 848.45 us/op 0.75
BeaconState.hashTreeRoot - 512 full validator 8.3303 ms/op 9.0366 ms/op 0.92
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 78.540 us/op 117.42 us/op 0.67
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.0730 ms/op 1.5093 ms/op 0.71
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 16.082 ms/op 22.374 ms/op 0.72
BeaconState.hashTreeRoot - 1 balances 61.344 us/op 83.129 us/op 0.74
BeaconState.hashTreeRoot - 32 balances 537.97 us/op 744.57 us/op 0.72
BeaconState.hashTreeRoot - 512 balances 5.1846 ms/op 8.0065 ms/op 0.65
BeaconState.hashTreeRoot - 250000 balances 93.923 ms/op 117.09 ms/op 0.80
aggregationBits - 2048 els - zipIndexesInBitList 32.096 us/op 45.602 us/op 0.70
regular array get 100000 times 67.467 us/op 59.282 us/op 1.14
wrappedArray get 100000 times 67.427 us/op 59.447 us/op 1.13
arrayWithProxy get 100000 times 30.697 ms/op 36.470 ms/op 0.84
ssz.Root.equals 508.00 ns/op 633.00 ns/op 0.80
byteArrayEquals 493.00 ns/op 623.00 ns/op 0.79
shuffle list - 16384 els 10.942 ms/op 13.417 ms/op 0.82
shuffle list - 250000 els 161.60 ms/op 196.90 ms/op 0.82
processSlot - 1 slots 12.547 us/op 18.781 us/op 0.67
processSlot - 32 slots 1.7778 ms/op 2.5808 ms/op 0.69
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 406.33 us/op 505.33 us/op 0.80
getCommitteeAssignments - req 1 vs - 250000 vc 5.3410 ms/op 5.7969 ms/op 0.92
getCommitteeAssignments - req 100 vs - 250000 vc 7.3596 ms/op 8.3936 ms/op 0.88
getCommitteeAssignments - req 1000 vs - 250000 vc 7.9192 ms/op 9.1397 ms/op 0.87
computeProposers - vc 250000 18.487 ms/op 22.286 ms/op 0.83
computeEpochShuffling - vc 250000 165.02 ms/op 196.22 ms/op 0.84
getNextSyncCommittee - vc 250000 275.53 ms/op 377.33 ms/op 0.73
pass gossip attestations to forkchoice per slot 6.2641 ms/op 4.0846 ms/op 1.53
computeDeltas 3.6638 ms/op 4.1799 ms/op 0.88
computeProposerBoostScoreFromBalances 921.50 us/op 915.47 us/op 1.01
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.3641 ms/op 2.7548 ms/op 0.86
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 86.434 us/op 102.01 us/op 0.85
BLS verify - blst-native 1.8654 ms/op 2.7507 ms/op 0.68
BLS verifyMultipleSignatures 3 - blst-native 3.8088 ms/op 5.6984 ms/op 0.67
BLS verifyMultipleSignatures 8 - blst-native 8.1968 ms/op 12.689 ms/op 0.65
BLS verifyMultipleSignatures 32 - blst-native 29.745 ms/op 45.281 ms/op 0.66
BLS aggregatePubkeys 32 - blst-native 39.691 us/op 61.389 us/op 0.65
BLS aggregatePubkeys 128 - blst-native 153.65 us/op 238.49 us/op 0.64
getAttestationsForBlock 71.704 ms/op 69.271 ms/op 1.04
isKnown best case - 1 super set check 455.00 ns/op 551.00 ns/op 0.83
isKnown normal case - 2 super set checks 442.00 ns/op 534.00 ns/op 0.83
isKnown worse case - 16 super set checks 441.00 ns/op 575.00 ns/op 0.77
CheckpointStateCache - add get delete 11.020 us/op 14.150 us/op 0.78
validate gossip signedAggregateAndProof - struct 4.2701 ms/op 6.5771 ms/op 0.65
validate gossip attestation - struct 2.0317 ms/op 3.0632 ms/op 0.66
altair verifyImport mainnet_s3766816:31 6.2648 s/op 8.9392 s/op 0.70
pickEth1Vote - no votes 2.1978 ms/op 2.5559 ms/op 0.86
pickEth1Vote - max votes 26.847 ms/op 30.861 ms/op 0.87
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.224 ms/op 16.168 ms/op 0.76
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.059 ms/op 27.990 ms/op 0.75
pickEth1Vote - Eth1Data fastSerialize value x2048 1.5923 ms/op 2.1529 ms/op 0.74
pickEth1Vote - Eth1Data fastSerialize tree x2048 19.675 ms/op 21.266 ms/op 0.93
bytes32 toHexString 1.1560 us/op 1.4170 us/op 0.82
bytes32 Buffer.toString(hex) 738.00 ns/op 928.00 ns/op 0.80
bytes32 Buffer.toString(hex) from Uint8Array 917.00 ns/op 1.2590 us/op 0.73
bytes32 Buffer.toString(hex) + 0x 738.00 ns/op 976.00 ns/op 0.76
Object access 1 prop 0.36000 ns/op 0.48500 ns/op 0.74
Map access 1 prop 0.30000 ns/op 0.37100 ns/op 0.81
Object get x1000 17.668 ns/op 18.051 ns/op 0.98
Map get x1000 1.0310 ns/op 1.0310 ns/op 1.00
Object set x1000 120.08 ns/op 133.65 ns/op 0.90
Map set x1000 71.111 ns/op 90.923 ns/op 0.78
Return object 10000 times 0.37250 ns/op 0.44000 ns/op 0.85
Throw Error 10000 times 5.9158 us/op 7.3513 us/op 0.80
enrSubnets - fastDeserialize 64 bits 2.8310 us/op 3.6180 us/op 0.78
enrSubnets - ssz BitVector 64 bits 777.00 ns/op 948.00 ns/op 0.82
enrSubnets - fastDeserialize 4 bits 396.00 ns/op 498.00 ns/op 0.80
enrSubnets - ssz BitVector 4 bits 765.00 ns/op 942.00 ns/op 0.81
prioritizePeers score -10:0 att 32-0.1 sync 2-0 93.230 us/op 119.74 us/op 0.78
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 124.97 us/op 161.69 us/op 0.77
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 216.21 us/op 292.16 us/op 0.74
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 479.06 us/op 612.85 us/op 0.78
prioritizePeers score 0:0 att 64-1 sync 4-1 464.23 us/op 615.16 us/op 0.75
RateTracker 1000000 limit, 1 obj count per request 192.90 ns/op 232.82 ns/op 0.83
RateTracker 1000000 limit, 2 obj count per request 142.01 ns/op 175.47 ns/op 0.81
RateTracker 1000000 limit, 4 obj count per request 117.60 ns/op 146.81 ns/op 0.80
RateTracker 1000000 limit, 8 obj count per request 105.60 ns/op 130.20 ns/op 0.81
RateTracker with prune 4.5320 us/op 6.4990 us/op 0.70
array of 16000 items push then shift 3.2002 us/op 5.5457 us/op 0.58
LinkedList of 16000 items push then shift 29.415 ns/op 29.031 ns/op 1.01
array of 16000 items push then pop 259.52 ns/op 286.45 ns/op 0.91
LinkedList of 16000 items push then pop 23.777 ns/op 24.938 ns/op 0.95
array of 24000 items push then shift 4.5612 us/op 8.4317 us/op 0.54
LinkedList of 24000 items push then shift 30.043 ns/op 27.754 ns/op 1.08
array of 24000 items push then pop 196.05 ns/op 262.63 ns/op 0.75
LinkedList of 24000 items push then pop 24.064 ns/op 24.627 ns/op 0.98
intersect bitArray bitLen 8 11.761 ns/op 12.937 ns/op 0.91
intersect array and set length 8 174.44 ns/op 229.45 ns/op 0.76
intersect bitArray bitLen 128 62.006 ns/op 73.916 ns/op 0.84
intersect array and set length 128 2.3476 us/op 2.6354 us/op 0.89

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 851d698 into unstable Jun 16, 2022
@wemeetagain wemeetagain deleted the dapplion/sepolia branch June 16, 2022 15:51
wemeetagain pushed a commit that referenced this pull request Jun 17, 2022
wemeetagain pushed a commit that referenced this pull request Jun 17, 2022
wemeetagain pushed a commit that referenced this pull request Jun 17, 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.

Add sepolia network
3 participants