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

chore: log sync committee signature errors as error #7283

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Dec 5, 2024

Motivation

The log level was previously changed from error to debug in #5256 but I can't find a rationale for this, but my guess is that those were quite noisy back than as Lodestar was not performing as well but now I think we should be more verbose here to better detect sync committee issues, and if it turns out to be too noisy we could always roll back.

@twoeths maybe you remember why it was changed previously

Description

Log sync committee signature errors as error instead of debug.

@nflaig nflaig requested a review from a team as a code owner December 5, 2024 22:24
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.91%. Comparing base (d55bb2d) to head (22eb831).
Report is 1 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #7283      +/-   ##
============================================
- Coverage     48.91%   48.91%   -0.01%     
============================================
  Files           601      601              
  Lines         40182    40182              
  Branches       2061     2060       -1     
============================================
- Hits          19655    19654       -1     
- Misses        20489    20490       +1     
  Partials         38       38              

Copy link
Contributor

github-actions bot commented Dec 5, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 0e48497 Previous: b5fb76c Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.7120 ms/op 1.9312 ms/op 0.89
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 47.906 us/op 50.117 us/op 0.96
BLS verify - blst 787.26 us/op 983.24 us/op 0.80
BLS verifyMultipleSignatures 3 - blst 1.2046 ms/op 1.6833 ms/op 0.72
BLS verifyMultipleSignatures 8 - blst 1.7045 ms/op 1.9954 ms/op 0.85
BLS verifyMultipleSignatures 32 - blst 4.8176 ms/op 6.4291 ms/op 0.75
BLS verifyMultipleSignatures 64 - blst 9.2235 ms/op 11.213 ms/op 0.82
BLS verifyMultipleSignatures 128 - blst 17.694 ms/op 17.901 ms/op 0.99
BLS deserializing 10000 signatures 687.34 ms/op 713.02 ms/op 0.96
BLS deserializing 100000 signatures 7.0693 s/op 7.1966 s/op 0.98
BLS verifyMultipleSignatures - same message - 3 - blst 947.47 us/op 1.0445 ms/op 0.91
BLS verifyMultipleSignatures - same message - 8 - blst 1.0223 ms/op 1.1363 ms/op 0.90
BLS verifyMultipleSignatures - same message - 32 - blst 1.7425 ms/op 1.7984 ms/op 0.97
BLS verifyMultipleSignatures - same message - 64 - blst 2.6919 ms/op 2.8785 ms/op 0.94
BLS verifyMultipleSignatures - same message - 128 - blst 4.4595 ms/op 4.5639 ms/op 0.98
BLS aggregatePubkeys 32 - blst 20.125 us/op 21.660 us/op 0.93
BLS aggregatePubkeys 128 - blst 71.845 us/op 74.848 us/op 0.96
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 61.145 ms/op 108.24 ms/op 0.56
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 56.582 ms/op 62.701 ms/op 0.90
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 47.345 ms/op 52.538 ms/op 0.90
getSlashingsAndExits - default max 125.01 us/op 150.87 us/op 0.83
getSlashingsAndExits - 2k 442.13 us/op 563.77 us/op 0.78
proposeBlockBody type=full, size=empty 7.3764 ms/op 6.9553 ms/op 1.06
isKnown best case - 1 super set check 574.00 ns/op 414.00 ns/op 1.39
isKnown normal case - 2 super set checks 492.00 ns/op 451.00 ns/op 1.09
isKnown worse case - 16 super set checks 377.00 ns/op 455.00 ns/op 0.83
InMemoryCheckpointStateCache - add get delete 3.2400 us/op 3.3550 us/op 0.97
validate api signedAggregateAndProof - struct 1.4842 ms/op 1.6190 ms/op 0.92
validate gossip signedAggregateAndProof - struct 1.4531 ms/op 1.6761 ms/op 0.87
batch validate gossip attestation - vc 640000 - chunk 32 142.58 us/op 156.72 us/op 0.91
batch validate gossip attestation - vc 640000 - chunk 64 129.90 us/op 146.94 us/op 0.88
batch validate gossip attestation - vc 640000 - chunk 128 128.53 us/op 124.36 us/op 1.03
batch validate gossip attestation - vc 640000 - chunk 256 120.03 us/op 124.23 us/op 0.97
pickEth1Vote - no votes 1.1514 ms/op 1.1410 ms/op 1.01
pickEth1Vote - max votes 7.5711 ms/op 6.1047 ms/op 1.24
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.536 ms/op 13.278 ms/op 1.32
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 23.324 ms/op 26.334 ms/op 0.89
pickEth1Vote - Eth1Data fastSerialize value x2048 559.54 us/op 594.94 us/op 0.94
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.6077 ms/op 4.7901 ms/op 0.75
bytes32 toHexString 524.00 ns/op 601.00 ns/op 0.87
bytes32 Buffer.toString(hex) 248.00 ns/op 243.00 ns/op 1.02
bytes32 Buffer.toString(hex) from Uint8Array 411.00 ns/op 453.00 ns/op 0.91
bytes32 Buffer.toString(hex) + 0x 250.00 ns/op 252.00 ns/op 0.99
Object access 1 prop 0.18900 ns/op 0.18200 ns/op 1.04
Map access 1 prop 0.14500 ns/op 0.14600 ns/op 0.99
Object get x1000 6.1130 ns/op 6.1910 ns/op 0.99
Map get x1000 6.8520 ns/op 6.8790 ns/op 1.00
Object set x1000 48.509 ns/op 51.666 ns/op 0.94
Map set x1000 29.990 ns/op 37.165 ns/op 0.81
Return object 10000 times 0.30770 ns/op 0.31480 ns/op 0.98
Throw Error 10000 times 3.6286 us/op 3.6703 us/op 0.99
toHex 168.32 ns/op 167.38 ns/op 1.01
Buffer.from 154.23 ns/op 156.05 ns/op 0.99
shared Buffer 96.207 ns/op 101.40 ns/op 0.95
fastMsgIdFn sha256 / 200 bytes 2.3930 us/op 2.5160 us/op 0.95
fastMsgIdFn h32 xxhash / 200 bytes 275.00 ns/op 315.00 ns/op 0.87
fastMsgIdFn h64 xxhash / 200 bytes 274.00 ns/op 315.00 ns/op 0.87
fastMsgIdFn sha256 / 1000 bytes 8.1120 us/op 7.8550 us/op 1.03
fastMsgIdFn h32 xxhash / 1000 bytes 416.00 ns/op 442.00 ns/op 0.94
fastMsgIdFn h64 xxhash / 1000 bytes 353.00 ns/op 379.00 ns/op 0.93
fastMsgIdFn sha256 / 10000 bytes 67.160 us/op 66.147 us/op 1.02
fastMsgIdFn h32 xxhash / 10000 bytes 1.9530 us/op 1.9820 us/op 0.99
fastMsgIdFn h64 xxhash / 10000 bytes 1.2380 us/op 1.3010 us/op 0.95
send data - 1000 256B messages 13.870 ms/op 14.029 ms/op 0.99
send data - 1000 512B messages 19.164 ms/op 18.425 ms/op 1.04
send data - 1000 1024B messages 29.426 ms/op 29.796 ms/op 0.99
send data - 1000 1200B messages 28.994 ms/op 26.579 ms/op 1.09
send data - 1000 2048B messages 33.438 ms/op 34.994 ms/op 0.96
send data - 1000 4096B messages 34.352 ms/op 32.319 ms/op 1.06
send data - 1000 16384B messages 75.800 ms/op 75.384 ms/op 1.01
send data - 1000 65536B messages 201.48 ms/op 239.27 ms/op 0.84
enrSubnets - fastDeserialize 64 bits 1.1240 us/op 1.1550 us/op 0.97
enrSubnets - ssz BitVector 64 bits 419.00 ns/op 405.00 ns/op 1.03
enrSubnets - fastDeserialize 4 bits 169.00 ns/op 192.00 ns/op 0.88
enrSubnets - ssz BitVector 4 bits 371.00 ns/op 450.00 ns/op 0.82
prioritizePeers score -10:0 att 32-0.1 sync 2-0 144.15 us/op 188.24 us/op 0.77
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 175.16 us/op 214.44 us/op 0.82
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 267.51 us/op 328.36 us/op 0.81
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 436.77 us/op 490.22 us/op 0.89
prioritizePeers score 0:0 att 64-1 sync 4-1 564.29 us/op 672.14 us/op 0.84
array of 16000 items push then shift 1.7891 us/op 1.7033 us/op 1.05
LinkedList of 16000 items push then shift 7.9200 ns/op 8.7420 ns/op 0.91
array of 16000 items push then pop 128.99 ns/op 140.65 ns/op 0.92
LinkedList of 16000 items push then pop 7.7200 ns/op 7.9340 ns/op 0.97
array of 24000 items push then shift 2.5587 us/op 2.4828 us/op 1.03
LinkedList of 24000 items push then shift 8.5910 ns/op 8.8330 ns/op 0.97
array of 24000 items push then pop 185.57 ns/op 164.64 ns/op 1.13
LinkedList of 24000 items push then pop 7.6370 ns/op 7.4090 ns/op 1.03
intersect bitArray bitLen 8 6.8160 ns/op 6.6620 ns/op 1.02
intersect array and set length 8 48.445 ns/op 46.657 ns/op 1.04
intersect bitArray bitLen 128 32.292 ns/op 31.228 ns/op 1.03
intersect array and set length 128 854.91 ns/op 691.96 ns/op 1.24
bitArray.getTrueBitIndexes() bitLen 128 1.5670 us/op 1.6090 us/op 0.97
bitArray.getTrueBitIndexes() bitLen 248 2.6070 us/op 2.5150 us/op 1.04
bitArray.getTrueBitIndexes() bitLen 512 5.4600 us/op 4.7850 us/op 1.14
Buffer.concat 32 items 815.00 ns/op 776.00 ns/op 1.05
Uint8Array.set 32 items 1.8210 us/op 1.4410 us/op 1.26
Buffer.copy 2.8030 us/op 2.6630 us/op 1.05
Uint8Array.set - with subarray 3.1480 us/op 2.2870 us/op 1.38
Uint8Array.set - without subarray 1.8010 us/op 1.4200 us/op 1.27
getUint32 - dataview 297.00 ns/op 233.00 ns/op 1.27
getUint32 - manual 204.00 ns/op 170.00 ns/op 1.20
Set add up to 64 items then delete first 2.6394 us/op 2.2593 us/op 1.17
OrderedSet add up to 64 items then delete first 3.4553 us/op 3.3249 us/op 1.04
Set add up to 64 items then delete last 3.1054 us/op 2.5328 us/op 1.23
OrderedSet add up to 64 items then delete last 3.9997 us/op 3.7826 us/op 1.06
Set add up to 64 items then delete middle 2.9502 us/op 2.5659 us/op 1.15
OrderedSet add up to 64 items then delete middle 5.8365 us/op 5.2497 us/op 1.11
Set add up to 128 items then delete first 5.8206 us/op 5.3500 us/op 1.09
OrderedSet add up to 128 items then delete first 9.4803 us/op 7.9665 us/op 1.19
Set add up to 128 items then delete last 6.1503 us/op 5.4551 us/op 1.13
OrderedSet add up to 128 items then delete last 8.6113 us/op 7.4776 us/op 1.15
Set add up to 128 items then delete middle 5.5672 us/op 5.3540 us/op 1.04
OrderedSet add up to 128 items then delete middle 16.214 us/op 15.682 us/op 1.03
Set add up to 256 items then delete first 14.890 us/op 11.320 us/op 1.32
OrderedSet add up to 256 items then delete first 20.246 us/op 19.521 us/op 1.04
Set add up to 256 items then delete last 11.937 us/op 12.036 us/op 0.99
OrderedSet add up to 256 items then delete last 17.280 us/op 18.509 us/op 0.93
Set add up to 256 items then delete middle 12.095 us/op 11.724 us/op 1.03
OrderedSet add up to 256 items then delete middle 47.029 us/op 46.619 us/op 1.01
transfer serialized Status (84 B) 3.0150 us/op 2.8530 us/op 1.06
copy serialized Status (84 B) 1.5120 us/op 1.5070 us/op 1.00
transfer serialized SignedVoluntaryExit (112 B) 3.0180 us/op 2.9330 us/op 1.03
copy serialized SignedVoluntaryExit (112 B) 1.5860 us/op 1.4680 us/op 1.08
transfer serialized ProposerSlashing (416 B) 3.8760 us/op 3.1560 us/op 1.23
copy serialized ProposerSlashing (416 B) 2.8990 us/op 1.9010 us/op 1.52
transfer serialized Attestation (485 B) 4.0220 us/op 3.0880 us/op 1.30
copy serialized Attestation (485 B) 2.8220 us/op 1.8640 us/op 1.51
transfer serialized AttesterSlashing (33232 B) 3.7640 us/op 2.7640 us/op 1.36
copy serialized AttesterSlashing (33232 B) 6.9500 us/op 6.3920 us/op 1.09
transfer serialized Small SignedBeaconBlock (128000 B) 3.9170 us/op 3.6630 us/op 1.07
copy serialized Small SignedBeaconBlock (128000 B) 15.068 us/op 20.229 us/op 0.74
transfer serialized Avg SignedBeaconBlock (200000 B) 3.7730 us/op 4.5660 us/op 0.83
copy serialized Avg SignedBeaconBlock (200000 B) 20.621 us/op 27.684 us/op 0.74
transfer serialized BlobsSidecar (524380 B) 3.9380 us/op 4.7600 us/op 0.83
copy serialized BlobsSidecar (524380 B) 94.360 us/op 92.429 us/op 1.02
transfer serialized Big SignedBeaconBlock (1000000 B) 4.4700 us/op 5.3240 us/op 0.84
copy serialized Big SignedBeaconBlock (1000000 B) 245.30 us/op 396.50 us/op 0.62
pass gossip attestations to forkchoice per slot 2.9155 ms/op 2.9228 ms/op 1.00
forkChoice updateHead vc 100000 bc 64 eq 0 498.78 us/op 473.46 us/op 1.05
forkChoice updateHead vc 600000 bc 64 eq 0 3.0328 ms/op 3.1543 ms/op 0.96
forkChoice updateHead vc 1000000 bc 64 eq 0 5.3817 ms/op 5.1736 ms/op 1.04
forkChoice updateHead vc 600000 bc 320 eq 0 3.1550 ms/op 3.0562 ms/op 1.03
forkChoice updateHead vc 600000 bc 1200 eq 0 3.3282 ms/op 2.9986 ms/op 1.11
forkChoice updateHead vc 600000 bc 7200 eq 0 4.8106 ms/op 3.8554 ms/op 1.25
forkChoice updateHead vc 600000 bc 64 eq 1000 11.621 ms/op 10.649 ms/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 10000 12.154 ms/op 10.644 ms/op 1.14
forkChoice updateHead vc 600000 bc 64 eq 300000 19.501 ms/op 15.971 ms/op 1.22
computeDeltas 500000 validators 300 proto nodes 4.4006 ms/op 4.2893 ms/op 1.03
computeDeltas 500000 validators 1200 proto nodes 4.3721 ms/op 4.1697 ms/op 1.05
computeDeltas 500000 validators 7200 proto nodes 4.2370 ms/op 4.1352 ms/op 1.02
computeDeltas 750000 validators 300 proto nodes 6.9915 ms/op 6.3695 ms/op 1.10
computeDeltas 750000 validators 1200 proto nodes 6.9982 ms/op 6.2209 ms/op 1.12
computeDeltas 750000 validators 7200 proto nodes 8.4027 ms/op 6.4931 ms/op 1.29
computeDeltas 1400000 validators 300 proto nodes 12.862 ms/op 11.953 ms/op 1.08
computeDeltas 1400000 validators 1200 proto nodes 13.385 ms/op 11.759 ms/op 1.14
computeDeltas 1400000 validators 7200 proto nodes 12.740 ms/op 11.898 ms/op 1.07
computeDeltas 2100000 validators 300 proto nodes 18.602 ms/op 18.269 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 18.894 ms/op 18.629 ms/op 1.01
computeDeltas 2100000 validators 7200 proto nodes 18.416 ms/op 17.742 ms/op 1.04
altair processAttestation - 250000 vs - 7PWei normalcase 2.2592 ms/op 2.1543 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei worstcase 3.1935 ms/op 3.5250 ms/op 0.91
altair processAttestation - setStatus - 1/6 committees join 137.70 us/op 140.13 us/op 0.98
altair processAttestation - setStatus - 1/3 committees join 261.81 us/op 244.36 us/op 1.07
altair processAttestation - setStatus - 1/2 committees join 361.23 us/op 332.28 us/op 1.09
altair processAttestation - setStatus - 2/3 committees join 456.32 us/op 455.09 us/op 1.00
altair processAttestation - setStatus - 4/5 committees join 628.82 us/op 612.13 us/op 1.03
altair processAttestation - setStatus - 100% committees join 741.00 us/op 743.21 us/op 1.00
altair processBlock - 250000 vs - 7PWei normalcase 4.4080 ms/op 4.9100 ms/op 0.90
altair processBlock - 250000 vs - 7PWei normalcase hashState 26.631 ms/op 31.975 ms/op 0.83
altair processBlock - 250000 vs - 7PWei worstcase 36.221 ms/op 42.483 ms/op 0.85
altair processBlock - 250000 vs - 7PWei worstcase hashState 72.356 ms/op 78.945 ms/op 0.92
phase0 processBlock - 250000 vs - 7PWei normalcase 2.1027 ms/op 2.8450 ms/op 0.74
phase0 processBlock - 250000 vs - 7PWei worstcase 21.831 ms/op 29.773 ms/op 0.73
altair processEth1Data - 250000 vs - 7PWei normalcase 349.55 us/op 329.65 us/op 1.06
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 7.6730 us/op 9.3670 us/op 0.82
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 48.852 us/op 72.768 us/op 0.67
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 16.150 us/op 19.032 us/op 0.85
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.997 us/op 10.249 us/op 1.17
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 170.13 us/op 224.53 us/op 0.76
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.1462 ms/op 1.2349 ms/op 0.93
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.5158 ms/op 2.3140 ms/op 0.66
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5369 ms/op 1.8216 ms/op 0.84
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.2632 ms/op 5.1659 ms/op 0.83
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.5656 ms/op 2.0149 ms/op 0.78
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.1137 ms/op 4.7926 ms/op 0.86
Tree 40 250000 create 229.98 ms/op 253.23 ms/op 0.91
Tree 40 250000 get(125000) 150.29 ns/op 162.43 ns/op 0.93
Tree 40 250000 set(125000) 704.79 ns/op 741.34 ns/op 0.95
Tree 40 250000 toArray() 18.156 ms/op 21.468 ms/op 0.85
Tree 40 250000 iterate all - toArray() + loop 20.370 ms/op 21.387 ms/op 0.95
Tree 40 250000 iterate all - get(i) 59.133 ms/op 59.088 ms/op 1.00
Array 250000 create 3.8057 ms/op 3.9176 ms/op 0.97
Array 250000 clone - spread 1.6084 ms/op 1.6164 ms/op 1.00
Array 250000 get(125000) 0.43300 ns/op 0.47500 ns/op 0.91
Array 250000 set(125000) 0.47000 ns/op 0.51400 ns/op 0.91
Array 250000 iterate all - loop 84.201 us/op 94.157 us/op 0.89
phase0 afterProcessEpoch - 250000 vs - 7PWei 54.163 ms/op 57.027 ms/op 0.95
Array.fill - length 1000000 3.9711 ms/op 5.5505 ms/op 0.72
Array push - length 1000000 19.574 ms/op 21.109 ms/op 0.93
Array.get 0.28845 ns/op 0.29776 ns/op 0.97
Uint8Array.get 0.45195 ns/op 0.47685 ns/op 0.95
phase0 beforeProcessEpoch - 250000 vs - 7PWei 16.859 ms/op 20.567 ms/op 0.82
altair processEpoch - mainnet_e81889 272.31 ms/op 317.86 ms/op 0.86
mainnet_e81889 - altair beforeProcessEpoch 22.323 ms/op 21.073 ms/op 1.06
mainnet_e81889 - altair processJustificationAndFinalization 16.732 us/op 17.781 us/op 0.94
mainnet_e81889 - altair processInactivityUpdates 5.7617 ms/op 7.1549 ms/op 0.81
mainnet_e81889 - altair processRewardsAndPenalties 44.490 ms/op 44.795 ms/op 0.99
mainnet_e81889 - altair processRegistryUpdates 2.2300 us/op 5.2460 us/op 0.43
mainnet_e81889 - altair processSlashings 731.00 ns/op 594.00 ns/op 1.23
mainnet_e81889 - altair processEth1DataReset 823.00 ns/op 555.00 ns/op 1.48
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4403 ms/op 1.7784 ms/op 0.81
mainnet_e81889 - altair processSlashingsReset 3.9040 us/op 8.3160 us/op 0.47
mainnet_e81889 - altair processRandaoMixesReset 5.2080 us/op 7.8260 us/op 0.67
mainnet_e81889 - altair processHistoricalRootsUpdate 792.00 ns/op 895.00 ns/op 0.88
mainnet_e81889 - altair processParticipationFlagUpdates 2.1780 us/op 3.2410 us/op 0.67
mainnet_e81889 - altair processSyncCommitteeUpdates 803.00 ns/op 1.3310 us/op 0.60
mainnet_e81889 - altair afterProcessEpoch 51.236 ms/op 52.158 ms/op 0.98
capella processEpoch - mainnet_e217614 1.0339 s/op 1.2015 s/op 0.86
mainnet_e217614 - capella beforeProcessEpoch 82.068 ms/op 85.113 ms/op 0.96
mainnet_e217614 - capella processJustificationAndFinalization 16.592 us/op 17.889 us/op 0.93
mainnet_e217614 - capella processInactivityUpdates 19.011 ms/op 19.372 ms/op 0.98
mainnet_e217614 - capella processRewardsAndPenalties 217.86 ms/op 237.64 ms/op 0.92
mainnet_e217614 - capella processRegistryUpdates 17.846 us/op 19.840 us/op 0.90
mainnet_e217614 - capella processSlashings 521.00 ns/op 727.00 ns/op 0.72
mainnet_e217614 - capella processEth1DataReset 385.00 ns/op 1.4760 us/op 0.26
mainnet_e217614 - capella processEffectiveBalanceUpdates 11.644 ms/op 17.574 ms/op 0.66
mainnet_e217614 - capella processSlashingsReset 2.3990 us/op 6.0130 us/op 0.40
mainnet_e217614 - capella processRandaoMixesReset 5.7200 us/op 6.6620 us/op 0.86
mainnet_e217614 - capella processHistoricalRootsUpdate 604.00 ns/op 782.00 ns/op 0.77
mainnet_e217614 - capella processParticipationFlagUpdates 1.8440 us/op 2.7930 us/op 0.66
mainnet_e217614 - capella afterProcessEpoch 122.18 ms/op 127.13 ms/op 0.96
phase0 processEpoch - mainnet_e58758 324.60 ms/op 337.48 ms/op 0.96
mainnet_e58758 - phase0 beforeProcessEpoch 72.733 ms/op 96.191 ms/op 0.76
mainnet_e58758 - phase0 processJustificationAndFinalization 13.315 us/op 17.203 us/op 0.77
mainnet_e58758 - phase0 processRewardsAndPenalties 31.058 ms/op 27.590 ms/op 1.13
mainnet_e58758 - phase0 processRegistryUpdates 11.796 us/op 14.619 us/op 0.81
mainnet_e58758 - phase0 processSlashings 525.00 ns/op 652.00 ns/op 0.81
mainnet_e58758 - phase0 processEth1DataReset 403.00 ns/op 512.00 ns/op 0.79
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1682 ms/op 1.4284 ms/op 0.82
mainnet_e58758 - phase0 processSlashingsReset 2.2090 us/op 2.7580 us/op 0.80
mainnet_e58758 - phase0 processRandaoMixesReset 4.4390 us/op 5.3470 us/op 0.83
mainnet_e58758 - phase0 processHistoricalRootsUpdate 391.00 ns/op 649.00 ns/op 0.60
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.4840 us/op 5.1810 us/op 0.67
mainnet_e58758 - phase0 afterProcessEpoch 42.778 ms/op 43.762 ms/op 0.98
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3436 ms/op 1.4995 ms/op 0.90
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.7811 ms/op 2.0602 ms/op 0.86
altair processInactivityUpdates - 250000 normalcase 13.996 ms/op 21.428 ms/op 0.65
altair processInactivityUpdates - 250000 worstcase 14.455 ms/op 20.592 ms/op 0.70
phase0 processRegistryUpdates - 250000 normalcase 9.0440 us/op 11.245 us/op 0.80
phase0 processRegistryUpdates - 250000 badcase_full_deposits 320.09 us/op 526.10 us/op 0.61
phase0 processRegistryUpdates - 250000 worstcase 0.5 117.70 ms/op 113.99 ms/op 1.03
altair processRewardsAndPenalties - 250000 normalcase 31.931 ms/op 43.912 ms/op 0.73
altair processRewardsAndPenalties - 250000 worstcase 34.621 ms/op 46.526 ms/op 0.74
phase0 getAttestationDeltas - 250000 normalcase 8.1238 ms/op 7.6087 ms/op 1.07
phase0 getAttestationDeltas - 250000 worstcase 8.2785 ms/op 7.7062 ms/op 1.07
phase0 processSlashings - 250000 worstcase 107.01 us/op 136.50 us/op 0.78
altair processSyncCommitteeUpdates - 250000 133.74 ms/op 121.28 ms/op 1.10
BeaconState.hashTreeRoot - No change 257.00 ns/op 234.00 ns/op 1.10
BeaconState.hashTreeRoot - 1 full validator 98.896 us/op 110.52 us/op 0.89
BeaconState.hashTreeRoot - 32 full validator 1.5532 ms/op 1.2236 ms/op 1.27
BeaconState.hashTreeRoot - 512 full validator 11.579 ms/op 11.179 ms/op 1.04
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 150.51 us/op 137.93 us/op 1.09
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.1188 ms/op 2.0293 ms/op 1.04
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 23.243 ms/op 23.071 ms/op 1.01
BeaconState.hashTreeRoot - 1 balances 82.706 us/op 98.803 us/op 0.84
BeaconState.hashTreeRoot - 32 balances 808.32 us/op 1.0152 ms/op 0.80
BeaconState.hashTreeRoot - 512 balances 7.5726 ms/op 8.1660 ms/op 0.93
BeaconState.hashTreeRoot - 250000 balances 168.29 ms/op 153.72 ms/op 1.09
aggregationBits - 2048 els - zipIndexesInBitList 25.283 us/op 23.814 us/op 1.06
byteArrayEquals 32 56.016 ns/op 53.734 ns/op 1.04
Buffer.compare 32 18.579 ns/op 17.297 ns/op 1.07
byteArrayEquals 1024 1.5983 us/op 1.5885 us/op 1.01
Buffer.compare 1024 25.982 ns/op 25.763 ns/op 1.01
byteArrayEquals 16384 25.661 us/op 25.277 us/op 1.02
Buffer.compare 16384 193.53 ns/op 193.58 ns/op 1.00
byteArrayEquals 123687377 197.99 ms/op 191.38 ms/op 1.03
Buffer.compare 123687377 9.7116 ms/op 6.3346 ms/op 1.53
byteArrayEquals 32 - diff last byte 54.864 ns/op 52.755 ns/op 1.04
Buffer.compare 32 - diff last byte 17.584 ns/op 17.317 ns/op 1.02
byteArrayEquals 1024 - diff last byte 1.6444 us/op 1.5925 us/op 1.03
Buffer.compare 1024 - diff last byte 26.366 ns/op 26.238 ns/op 1.00
byteArrayEquals 16384 - diff last byte 26.122 us/op 25.326 us/op 1.03
Buffer.compare 16384 - diff last byte 182.85 ns/op 204.50 ns/op 0.89
byteArrayEquals 123687377 - diff last byte 211.86 ms/op 194.62 ms/op 1.09
Buffer.compare 123687377 - diff last byte 7.8815 ms/op 6.9820 ms/op 1.13
byteArrayEquals 32 - random bytes 5.4750 ns/op 5.3490 ns/op 1.02
Buffer.compare 32 - random bytes 17.878 ns/op 17.843 ns/op 1.00
byteArrayEquals 1024 - random bytes 5.4490 ns/op 5.3130 ns/op 1.03
Buffer.compare 1024 - random bytes 17.820 ns/op 17.882 ns/op 1.00
byteArrayEquals 16384 - random bytes 5.4280 ns/op 5.3010 ns/op 1.02
Buffer.compare 16384 - random bytes 17.886 ns/op 17.867 ns/op 1.00
byteArrayEquals 123687377 - random bytes 6.8700 ns/op 6.7000 ns/op 1.03
Buffer.compare 123687377 - random bytes 19.760 ns/op 18.990 ns/op 1.04
regular array get 100000 times 35.522 us/op 35.848 us/op 0.99
wrappedArray get 100000 times 35.200 us/op 34.067 us/op 1.03
arrayWithProxy get 100000 times 13.173 ms/op 13.229 ms/op 1.00
ssz.Root.equals 47.656 ns/op 47.258 ns/op 1.01
byteArrayEquals 50.394 ns/op 46.529 ns/op 1.08
Buffer.compare 11.418 ns/op 10.802 ns/op 1.06
processSlot - 1 slots 14.890 us/op 13.402 us/op 1.11
processSlot - 32 slots 3.0226 ms/op 3.0955 ms/op 0.98
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 38.572 ms/op 38.550 ms/op 1.00
getCommitteeAssignments - req 1 vs - 250000 vc 2.2472 ms/op 2.2617 ms/op 0.99
getCommitteeAssignments - req 100 vs - 250000 vc 4.4379 ms/op 4.2529 ms/op 1.04
getCommitteeAssignments - req 1000 vs - 250000 vc 4.8168 ms/op 4.5708 ms/op 1.05
findModifiedValidators - 10000 modified validators 348.47 ms/op 226.25 ms/op 1.54
findModifiedValidators - 1000 modified validators 397.30 ms/op 180.35 ms/op 2.20
findModifiedValidators - 100 modified validators 283.22 ms/op 168.90 ms/op 1.68
findModifiedValidators - 10 modified validators 263.88 ms/op 172.22 ms/op 1.53
findModifiedValidators - 1 modified validators 235.51 ms/op 171.21 ms/op 1.38
findModifiedValidators - no difference 219.50 ms/op 171.46 ms/op 1.28
compare ViewDUs 3.7748 s/op 3.6014 s/op 1.05
compare each validator Uint8Array 1.8767 s/op 1.3366 s/op 1.40
compare ViewDU to Uint8Array 1.1888 s/op 1.2270 s/op 0.97
migrate state 1000000 validators, 24 modified, 0 new 775.28 ms/op 870.02 ms/op 0.89
migrate state 1000000 validators, 1700 modified, 1000 new 1.1052 s/op 1.0390 s/op 1.06
migrate state 1000000 validators, 3400 modified, 2000 new 1.3379 s/op 1.2435 s/op 1.08
migrate state 1500000 validators, 24 modified, 0 new 812.39 ms/op 870.07 ms/op 0.93
migrate state 1500000 validators, 1700 modified, 1000 new 1.0324 s/op 1.1091 s/op 0.93
migrate state 1500000 validators, 3400 modified, 2000 new 1.2695 s/op 1.4065 s/op 0.90
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.7000 ns/op 5.1800 ns/op 0.91
state getBlockRootAtSlot - 250000 vs - 7PWei 503.10 ns/op 722.48 ns/op 0.70
computeProposers - vc 250000 7.3541 ms/op 8.3247 ms/op 0.88
computeEpochShuffling - vc 250000 44.817 ms/op 44.264 ms/op 1.01
getNextSyncCommittee - vc 250000 134.08 ms/op 149.46 ms/op 0.90
computeSigningRoot for AttestationData 20.270 us/op 26.738 us/op 0.76
hash AttestationData serialized data then Buffer.toString(base64) 1.7629 us/op 1.6957 us/op 1.04
toHexString serialized data 1.0651 us/op 985.91 ns/op 1.08
Buffer.toString(base64) 210.37 ns/op 196.09 ns/op 1.07
nodejs block root to RootHex using toHex 166.89 ns/op 178.10 ns/op 0.94
nodejs block root to RootHex using toRootHex 118.97 ns/op 114.49 ns/op 1.04
browser block root to RootHex using the deprecated toHexString 283.78 ns/op 273.26 ns/op 1.04
browser block root to RootHex using toHex 229.70 ns/op 230.82 ns/op 1.00
browser block root to RootHex using toRootHex 198.91 ns/op 176.82 ns/op 1.12

