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 Goerli shadow fork 1 config for merge testnets #3870

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Mar 24, 2022

Add Goerli shadow fork 1 config for merge testnets in our easy setup file

usage:
cd kiln/devnets
./setup.sh --dataDir goerli1-data --elClient geth --devnetVars ./goerlishadow-1.vars --dockerWithSudo --withTerminal "gnome-terminal --disable-factory --"

@codecov
Copy link

codecov bot commented Mar 24, 2022

Codecov Report

Merging #3870 (a1b2b83) into master (d8ec024) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3870   +/-   ##
=======================================
  Coverage   36.11%   36.11%           
=======================================
  Files         325      325           
  Lines        9043     9043           
  Branches     1419     1419           
=======================================
  Hits         3266     3266           
  Misses       5634     5634           
  Partials      143      143           

@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 31fa1f8 Previous: d8ec024 Ratio
BeaconState.hashTreeRoot - No change 684.00 ns/op 567.00 ns/op 1.21
BeaconState.hashTreeRoot - 1 full validator 151.60 us/op 125.25 us/op 1.21
BeaconState.hashTreeRoot - 32 full validator 2.3511 ms/op 1.9270 ms/op 1.22
BeaconState.hashTreeRoot - 512 full validator 31.671 ms/op 25.680 ms/op 1.23
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 149.30 us/op 126.21 us/op 1.18
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.5979 ms/op 2.2782 ms/op 1.14
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 39.198 ms/op 27.811 ms/op 1.41
BeaconState.hashTreeRoot - 1 balances 103.76 us/op 89.489 us/op 1.16
BeaconState.hashTreeRoot - 32 balances 863.12 us/op 765.86 us/op 1.13
BeaconState.hashTreeRoot - 512 balances 9.2214 ms/op 7.3286 ms/op 1.26
BeaconState.hashTreeRoot - 250000 balances 163.94 ms/op 135.97 ms/op 1.21
processSlot - 1 slots 57.746 us/op 55.111 us/op 1.05
processSlot - 32 slots 3.5583 ms/op 2.8736 ms/op 1.24
getCommitteeAssignments - req 1 vs - 250000 vc 6.4737 ms/op 5.2263 ms/op 1.24
getCommitteeAssignments - req 100 vs - 250000 vc 8.7990 ms/op 7.2367 ms/op 1.22
getCommitteeAssignments - req 1000 vs - 250000 vc 9.3732 ms/op 7.7795 ms/op 1.20
computeProposers - vc 250000 27.557 ms/op 20.688 ms/op 1.33
computeEpochShuffling - vc 250000 229.33 ms/op 185.50 ms/op 1.24
getNextSyncCommittee - vc 250000 441.69 ms/op 340.09 ms/op 1.30
altair processAttestation - 250000 vs - 7PWei normalcase 49.258 ms/op 36.204 ms/op 1.36
altair processAttestation - 250000 vs - 7PWei worstcase 39.366 ms/op 36.257 ms/op 1.09
altair processAttestation - setStatus - 1/6 committees join 14.504 ms/op 13.010 ms/op 1.11
altair processAttestation - setStatus - 1/3 committees join 30.238 ms/op 26.485 ms/op 1.14
altair processAttestation - setStatus - 1/2 committees join 44.389 ms/op 36.307 ms/op 1.22
altair processAttestation - setStatus - 2/3 committees join 60.195 ms/op 46.703 ms/op 1.29
altair processAttestation - setStatus - 4/5 committees join 70.559 ms/op 64.630 ms/op 1.09
altair processAttestation - setStatus - 100% committees join 88.867 ms/op 67.005 ms/op 1.33
altair processAttestation - updateEpochParticipants - 1/6 committees join 16.111 ms/op 10.951 ms/op 1.47
altair processAttestation - updateEpochParticipants - 1/3 committees join 32.234 ms/op 22.460 ms/op 1.44
altair processAttestation - updateEpochParticipants - 1/2 committees join 24.620 ms/op 20.767 ms/op 1.19
altair processAttestation - updateEpochParticipants - 2/3 committees join 30.078 ms/op 22.239 ms/op 1.35
altair processAttestation - updateEpochParticipants - 4/5 committees join 26.573 ms/op 23.383 ms/op 1.14
altair processAttestation - updateEpochParticipants - 100% committees join 28.749 ms/op 27.273 ms/op 1.05
altair processAttestation - updateAllStatus 22.344 ms/op 19.078 ms/op 1.17
altair processBlock - 250000 vs - 7PWei normalcase 39.345 ms/op 33.210 ms/op 1.18
altair processBlock - 250000 vs - 7PWei worstcase 122.39 ms/op 103.12 ms/op 1.19
altair processEpoch - mainnet_e81889 947.33 ms/op 788.19 ms/op 1.20
mainnet_e81889 - altair beforeProcessEpoch 376.62 ms/op 314.92 ms/op 1.20
mainnet_e81889 - altair processJustificationAndFinalization 79.975 us/op 65.865 us/op 1.21
mainnet_e81889 - altair processInactivityUpdates 21.580 ms/op 18.253 ms/op 1.18
mainnet_e81889 - altair processRewardsAndPenalties 115.13 ms/op 97.669 ms/op 1.18
mainnet_e81889 - altair processRegistryUpdates 11.030 us/op 7.9720 us/op 1.38
mainnet_e81889 - altair processSlashings 3.5910 us/op 1.3370 us/op 2.69
mainnet_e81889 - altair processEth1DataReset 3.5330 us/op 1.5550 us/op 2.27
mainnet_e81889 - altair processEffectiveBalanceUpdates 7.5994 ms/op 6.9512 ms/op 1.09
mainnet_e81889 - altair processSlashingsReset 18.351 us/op 12.686 us/op 1.45
mainnet_e81889 - altair processRandaoMixesReset 21.614 us/op 17.153 us/op 1.26
mainnet_e81889 - altair processHistoricalRootsUpdate 4.6730 us/op 1.9410 us/op 2.41
mainnet_e81889 - altair processParticipationFlagUpdates 83.814 ms/op 68.277 ms/op 1.23
mainnet_e81889 - altair processSyncCommitteeUpdates 2.7830 us/op 1.4580 us/op 1.91
mainnet_e81889 - altair afterProcessEpoch 268.37 ms/op 222.41 ms/op 1.21
altair processInactivityUpdates - 250000 normalcase 89.145 ms/op 70.438 ms/op 1.27
altair processInactivityUpdates - 250000 worstcase 91.760 ms/op 75.841 ms/op 1.21
altair processParticipationFlagUpdates - 250000 anycase 81.994 ms/op 69.706 ms/op 1.18
altair processRewardsAndPenalties - 250000 normalcase 106.98 ms/op 82.491 ms/op 1.30
altair processRewardsAndPenalties - 250000 worstcase 115.56 ms/op 108.26 ms/op 1.07
altair processSyncCommitteeUpdates - 250000 439.88 ms/op 354.45 ms/op 1.24
Tree 40 250000 create 846.24 ms/op 644.13 ms/op 1.31
Tree 40 250000 get(125000) 389.49 ns/op 325.94 ns/op 1.19
Tree 40 250000 set(125000) 2.3290 us/op 2.0970 us/op 1.11
Tree 40 250000 toArray() 46.582 ms/op 40.997 ms/op 1.14
Tree 40 250000 iterate all - toArray() + loop 47.405 ms/op 42.662 ms/op 1.11
Tree 40 250000 iterate all - get(i) 142.18 ms/op 122.81 ms/op 1.16
MutableVector 250000 create 25.886 ms/op 20.209 ms/op 1.28
MutableVector 250000 get(125000) 15.724 ns/op 12.966 ns/op 1.21
MutableVector 250000 set(125000) 680.54 ns/op 544.34 ns/op 1.25
MutableVector 250000 toArray() 10.681 ms/op 8.5468 ms/op 1.25
MutableVector 250000 iterate all - toArray() + loop 10.787 ms/op 8.7689 ms/op 1.23
MutableVector 250000 iterate all - get(i) 4.0100 ms/op 3.3947 ms/op 1.18
Array 250000 create 6.7897 ms/op 5.6533 ms/op 1.20
Array 250000 clone - spread 2.9586 ms/op 2.3347 ms/op 1.27
Array 250000 get(125000) 1.5140 ns/op 1.1290 ns/op 1.34
Array 250000 set(125000) 1.4440 ns/op 1.1210 ns/op 1.29
Array 250000 iterate all - loop 201.38 us/op 167.82 us/op 1.20
effectiveBalanceIncrements clone Uint8Array 300000 90.033 us/op 77.311 us/op 1.16
effectiveBalanceIncrements clone MutableVector 300000 906.00 ns/op 506.00 ns/op 1.79
effectiveBalanceIncrements rw all Uint8Array 300000 362.23 us/op 301.83 us/op 1.20
effectiveBalanceIncrements rw all MutableVector 300000 232.86 ms/op 170.54 ms/op 1.37
aggregationBits - 2048 els - readonlyValues 226.89 us/op 180.82 us/op 1.25
aggregationBits - 2048 els - zipIndexesInBitList 45.336 us/op 34.468 us/op 1.32
regular array get 100000 times 80.914 us/op 67.431 us/op 1.20
wrappedArray get 100000 times 81.018 us/op 67.432 us/op 1.20
arrayWithProxy get 100000 times 35.031 ms/op 29.929 ms/op 1.17
ssz.Root.equals 1.3810 us/op 1.0990 us/op 1.26
ssz.Root.equals with valueOf() 1.6750 us/op 1.3090 us/op 1.28
byteArrayEquals with valueOf() 1.6330 us/op 1.3000 us/op 1.26
phase0 processBlock - 250000 vs - 7PWei normalcase 9.5212 ms/op 7.9290 ms/op 1.20
phase0 processBlock - 250000 vs - 7PWei worstcase 88.400 ms/op 73.546 ms/op 1.20
phase0 afterProcessEpoch - 250000 vs - 7PWei 279.52 ms/op 202.42 ms/op 1.38
phase0 beforeProcessEpoch - 250000 vs - 7PWei 654.97 ms/op 554.75 ms/op 1.18
phase0 processEpoch - mainnet_e58758 912.62 ms/op 769.03 ms/op 1.19
mainnet_e58758 - phase0 beforeProcessEpoch 499.88 ms/op 437.59 ms/op 1.14
mainnet_e58758 - phase0 processJustificationAndFinalization 63.814 us/op 55.579 us/op 1.15
mainnet_e58758 - phase0 processRewardsAndPenalties 111.78 ms/op 82.775 ms/op 1.35
mainnet_e58758 - phase0 processRegistryUpdates 52.903 us/op 37.075 us/op 1.43
mainnet_e58758 - phase0 processSlashings 2.9530 us/op 1.3820 us/op 2.14
mainnet_e58758 - phase0 processEth1DataReset 2.5400 us/op 1.2640 us/op 2.01
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 6.5989 ms/op 5.7300 ms/op 1.15
mainnet_e58758 - phase0 processSlashingsReset 17.208 us/op 7.2590 us/op 2.37
mainnet_e58758 - phase0 processRandaoMixesReset 24.000 us/op 14.712 us/op 1.63
mainnet_e58758 - phase0 processHistoricalRootsUpdate 4.0180 us/op 1.9510 us/op 2.06
mainnet_e58758 - phase0 processParticipationRecordUpdates 15.084 us/op 12.925 us/op 1.17
mainnet_e58758 - phase0 afterProcessEpoch 226.47 ms/op 182.02 ms/op 1.24
phase0 processEffectiveBalanceUpdates - 250000 normalcase 7.2023 ms/op 6.5273 ms/op 1.10
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 7.7457 ms/op 7.0997 ms/op 1.09
phase0 processRegistryUpdates - 250000 normalcase 46.337 us/op 54.904 us/op 0.84
phase0 processRegistryUpdates - 250000 badcase_full_deposits 3.3740 ms/op 3.1470 ms/op 1.07
phase0 processRegistryUpdates - 250000 worstcase 0.5 2.0210 s/op 1.5127 s/op 1.34
phase0 getAttestationDeltas - 250000 normalcase 15.302 ms/op 12.959 ms/op 1.18
phase0 getAttestationDeltas - 250000 worstcase 15.452 ms/op 12.941 ms/op 1.19
phase0 processSlashings - 250000 worstcase 43.286 ms/op 35.685 ms/op 1.21
shuffle list - 16384 els 15.446 ms/op 12.790 ms/op 1.21
shuffle list - 250000 els 220.07 ms/op 182.94 ms/op 1.20
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 550.01 us/op 461.88 us/op 1.19
pass gossip attestations to forkchoice per slot 17.419 ms/op 15.029 ms/op 1.16
computeDeltas 3.9690 ms/op 3.7272 ms/op 1.06
computeProposerBoostScoreFromBalances 607.71 us/op 503.08 us/op 1.21
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.5095 ms/op 1.7986 ms/op 1.40
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 925.19 us/op 707.85 us/op 1.31
BLS verify - blst-native 2.2325 ms/op 1.8562 ms/op 1.20
BLS verifyMultipleSignatures 3 - blst-native 4.5743 ms/op 3.8020 ms/op 1.20
BLS verifyMultipleSignatures 8 - blst-native 9.8468 ms/op 8.1830 ms/op 1.20
BLS verifyMultipleSignatures 32 - blst-native 35.634 ms/op 29.675 ms/op 1.20
BLS aggregatePubkeys 32 - blst-native 48.792 us/op 40.431 us/op 1.21
BLS aggregatePubkeys 128 - blst-native 185.27 us/op 154.30 us/op 1.20
getAttestationsForBlock 74.443 ms/op 59.672 ms/op 1.25
CheckpointStateCache - add get delete 22.059 us/op 17.774 us/op 1.24
validate gossip signedAggregateAndProof - struct 5.3176 ms/op 4.4175 ms/op 1.20
validate gossip signedAggregateAndProof - treeBacked 5.3256 ms/op 4.3703 ms/op 1.22
validate gossip attestation - struct 2.5510 ms/op 2.0805 ms/op 1.23
validate gossip attestation - treeBacked 2.5392 ms/op 2.1108 ms/op 1.20
pickEth1Vote - no votes 11.246 ms/op 10.011 ms/op 1.12
pickEth1Vote - max votes 60.941 ms/op 53.318 ms/op 1.14
pickEth1Vote - Eth1Data hashTreeRoot value x2048 29.936 ms/op 24.974 ms/op 1.20
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 11.505 ms/op 9.7305 ms/op 1.18
pickEth1Vote - Eth1Data fastSerialize value x2048 6.5156 ms/op 5.1990 ms/op 1.25
pickEth1Vote - Eth1Data fastSerialize tree x2048 28.495 ms/op 24.044 ms/op 1.19
bytes32 toHexString 2.1060 us/op 1.6760 us/op 1.26
bytes32 Buffer.toString(hex) 840.00 ns/op 701.00 ns/op 1.20
bytes32 Buffer.toString(hex) from Uint8Array 1.1420 us/op 965.00 ns/op 1.18
bytes32 Buffer.toString(hex) + 0x 838.00 ns/op 710.00 ns/op 1.18
Object access 1 prop 0.41400 ns/op 0.32600 ns/op 1.27
Map access 1 prop 0.36500 ns/op 0.30800 ns/op 1.19
Object get x1000 21.030 ns/op 17.337 ns/op 1.21
Map get x1000 1.1740 ns/op 0.98600 ns/op 1.19
Object set x1000 129.39 ns/op 103.05 ns/op 1.26
Map set x1000 79.677 ns/op 64.932 ns/op 1.23
Return object 10000 times 0.44760 ns/op 0.37470 ns/op 1.19
Throw Error 10000 times 6.8968 us/op 5.7847 us/op 1.19
enrSubnets - fastDeserialize 64 bits 1.5230 us/op 1.2830 us/op 1.19
enrSubnets - ssz BitVector 64 bits 19.588 us/op 16.760 us/op 1.17
enrSubnets - fastDeserialize 4 bits 552.00 ns/op 480.00 ns/op 1.15
enrSubnets - ssz BitVector 4 bits 3.4440 us/op 3.0060 us/op 1.15
RateTracker 1000000 limit, 1 obj count per request 214.32 ns/op 181.62 ns/op 1.18
RateTracker 1000000 limit, 2 obj count per request 160.32 ns/op 137.93 ns/op 1.16
RateTracker 1000000 limit, 4 obj count per request 133.38 ns/op 114.00 ns/op 1.17
RateTracker 1000000 limit, 8 obj count per request 120.15 ns/op 101.63 ns/op 1.18
RateTracker with prune 4.6990 us/op 3.7660 us/op 1.25
array of 16000 items push then shift 3.8155 us/op 3.1588 us/op 1.21
LinkedList of 16000 items push then shift 20.396 ns/op 17.363 ns/op 1.17
array of 16000 items push then pop 239.36 ns/op 207.32 ns/op 1.15
LinkedList of 16000 items push then pop 18.049 ns/op 17.108 ns/op 1.06
array of 24000 items push then shift 5.4560 us/op 4.5554 us/op 1.20
LinkedList of 24000 items push then shift 22.815 ns/op 21.348 ns/op 1.07
array of 24000 items push then pop 247.26 ns/op 185.25 ns/op 1.33
LinkedList of 24000 items push then pop 19.818 ns/op 19.248 ns/op 1.03

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 259b13b into master Mar 24, 2022
@wemeetagain wemeetagain deleted the g11tech/goerlishadowfork branch March 24, 2022 16:17
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.

2 participants