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

Update the year on the chainsafe cli notice #3681

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Jan 29, 2022

Motivation
Observed that the notice being printed on cli has year 2018-2021.

This PR updates the same to 2018-2022

@g11tech g11tech changed the title Update the yearn on the chainsafe cli notice Update the year on the chainsafe cli notice Jan 29, 2022
@codeclimate
Copy link

codeclimate bot commented Jan 29, 2022

Code Climate has analyzed commit cf3824e and detected 0 issues on this pull request.

View more on Code Climate.

@codecov
Copy link

codecov bot commented Jan 29, 2022

Codecov Report

Merging #3681 (cf3824e) into master (aba0815) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3681   +/-   ##
=======================================
  Coverage   37.20%   37.20%           
=======================================
  Files         322      322           
  Lines        8717     8717           
  Branches     1349     1349           
=======================================
  Hits         3243     3243           
  Misses       5332     5332           
  Partials      142      142           

@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: b358244 Previous: aba0815 Ratio
BeaconState.hashTreeRoot - No change 546.00 ns/op 540.00 ns/op 1.01
BeaconState.hashTreeRoot - 1 full validator 129.26 us/op 132.09 us/op 0.98
BeaconState.hashTreeRoot - 32 full validator 1.9293 ms/op 2.0533 ms/op 0.94
BeaconState.hashTreeRoot - 512 full validator 26.402 ms/op 27.121 ms/op 0.97
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 128.88 us/op 135.15 us/op 0.95
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.0927 ms/op 2.1880 ms/op 0.96
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 29.553 ms/op 29.180 ms/op 1.01
BeaconState.hashTreeRoot - 1 balances 92.295 us/op 86.390 us/op 1.07
BeaconState.hashTreeRoot - 32 balances 760.72 us/op 772.22 us/op 0.99
BeaconState.hashTreeRoot - 512 balances 7.7335 ms/op 7.8471 ms/op 0.99
BeaconState.hashTreeRoot - 250000 balances 137.54 ms/op 142.51 ms/op 0.97
processSlot - 1 slots 51.637 us/op 46.446 us/op 1.11
processSlot - 32 slots 2.9394 ms/op 3.1934 ms/op 0.92
getCommitteeAssignments - req 1 vs - 250000 vc 5.3516 ms/op 5.2730 ms/op 1.01
getCommitteeAssignments - req 100 vs - 250000 vc 7.4288 ms/op 7.3141 ms/op 1.02
getCommitteeAssignments - req 1000 vs - 250000 vc 7.9586 ms/op 7.8091 ms/op 1.02
computeProposers - vc 250000 21.613 ms/op 20.402 ms/op 1.06
computeEpochShuffling - vc 250000 189.90 ms/op 185.51 ms/op 1.02
getNextSyncCommittee - vc 250000 350.54 ms/op 342.85 ms/op 1.02
altair processAttestation - 250000 vs - 7PWei normalcase 44.207 ms/op 43.048 ms/op 1.03
altair processAttestation - 250000 vs - 7PWei worstcase 47.225 ms/op 45.564 ms/op 1.04
altair processAttestation - setStatus - 1/6 committees join 12.627 ms/op 10.891 ms/op 1.16
altair processAttestation - setStatus - 1/3 committees join 25.822 ms/op 23.244 ms/op 1.11
altair processAttestation - setStatus - 1/2 committees join 40.003 ms/op 36.754 ms/op 1.09
altair processAttestation - setStatus - 2/3 committees join 53.003 ms/op 48.653 ms/op 1.09
altair processAttestation - setStatus - 4/5 committees join 63.378 ms/op 58.757 ms/op 1.08
altair processAttestation - setStatus - 100% committees join 80.172 ms/op 68.574 ms/op 1.17
altair processAttestation - updateEpochParticipants - 1/6 committees join 13.781 ms/op 11.667 ms/op 1.18
altair processAttestation - updateEpochParticipants - 1/3 committees join 28.718 ms/op 25.008 ms/op 1.15
altair processAttestation - updateEpochParticipants - 1/2 committees join 28.437 ms/op 27.070 ms/op 1.05
altair processAttestation - updateEpochParticipants - 2/3 committees join 36.684 ms/op 32.736 ms/op 1.12
altair processAttestation - updateEpochParticipants - 4/5 committees join 31.179 ms/op 29.700 ms/op 1.05
altair processAttestation - updateEpochParticipants - 100% committees join 33.392 ms/op 30.166 ms/op 1.11
altair processAttestation - updateAllStatus 22.931 ms/op 21.907 ms/op 1.05
altair processBlock - 250000 vs - 7PWei normalcase 46.627 ms/op 47.641 ms/op 0.98
altair processBlock - 250000 vs - 7PWei worstcase 120.07 ms/op 122.24 ms/op 0.98
altair processEpoch - mainnet_e81889 1.1395 s/op 1.1309 s/op 1.01
mainnet_e81889 - altair beforeProcessEpoch 366.53 ms/op 354.46 ms/op 1.03
mainnet_e81889 - altair processJustificationAndFinalization 51.400 us/op 52.123 us/op 0.99
mainnet_e81889 - altair processInactivityUpdates 18.203 ms/op 17.410 ms/op 1.05
mainnet_e81889 - altair processRewardsAndPenalties 242.78 ms/op 234.85 ms/op 1.03
mainnet_e81889 - altair processRegistryUpdates 5.8610 us/op 7.8210 us/op 0.75
mainnet_e81889 - altair processSlashings 1.0900 us/op 1.8510 us/op 0.59
mainnet_e81889 - altair processEth1DataReset 1.0760 us/op 1.4960 us/op 0.72
mainnet_e81889 - altair processEffectiveBalanceUpdates 12.021 ms/op 12.623 ms/op 0.95
mainnet_e81889 - altair processSlashingsReset 8.8960 us/op 11.977 us/op 0.74
mainnet_e81889 - altair processRandaoMixesReset 12.886 us/op 16.614 us/op 0.78
mainnet_e81889 - altair processHistoricalRootsUpdate 1.4200 us/op 1.8290 us/op 0.78
mainnet_e81889 - altair processParticipationFlagUpdates 106.05 ms/op 106.11 ms/op 1.00
mainnet_e81889 - altair processSyncCommitteeUpdates 1.2170 us/op 1.5020 us/op 0.81
mainnet_e81889 - altair afterProcessEpoch 226.75 ms/op 226.47 ms/op 1.00
altair processInactivityUpdates - 250000 normalcase 73.490 ms/op 67.057 ms/op 1.10
altair processInactivityUpdates - 250000 worstcase 90.201 ms/op 79.350 ms/op 1.14
altair processParticipationFlagUpdates - 250000 anycase 93.073 ms/op 91.802 ms/op 1.01
altair processRewardsAndPenalties - 250000 normalcase 218.07 ms/op 213.81 ms/op 1.02
altair processRewardsAndPenalties - 250000 worstcase 219.62 ms/op 217.92 ms/op 1.01
altair processSyncCommitteeUpdates - 250000 368.24 ms/op 355.80 ms/op 1.03
Tree 40 250000 create 919.22 ms/op 844.23 ms/op 1.09
Tree 40 250000 get(125000) 321.99 ns/op 323.27 ns/op 1.00
Tree 40 250000 set(125000) 2.1084 us/op 1.8731 us/op 1.13
Tree 40 250000 toArray() 40.698 ms/op 37.178 ms/op 1.09
Tree 40 250000 iterate all - toArray() + loop 46.329 ms/op 45.207 ms/op 1.02
Tree 40 250000 iterate all - get(i) 120.35 ms/op 119.73 ms/op 1.01
MutableVector 250000 create 26.319 ms/op 24.686 ms/op 1.07
MutableVector 250000 get(125000) 14.430 ns/op 13.558 ns/op 1.06
MutableVector 250000 set(125000) 635.57 ns/op 562.00 ns/op 1.13
MutableVector 250000 toArray() 9.0509 ms/op 8.5737 ms/op 1.06
MutableVector 250000 iterate all - toArray() + loop 9.1604 ms/op 8.6952 ms/op 1.05
MutableVector 250000 iterate all - get(i) 3.1213 ms/op 3.1282 ms/op 1.00
Array 250000 create 6.2638 ms/op 5.1838 ms/op 1.21
Array 250000 clone - spread 2.5874 ms/op 2.3173 ms/op 1.12
Array 250000 get(125000) 1.1930 ns/op 1.0680 ns/op 1.12
Array 250000 set(125000) 1.1850 ns/op 1.0510 ns/op 1.13
Array 250000 iterate all - loop 170.71 us/op 169.03 us/op 1.01
aggregationBits - 2048 els - readonlyValues 255.16 us/op 248.55 us/op 1.03
aggregationBits - 2048 els - zipIndexesInBitList 55.702 us/op 52.159 us/op 1.07
regular array get 100000 times 67.620 us/op 67.452 us/op 1.00
wrappedArray get 100000 times 68.079 us/op 67.449 us/op 1.01
arrayWithProxy get 100000 times 28.973 ms/op 28.350 ms/op 1.02
ssz.Root.equals 1.1840 us/op 1.1300 us/op 1.05
ssz.Root.equals with valueOf() 1.7050 us/op 1.4950 us/op 1.14
byteArrayEquals with valueOf() 1.5410 us/op 1.4910 us/op 1.03
phase0 processBlock - 250000 vs - 7PWei normalcase 11.224 ms/op 10.862 ms/op 1.03
phase0 processBlock - 250000 vs - 7PWei worstcase 78.973 ms/op 79.680 ms/op 0.99
phase0 afterProcessEpoch - 250000 vs - 7PWei 209.53 ms/op 209.95 ms/op 1.00
phase0 beforeProcessEpoch - 250000 vs - 7PWei 608.22 ms/op 590.83 ms/op 1.03
phase0 processEpoch - mainnet_e58758 848.17 ms/op 829.65 ms/op 1.02
mainnet_e58758 - phase0 beforeProcessEpoch 447.26 ms/op 428.07 ms/op 1.04
mainnet_e58758 - phase0 processJustificationAndFinalization 59.837 us/op 88.064 us/op 0.68
mainnet_e58758 - phase0 processRewardsAndPenalties 138.42 ms/op 136.69 ms/op 1.01
mainnet_e58758 - phase0 processRegistryUpdates 35.986 us/op 44.971 us/op 0.80
mainnet_e58758 - phase0 processSlashings 1.2470 us/op 2.0850 us/op 0.60
mainnet_e58758 - phase0 processEth1DataReset 1.2000 us/op 1.6230 us/op 0.74
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 9.4155 ms/op 9.8861 ms/op 0.95
mainnet_e58758 - phase0 processSlashingsReset 7.6290 us/op 9.8050 us/op 0.78
mainnet_e58758 - phase0 processRandaoMixesReset 12.423 us/op 10.568 us/op 1.18
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.3900 us/op 1.7360 us/op 0.80
mainnet_e58758 - phase0 processParticipationRecordUpdates 8.8560 us/op 13.024 us/op 0.68
mainnet_e58758 - phase0 afterProcessEpoch 183.09 ms/op 183.18 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 11.133 ms/op 11.029 ms/op 1.01
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4648 s/op 1.3536 s/op 1.08
phase0 processRegistryUpdates - 250000 normalcase 37.268 us/op 36.640 us/op 1.02
phase0 processRegistryUpdates - 250000 badcase_full_deposits 3.1507 ms/op 3.0968 ms/op 1.02
phase0 processRegistryUpdates - 250000 worstcase 0.5 1.9533 s/op 1.7697 s/op 1.10
phase0 getAttestationDeltas - 250000 normalcase 78.234 ms/op 75.653 ms/op 1.03
phase0 getAttestationDeltas - 250000 worstcase 78.572 ms/op 76.083 ms/op 1.03
phase0 processSlashings - 250000 worstcase 44.668 ms/op 36.318 ms/op 1.23
shuffle list - 16384 els 12.905 ms/op 12.976 ms/op 0.99
shuffle list - 250000 els 184.62 ms/op 185.24 ms/op 1.00
getEffectiveBalances - 250000 vs - 7PWei 13.222 ms/op 10.179 ms/op 1.30
pass gossip attestations to forkchoice per slot 16.067 ms/op 16.139 ms/op 1.00
computeDeltas 3.5967 ms/op 3.6215 ms/op 0.99
computeProposerBoostScoreFromBalances 336.90 us/op 343.22 us/op 0.98
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.5224 ms/op 2.3099 ms/op 1.09
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 737.85 us/op 642.90 us/op 1.15
BLS verify - blst-native 1.8593 ms/op 1.8578 ms/op 1.00
BLS verifyMultipleSignatures 3 - blst-native 3.8294 ms/op 3.8144 ms/op 1.00
BLS verifyMultipleSignatures 8 - blst-native 8.2485 ms/op 8.2321 ms/op 1.00
BLS verifyMultipleSignatures 32 - blst-native 29.892 ms/op 29.858 ms/op 1.00
BLS aggregatePubkeys 32 - blst-native 40.083 us/op 39.508 us/op 1.01
BLS aggregatePubkeys 128 - blst-native 154.05 us/op 153.66 us/op 1.00
getAttestationsForBlock 94.086 ms/op 86.717 ms/op 1.08
CheckpointStateCache - add get delete 19.808 us/op 17.043 us/op 1.16
validate gossip signedAggregateAndProof - struct 4.4873 ms/op 3.9588 ms/op 1.13
validate gossip signedAggregateAndProof - treeBacked 4.4860 ms/op 3.8815 ms/op 1.16
validate gossip attestation - struct 2.0974 ms/op 1.8530 ms/op 1.13
validate gossip attestation - treeBacked 2.1227 ms/op 1.8509 ms/op 1.15
bytes32 toHexString 1.9010 us/op 1.4610 us/op 1.30
bytes32 Buffer.toString(hex) 698.00 ns/op 623.00 ns/op 1.12
bytes32 Buffer.toString(hex) from Uint8Array 926.00 ns/op 821.00 ns/op 1.13
bytes32 Buffer.toString(hex) + 0x 718.00 ns/op 636.00 ns/op 1.13
Object access 1 prop 0.34800 ns/op 0.29100 ns/op 1.20
Map access 1 prop 0.28900 ns/op 0.24300 ns/op 1.19
Object get x1000 17.068 ns/op 15.704 ns/op 1.09
Map get x1000 0.96500 ns/op 0.86900 ns/op 1.11
Object set x1000 113.56 ns/op 97.058 ns/op 1.17
Map set x1000 68.691 ns/op 58.057 ns/op 1.18
Return object 10000 times 0.37530 ns/op 0.33240 ns/op 1.13
Throw Error 10000 times 6.0134 us/op 5.1718 us/op 1.16
enrSubnets - fastDeserialize 64 bits 1.3040 us/op 1.0440 us/op 1.25
enrSubnets - ssz BitVector 64 bits 16.816 us/op 15.069 us/op 1.12
enrSubnets - fastDeserialize 4 bits 456.00 ns/op 378.00 ns/op 1.21
enrSubnets - ssz BitVector 4 bits 2.9470 us/op 2.9390 us/op 1.00
RateTracker 1000000 limit, 1 obj count per request 184.96 ns/op 177.35 ns/op 1.04
RateTracker 1000000 limit, 2 obj count per request 138.80 ns/op 134.66 ns/op 1.03
RateTracker 1000000 limit, 4 obj count per request 115.53 ns/op 114.99 ns/op 1.00
RateTracker 1000000 limit, 8 obj count per request 104.31 ns/op 97.812 ns/op 1.07
RateTracker with prune 4.4280 us/op 3.8040 us/op 1.16

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 6db356c into master Jan 31, 2022
@wemeetagain wemeetagain deleted the g11tech/chainsafenotice branch January 31, 2022 16:32
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.

None yet

2 participants