by benchmarkbot/action

Copy link
Contributor

@twoeths twoeths left a comment

Choose a reason for hiding this comment

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

lgtm

@nflaig nflaig merged commit 86ed6f4 into unstable Dec 6, 2024
20 checks passed
@nflaig nflaig deleted the nflaig/log-sync-as-error branch December 6, 2024 08:38
wemeetagain added a commit that referenced this pull request Dec 20, 2024
* feat: add keymanager endpoint to retrieve proposer config (#7210)

* feat: add keymanager endpoint to retrieve proposer config

* Do not return empty builder config

* Check all builder proposer config values

* Fix settings builder config if undefined

* Fix builder config parsing

* Use ssz type to handle json serialization

Default parsing can't handle BigInt

* Revert "Use ssz type to handle json serialization"

This reverts commit 01fcea7.

* Fix boost factor json serialization

* Remove unused import

* Update test data

* Update proposer config test

* feat: add mekong network option (#7212)

* chore: fix import order with biome syntax (#7211)

Fix import order

* fix: consistently validate pubkey and throw 404 if not found (#7214)

* Throw error if pubkey is unknown when getting graffiti

* Consistently validate pubkey and throw 404 if not found

* fix: only return local keys from /eth/v1/keystores (#7215)

* fix: only return local keys from /eth/v1/keystores

* Fix fetching remote keys in node assertion

* feat: add and use getBlobsV1 to expedite gossip import (#7134)

* hookup the getblobs api to get bob and proof data from el

remove unused

fix import

metrics overhault, test, debugging testing, some feeback

fix

add nethermind bug dicussion link

fix

resolve conflicts

* deblobs timeout

* fix metric

* chore: revert async aggregate with randomness (#7218)

Revert "feat: asyncAggregateWithRandomness (#7204)"

This reverts commit e31d535.

* fix: update config for relaunched mekong network (#7220)

* fix: light client generating `LightClientUpdate` with wrong length of branches (#7187)

* initial commit

* Rewrite SyncCommitteeWitnessRepository

* Fix finality branch

* Update unit test

* fix e2e

* Review PR

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* fix: archive finalized state when shutting down beacon node (#7221)

* Fix typo

* feat: remove unfinalized pubkey cache (#7230)

* Remove unfinalized pubkey cache

* lint

* Fix unit test

* chore: skip web3_provider unit tests (#7252)

* fix: prune checkpoint states at syncing time (#7241)

* fix: prune checkpoint states at syncing time

* fix: lint

* fix: check-types in test

* fix: sync cached isCompoundingValidatorArr at epoch transition (#7247)

* fix: handle outOfRangeData when range sync Deneb (#7249)

* fix: handle outOfRangeData for beaconBlocksMaybeBlobsByRange()

* fix: lint

* fix: archiveBlocks - handle deneb outOfRangeData block

* fix: sync cached balance when adding new validator to registry (#7255)

* fix: sync cached balance when adding new validator to registry

* chore: add more comments

* fix: remove persisted checkpoint states from the previous run at startup

* fix: do not throw error when trying to prune missing directory (#7257)

* docs: update documentation Oct 2024 (#7178)

* docs update oct 2024 init

* Reconfig quickstart nav and minor fixes

* fix lint

* spelling fixes

* minor fixes and add to wordlist

* prettier fix

* add to wordlist

* sort wordlist

* modify dominance to include lighthouse

* fix typescript casing and add recommendation

* add selection and boost_factor with keymanager notice

* update wordlist

* remove builder enabled and add keymanager api

* spelling

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /docs (#7268)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: add error log to notifier if execution client auth failed (#7239)

* feat: add error log to notifier if execution client auth failed

* Update packages/beacon-node/src/node/notifier.ts

---------

Co-authored-by: NC <17676176+ensi321@users.noreply.github.com>

* docs: display rcConfig flag on CLI reference page (#7270)

* docs: display rcConfig flag on CLI reference page

* Update word list

* chore: remove prettier as default formatter for all file types (#7275)

* chore: unhide flags relevant for devnets / testing (#7271)

* feat: debug too many shuffling promises (#7251)

* feat: add asyncShufflingCalculation to StateTransitionOpts

* feat: add asyncShufflingCalculation to all regen / processSlots consumers

* fix: default to false for async shuffling and remove unnecessary props

* fix: remove unnecessary flags from stateTransition

* feat: implement conditional build of shuffling for prepareNextSlot

* fix: spec test bug where shufflingCache is present from BeaconChain constructor

* feat: sync build next shuffling if not queued async

* fix: use getSync to pull next shuffling correctly

* docs: add comment to prepareNextSlot

* refactor: rename StateCloneOpts to StateRegenerationOpts

* feat: pass asyncShufflingCalculation through to afterProcessEpoch and refactor conditional to run purely sync

* docs: add issue number to comment

* chore: lint

* chore: unpin nodejs version from 22.4 (#6982)

* Revert "chore: pin nodejs version to 22.4 (#6964)"

This reverts commit f20484b.

* Don't revert formatting changes

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Co-authored-by: Cayman <caymannava@gmail.com>

* chore: update bootnodes file url for holesky and sepolia (#7276)

* feat: add `debug_getHistoricalSummaries` endpoint (#7245)

* feat: add new getHistoricalSummaries endpoint to debug namespace

* Add JSON response

* Restructure to use stateId and add proof to response

* add test scaffolding

* Address feedback

* Move getHistoricalSummaries to lodestar namespace

* add lodestar namespace unit test

* update route name to lodestar namespace

* cast state object as Capella state

* Lint

* json properties need to be lower case

* Make it v1 since it's now part of lodestar namespace

* Group with other /lodestar endpoints

* Simplify beacon node impl

* Rename return type

* Update test description

* Fix variable name

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* chore: log sync committee signature errors as `error` (#7283)

* fix: update engine_getClientVersionV1 commit encoding (#7282)

* fix: check pubkey or validator index known to a state (#7284)

* fix: check pubkey or validator index known to a state

* chore: add more comments

* feat: lodestar script setup (#7254)

* feat: lodestar_setup

* feat: script_updates + docs

* feat: script_addition_in_docs + command_update

* Remove duplicate script from docs folder

* Minor script updates

* Update script to prepare docs and ignore copied file

* Update installation page

* Wording

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* feat: add terminal-sized Electra giraffe banner (#7286)

* Create giraffeBanners.ts

* Wire in banner

* Fix file name

* lint

* Address @nflaig's comment

---------

Co-authored-by: NC <17676176+ensi321@users.noreply.github.com>

* chore: pin nodejs version to 22.4 (#7291)

Revert "chore: unpin nodejs version from 22.4 (#6982)"

This reverts commit 69ae688.

* feat: expose `DOMAIN_APPLICATION_MASK` in config/spec api (#7296)

* feat: expose DOMAIN_APPLICATION_MASK in config/spec api

* Lint

* feat: make `MAX_REQUEST_BLOB_SIDECARS` and `MAX_BLOBS_PER_BLOCK` configurable (#7294)

* Init commit

* Fix check-types

* Add comment on how MAX_REQUEST_BLOB_SIDECARS is calculated

* Ensure proper config object is passed

* Address comment

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* feat: use `BLOB_SIDECAR_SUBNET_COUNT` to configure blob subnets (#7297)

feat: use BLOB_SIDECAR_SUBNET_COUNT to configure blob subnets

* chore: log sync aggregate participants when producing beacon block body (#7300)

* chore: log sync aggregate participants when producing beacon block body

* Use isForkLightClient instead of ForkSeq

* Fix produce block unit tests

* chore: print graffiti when producing beacon block body (#7303)

* fix: warn if engine / builder failed to produce block within cutoff time (#7305)

* feat: add kzg commitment length check when validating gossip blocks (#7302)

* feat: add blob sidecar index check (#7313)

Validate blobSidecar index

* fix: fix blob sidecar index check (#7315)

Fix index check

* chore: fix format of printed graffiti from hex to utf-8 (#7306)

* chore: fix format of printed graffiti from hex to utf-8

* Use Buffer.from no copy with offset

* docs: batch commit typos and update contributor readme (#7312)

* batch commit typos and update contributor readme

* update donation text

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* correct spelling

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* chore: remove trailing null bytes from printed graffiti (#7320)

* chore: remove trailing null bytes from printed graffiti

* Use replaceAll instead of regex

* chore: unpin nodejs version from 22.4 (#7324)

Revert "chore: pin nodejs version to 22.4 (#7291)"

This reverts commit 99794d3.

* chore: bump package versions to 1.24.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Co-authored-by: Nazar Hussain <nazarhussain@gmail.com>
Co-authored-by: g11tech <develop@g11tech.io>
Co-authored-by: Matthew Keil <me@matthewkeil.com>
Co-authored-by: NC <17676176+ensi321@users.noreply.github.com>
Co-authored-by: twoeths <tuyen@chainsafe.io>
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: acolytec3 <17355484+acolytec3@users.noreply.github.com>
Co-authored-by: Varun Guleria <152203177+varunguleriaCodes@users.noreply.github.com>
Co-authored-by: ClockworkYuzu <yvetteheh@gmail.com>
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.24.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