-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
docs: added debugging section #6743
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #6743 +/- ##
===========================================
Coverage ? 61.88%
===========================================
Files ? 562
Lines ? 59331
Branches ? 1916
===========================================
Hits ? 36715
Misses ? 22573
Partials ? 43 |
|
Benchmark suite | Current: 50b2c80 | Previous: c39b914 | Ratio |
---|---|---|---|
getSlashingsAndExits - default max | 409.44 us/op | 90.428 us/op | 4.53 |
Set add up to 64 items then delete first | 5.2664 us/op | 1.6632 us/op | 3.17 |
Buffer.compare 123687377 - diff last byte | 15.961 ms/op | 4.7715 ms/op | 3.35 |
Full benchmark results
Benchmark suite | Current: 50b2c80 | Previous: c39b914 | Ratio |
---|---|---|---|
getPubkeys - index2pubkey - req 1000 vs - 250000 vc | 1.1182 ms/op | 646.15 us/op | 1.73 |
getPubkeys - validatorsArr - req 1000 vs - 250000 vc | 149.88 us/op | 50.522 us/op | 2.97 |
BLS verify - blst-native | 1.5718 ms/op | 1.1868 ms/op | 1.32 |
BLS verifyMultipleSignatures 3 - blst-native | 2.7565 ms/op | 2.1848 ms/op | 1.26 |
BLS verifyMultipleSignatures 8 - blst-native | 5.8930 ms/op | 4.6922 ms/op | 1.26 |
BLS verifyMultipleSignatures 32 - blst-native | 23.294 ms/op | 17.242 ms/op | 1.35 |
BLS verifyMultipleSignatures 64 - blst-native | 55.458 ms/op | 34.237 ms/op | 1.62 |
BLS verifyMultipleSignatures 128 - blst-native | 96.126 ms/op | 67.862 ms/op | 1.42 |
BLS deserializing 10000 signatures | 1.0612 s/op | 784.88 ms/op | 1.35 |
BLS deserializing 100000 signatures | 10.641 s/op | 7.9082 s/op | 1.35 |
BLS verifyMultipleSignatures - same message - 3 - blst-native | 1.4473 ms/op | 1.1590 ms/op | 1.25 |
BLS verifyMultipleSignatures - same message - 8 - blst-native | 1.6932 ms/op | 1.3768 ms/op | 1.23 |
BLS verifyMultipleSignatures - same message - 32 - blst-native | 2.8427 ms/op | 2.1221 ms/op | 1.34 |
BLS verifyMultipleSignatures - same message - 64 - blst-native | 3.5616 ms/op | 3.1232 ms/op | 1.14 |
BLS verifyMultipleSignatures - same message - 128 - blst-native | 6.0497 ms/op | 4.9829 ms/op | 1.21 |
BLS aggregatePubkeys 32 - blst-native | 31.791 us/op | 24.782 us/op | 1.28 |
BLS aggregatePubkeys 128 - blst-native | 117.20 us/op | 97.379 us/op | 1.20 |
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 | 59.065 ms/op | 43.242 ms/op | 1.37 |
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 | 65.846 ms/op | 42.575 ms/op | 1.55 |
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 | 44.045 ms/op | 22.745 ms/op | 1.94 |
getSlashingsAndExits - default max | 409.44 us/op | 90.428 us/op | 4.53 |
getSlashingsAndExits - 2k | 514.56 us/op | 469.57 us/op | 1.10 |
proposeBlockBody type=full, size=empty | 6.7831 ms/op | 4.3003 ms/op | 1.58 |
isKnown best case - 1 super set check | 656.00 ns/op | 346.00 ns/op | 1.90 |
isKnown normal case - 2 super set checks | 633.00 ns/op | 332.00 ns/op | 1.91 |
isKnown worse case - 16 super set checks | 637.00 ns/op | 335.00 ns/op | 1.90 |
InMemoryCheckpointStateCache - add get delete | 7.1340 us/op | 4.1390 us/op | 1.72 |
validate api signedAggregateAndProof - struct | 2.4209 ms/op | 2.1166 ms/op | 1.14 |
validate gossip signedAggregateAndProof - struct | 2.4221 ms/op | 2.0573 ms/op | 1.18 |
validate gossip attestation - vc 640000 | 1.3913 ms/op | 1.1626 ms/op | 1.20 |
batch validate gossip attestation - vc 640000 - chunk 32 | 176.21 us/op | 157.24 us/op | 1.12 |
batch validate gossip attestation - vc 640000 - chunk 64 | 152.58 us/op | 151.90 us/op | 1.00 |
batch validate gossip attestation - vc 640000 - chunk 128 | 149.19 us/op | 128.54 us/op | 1.16 |
batch validate gossip attestation - vc 640000 - chunk 256 | 143.73 us/op | 124.11 us/op | 1.16 |
pickEth1Vote - no votes | 1.3161 ms/op | 855.50 us/op | 1.54 |
pickEth1Vote - max votes | 9.6335 ms/op | 5.2683 ms/op | 1.83 |
pickEth1Vote - Eth1Data hashTreeRoot value x2048 | 20.136 ms/op | 20.243 ms/op | 0.99 |
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 | 24.494 ms/op | 14.069 ms/op | 1.74 |
pickEth1Vote - Eth1Data fastSerialize value x2048 | 682.01 us/op | 436.36 us/op | 1.56 |
pickEth1Vote - Eth1Data fastSerialize tree x2048 | 4.7072 ms/op | 3.1525 ms/op | 1.49 |
bytes32 toHexString | 563.00 ns/op | 480.00 ns/op | 1.17 |
bytes32 Buffer.toString(hex) | 312.00 ns/op | 312.00 ns/op | 1.00 |
bytes32 Buffer.toString(hex) from Uint8Array | 470.00 ns/op | 428.00 ns/op | 1.10 |
bytes32 Buffer.toString(hex) + 0x | 305.00 ns/op | 319.00 ns/op | 0.96 |
Object access 1 prop | 0.16900 ns/op | 0.21000 ns/op | 0.80 |
Map access 1 prop | 0.15300 ns/op | 0.22500 ns/op | 0.68 |
Object get x1000 | 8.0880 ns/op | 5.7470 ns/op | 1.41 |
Map get x1000 | 0.83900 ns/op | 0.74000 ns/op | 1.13 |
Object set x1000 | 53.456 ns/op | 24.949 ns/op | 2.14 |
Map set x1000 | 41.497 ns/op | 17.281 ns/op | 2.40 |
Return object 10000 times | 0.24730 ns/op | 0.23180 ns/op | 1.07 |
Throw Error 10000 times | 3.9143 us/op | 2.7000 us/op | 1.45 |
fastMsgIdFn sha256 / 200 bytes | 3.4140 us/op | 1.9690 us/op | 1.73 |
fastMsgIdFn h32 xxhash / 200 bytes | 299.00 ns/op | 321.00 ns/op | 0.93 |
fastMsgIdFn h64 xxhash / 200 bytes | 359.00 ns/op | 347.00 ns/op | 1.03 |
fastMsgIdFn sha256 / 1000 bytes | 11.530 us/op | 6.1560 us/op | 1.87 |
fastMsgIdFn h32 xxhash / 1000 bytes | 467.00 ns/op | 424.00 ns/op | 1.10 |
fastMsgIdFn h64 xxhash / 1000 bytes | 465.00 ns/op | 410.00 ns/op | 1.13 |
fastMsgIdFn sha256 / 10000 bytes | 104.53 us/op | 52.812 us/op | 1.98 |
fastMsgIdFn h32 xxhash / 10000 bytes | 2.0060 us/op | 1.8230 us/op | 1.10 |
fastMsgIdFn h64 xxhash / 10000 bytes | 1.3680 us/op | 1.2580 us/op | 1.09 |
send data - 1000 256B messages | 19.411 ms/op | 9.9478 ms/op | 1.95 |
send data - 1000 512B messages | 27.704 ms/op | 13.484 ms/op | 2.05 |
send data - 1000 1024B messages | 40.684 ms/op | 22.257 ms/op | 1.83 |
send data - 1000 1200B messages | 38.331 ms/op | 23.592 ms/op | 1.62 |
send data - 1000 2048B messages | 43.957 ms/op | 30.002 ms/op | 1.47 |
send data - 1000 4096B messages | 40.322 ms/op | 26.283 ms/op | 1.53 |
send data - 1000 16384B messages | 100.86 ms/op | 65.830 ms/op | 1.53 |
send data - 1000 65536B messages | 424.79 ms/op | 340.82 ms/op | 1.25 |
enrSubnets - fastDeserialize 64 bits | 1.7420 us/op | 962.00 ns/op | 1.81 |
enrSubnets - ssz BitVector 64 bits | 673.00 ns/op | 453.00 ns/op | 1.49 |
enrSubnets - fastDeserialize 4 bits | 258.00 ns/op | 260.00 ns/op | 0.99 |
enrSubnets - ssz BitVector 4 bits | 530.00 ns/op | 490.00 ns/op | 1.08 |
prioritizePeers score -10:0 att 32-0.1 sync 2-0 | 255.50 us/op | 159.19 us/op | 1.61 |
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 | 337.09 us/op | 194.18 us/op | 1.74 |
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 | 550.38 us/op | 270.90 us/op | 2.03 |
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 | 641.72 us/op | 402.14 us/op | 1.60 |
prioritizePeers score 0:0 att 64-1 sync 4-1 | 836.71 us/op | 466.70 us/op | 1.79 |
array of 16000 items push then shift | 1.8338 us/op | 1.2637 us/op | 1.45 |
LinkedList of 16000 items push then shift | 10.864 ns/op | 7.4050 ns/op | 1.47 |
array of 16000 items push then pop | 106.11 ns/op | 92.359 ns/op | 1.15 |
LinkedList of 16000 items push then pop | 10.172 ns/op | 5.8350 ns/op | 1.74 |
array of 24000 items push then shift | 2.7585 us/op | 1.9059 us/op | 1.45 |
LinkedList of 24000 items push then shift | 10.424 ns/op | 6.9570 ns/op | 1.50 |
array of 24000 items push then pop | 156.97 ns/op | 127.37 ns/op | 1.23 |
LinkedList of 24000 items push then pop | 9.7470 ns/op | 5.6430 ns/op | 1.73 |
intersect bitArray bitLen 8 | 6.7160 ns/op | 4.6760 ns/op | 1.44 |
intersect array and set length 8 | 90.490 ns/op | 50.839 ns/op | 1.78 |
intersect bitArray bitLen 128 | 43.448 ns/op | 33.806 ns/op | 1.29 |
intersect array and set length 128 | 1.1151 us/op | 730.95 ns/op | 1.53 |
bitArray.getTrueBitIndexes() bitLen 128 | 1.8520 us/op | 1.4200 us/op | 1.30 |
bitArray.getTrueBitIndexes() bitLen 248 | 3.1150 us/op | 2.3350 us/op | 1.33 |
bitArray.getTrueBitIndexes() bitLen 512 | 6.2070 us/op | 4.5180 us/op | 1.37 |
Buffer.concat 32 items | 1.1020 us/op | 808.00 ns/op | 1.36 |
Uint8Array.set 32 items | 3.1030 us/op | 1.4080 us/op | 2.20 |
Set add up to 64 items then delete first | 5.2664 us/op | 1.6632 us/op | 3.17 |
OrderedSet add up to 64 items then delete first | 6.9733 us/op | 2.7053 us/op | 2.58 |
Set add up to 64 items then delete last | 5.6751 us/op | 1.9962 us/op | 2.84 |
OrderedSet add up to 64 items then delete last | 7.4694 us/op | 2.9581 us/op | 2.53 |
Set add up to 64 items then delete middle | 5.7143 us/op | 1.9943 us/op | 2.87 |
OrderedSet add up to 64 items then delete middle | 9.1203 us/op | 4.2215 us/op | 2.16 |
Set add up to 128 items then delete first | 11.118 us/op | 4.1881 us/op | 2.65 |
OrderedSet add up to 128 items then delete first | 15.564 us/op | 6.3428 us/op | 2.45 |
Set add up to 128 items then delete last | 10.968 us/op | 4.1185 us/op | 2.66 |
OrderedSet add up to 128 items then delete last | 14.051 us/op | 6.5127 us/op | 2.16 |
Set add up to 128 items then delete middle | 10.968 us/op | 3.7616 us/op | 2.92 |
OrderedSet add up to 128 items then delete middle | 20.879 us/op | 10.719 us/op | 1.95 |
Set add up to 256 items then delete first | 21.846 us/op | 7.3992 us/op | 2.95 |
OrderedSet add up to 256 items then delete first | 26.698 us/op | 12.007 us/op | 2.22 |
Set add up to 256 items then delete last | 20.281 us/op | 7.4321 us/op | 2.73 |
OrderedSet add up to 256 items then delete last | 27.168 us/op | 11.141 us/op | 2.44 |
Set add up to 256 items then delete middle | 19.926 us/op | 7.4259 us/op | 2.68 |
OrderedSet add up to 256 items then delete middle | 47.619 us/op | 30.391 us/op | 1.57 |
transfer serialized Status (84 B) | 1.8320 us/op | 1.4460 us/op | 1.27 |
copy serialized Status (84 B) | 1.4140 us/op | 1.2180 us/op | 1.16 |
transfer serialized SignedVoluntaryExit (112 B) | 2.0350 us/op | 1.5130 us/op | 1.35 |
copy serialized SignedVoluntaryExit (112 B) | 1.4920 us/op | 1.2070 us/op | 1.24 |
transfer serialized ProposerSlashing (416 B) | 3.2430 us/op | 2.7360 us/op | 1.19 |
copy serialized ProposerSlashing (416 B) | 3.0050 us/op | 1.9010 us/op | 1.58 |
transfer serialized Attestation (485 B) | 3.3040 us/op | 2.0500 us/op | 1.61 |
copy serialized Attestation (485 B) | 3.1760 us/op | 1.9860 us/op | 1.60 |
transfer serialized AttesterSlashing (33232 B) | 3.4070 us/op | 1.9550 us/op | 1.74 |
copy serialized AttesterSlashing (33232 B) | 7.5200 us/op | 5.2840 us/op | 1.42 |
transfer serialized Small SignedBeaconBlock (128000 B) | 3.3400 us/op | 2.1040 us/op | 1.59 |
copy serialized Small SignedBeaconBlock (128000 B) | 47.656 us/op | 9.1350 us/op | 5.22 |
transfer serialized Avg SignedBeaconBlock (200000 B) | 2.7070 us/op | 2.0310 us/op | 1.33 |
copy serialized Avg SignedBeaconBlock (200000 B) | 20.451 us/op | 12.255 us/op | 1.67 |
transfer serialized BlobsSidecar (524380 B) | 2.7650 us/op | 2.3030 us/op | 1.20 |
copy serialized BlobsSidecar (524380 B) | 139.56 us/op | 76.294 us/op | 1.83 |
transfer serialized Big SignedBeaconBlock (1000000 B) | 2.8650 us/op | 2.5590 us/op | 1.12 |
copy serialized Big SignedBeaconBlock (1000000 B) | 140.83 us/op | 131.76 us/op | 1.07 |
pass gossip attestations to forkchoice per slot | 3.9219 ms/op | 2.8133 ms/op | 1.39 |
forkChoice updateHead vc 100000 bc 64 eq 0 | 696.73 us/op | 478.94 us/op | 1.45 |
forkChoice updateHead vc 600000 bc 64 eq 0 | 4.7135 ms/op | 2.7015 ms/op | 1.74 |
forkChoice updateHead vc 1000000 bc 64 eq 0 | 7.5671 ms/op | 4.4085 ms/op | 1.72 |
forkChoice updateHead vc 600000 bc 320 eq 0 | 4.4389 ms/op | 2.7330 ms/op | 1.62 |
forkChoice updateHead vc 600000 bc 1200 eq 0 | 4.3892 ms/op | 3.0858 ms/op | 1.42 |
forkChoice updateHead vc 600000 bc 7200 eq 0 | 5.6190 ms/op | 3.3882 ms/op | 1.66 |
forkChoice updateHead vc 600000 bc 64 eq 1000 | 11.391 ms/op | 9.8430 ms/op | 1.16 |
forkChoice updateHead vc 600000 bc 64 eq 10000 | 11.908 ms/op | 9.7544 ms/op | 1.22 |
forkChoice updateHead vc 600000 bc 64 eq 300000 | 16.302 ms/op | 11.977 ms/op | 1.36 |
computeDeltas 500000 validators 300 proto nodes | 6.6378 ms/op | 3.1758 ms/op | 2.09 |
computeDeltas 500000 validators 1200 proto nodes | 6.4075 ms/op | 3.0580 ms/op | 2.10 |
computeDeltas 500000 validators 7200 proto nodes | 6.3400 ms/op | 3.1692 ms/op | 2.00 |
computeDeltas 750000 validators 300 proto nodes | 9.7168 ms/op | 4.7377 ms/op | 2.05 |
computeDeltas 750000 validators 1200 proto nodes | 9.6610 ms/op | 4.6250 ms/op | 2.09 |
computeDeltas 750000 validators 7200 proto nodes | 9.4873 ms/op | 4.8031 ms/op | 1.98 |
computeDeltas 1400000 validators 300 proto nodes | 18.279 ms/op | 8.7778 ms/op | 2.08 |
computeDeltas 1400000 validators 1200 proto nodes | 18.251 ms/op | 8.7448 ms/op | 2.09 |
computeDeltas 1400000 validators 7200 proto nodes | 18.511 ms/op | 8.7144 ms/op | 2.12 |
computeDeltas 2100000 validators 300 proto nodes | 27.645 ms/op | 13.758 ms/op | 2.01 |
computeDeltas 2100000 validators 1200 proto nodes | 28.460 ms/op | 13.067 ms/op | 2.18 |
computeDeltas 2100000 validators 7200 proto nodes | 29.423 ms/op | 13.417 ms/op | 2.19 |
altair processAttestation - 250000 vs - 7PWei normalcase | 3.1016 ms/op | 1.8392 ms/op | 1.69 |
altair processAttestation - 250000 vs - 7PWei worstcase | 4.0794 ms/op | 3.0223 ms/op | 1.35 |
altair processAttestation - setStatus - 1/6 committees join | 183.21 us/op | 103.31 us/op | 1.77 |
altair processAttestation - setStatus - 1/3 committees join | 344.68 us/op | 184.10 us/op | 1.87 |
altair processAttestation - setStatus - 1/2 committees join | 483.94 us/op | 273.33 us/op | 1.77 |
altair processAttestation - setStatus - 2/3 committees join | 588.11 us/op | 359.67 us/op | 1.64 |
altair processAttestation - setStatus - 4/5 committees join | 797.27 us/op | 511.77 us/op | 1.56 |
altair processAttestation - setStatus - 100% committees join | 929.79 us/op | 579.12 us/op | 1.61 |
altair processBlock - 250000 vs - 7PWei normalcase | 11.121 ms/op | 7.7869 ms/op | 1.43 |
altair processBlock - 250000 vs - 7PWei normalcase hashState | 37.080 ms/op | 30.065 ms/op | 1.23 |
altair processBlock - 250000 vs - 7PWei worstcase | 36.924 ms/op | 29.526 ms/op | 1.25 |
altair processBlock - 250000 vs - 7PWei worstcase hashState | 103.97 ms/op | 85.006 ms/op | 1.22 |
phase0 processBlock - 250000 vs - 7PWei normalcase | 2.7828 ms/op | 2.1560 ms/op | 1.29 |
phase0 processBlock - 250000 vs - 7PWei worstcase | 33.226 ms/op | 27.734 ms/op | 1.20 |
altair processEth1Data - 250000 vs - 7PWei normalcase | 558.66 us/op | 272.56 us/op | 2.05 |
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 | 14.289 us/op | 15.225 us/op | 0.94 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 | 79.954 us/op | 67.691 us/op | 1.18 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 | 25.484 us/op | 15.654 us/op | 1.63 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 | 15.486 us/op | 14.665 us/op | 1.06 |
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 | 192.51 us/op | 137.49 us/op | 1.40 |
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 | 1.6516 ms/op | 1.0357 ms/op | 1.59 |
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 | 1.9685 ms/op | 1.5764 ms/op | 1.25 |
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 | 2.0202 ms/op | 1.1477 ms/op | 1.76 |
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 | 3.2931 ms/op | 3.0947 ms/op | 1.06 |
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 | 2.5946 ms/op | 2.3523 ms/op | 1.10 |
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 | 4.9144 ms/op | 4.3282 ms/op | 1.14 |
Tree 40 250000 create | 266.14 ms/op | 190.91 ms/op | 1.39 |
Tree 40 250000 get(125000) | 196.37 ns/op | 122.68 ns/op | 1.60 |
Tree 40 250000 set(125000) | 726.64 ns/op | 539.43 ns/op | 1.35 |
Tree 40 250000 toArray() | 17.049 ms/op | 18.480 ms/op | 0.92 |
Tree 40 250000 iterate all - toArray() + loop | 19.632 ms/op | 16.382 ms/op | 1.20 |
Tree 40 250000 iterate all - get(i) | 70.991 ms/op | 51.577 ms/op | 1.38 |
MutableVector 250000 create | 17.481 ms/op | 13.951 ms/op | 1.25 |
MutableVector 250000 get(125000) | 6.8150 ns/op | 5.7060 ns/op | 1.19 |
MutableVector 250000 set(125000) | 264.87 ns/op | 412.85 ns/op | 0.64 |
MutableVector 250000 toArray() | 3.0580 ms/op | 2.9795 ms/op | 1.03 |
MutableVector 250000 iterate all - toArray() + loop | 3.7673 ms/op | 2.5932 ms/op | 1.45 |
MutableVector 250000 iterate all - get(i) | 1.5576 ms/op | 1.3530 ms/op | 1.15 |
Array 250000 create | 3.1191 ms/op | 2.2512 ms/op | 1.39 |
Array 250000 clone - spread | 1.1693 ms/op | 1.1019 ms/op | 1.06 |
Array 250000 get(125000) | 1.0200 ns/op | 1.0680 ns/op | 0.96 |
Array 250000 set(125000) | 4.1680 ns/op | 1.2380 ns/op | 3.37 |
Array 250000 iterate all - loop | 164.22 us/op | 157.08 us/op | 1.05 |
effectiveBalanceIncrements clone Uint8Array 300000 | 26.148 us/op | 14.545 us/op | 1.80 |
effectiveBalanceIncrements clone MutableVector 300000 | 357.00 ns/op | 408.00 ns/op | 0.88 |
effectiveBalanceIncrements rw all Uint8Array 300000 | 199.32 us/op | 185.16 us/op | 1.08 |
effectiveBalanceIncrements rw all MutableVector 300000 | 89.988 ms/op | 99.392 ms/op | 0.91 |
phase0 afterProcessEpoch - 250000 vs - 7PWei | 113.88 ms/op | 76.355 ms/op | 1.49 |
phase0 beforeProcessEpoch - 250000 vs - 7PWei | 48.890 ms/op | 46.381 ms/op | 1.05 |
altair processEpoch - mainnet_e81889 | 515.44 ms/op | 391.50 ms/op | 1.32 |
mainnet_e81889 - altair beforeProcessEpoch | 77.984 ms/op | 59.712 ms/op | 1.31 |
mainnet_e81889 - altair processJustificationAndFinalization | 19.945 us/op | 10.406 us/op | 1.92 |
mainnet_e81889 - altair processInactivityUpdates | 6.0923 ms/op | 7.0145 ms/op | 0.87 |
mainnet_e81889 - altair processRewardsAndPenalties | 56.460 ms/op | 54.415 ms/op | 1.04 |
mainnet_e81889 - altair processRegistryUpdates | 2.2780 us/op | 2.6720 us/op | 0.85 |
mainnet_e81889 - altair processSlashings | 513.00 ns/op | 630.00 ns/op | 0.81 |
mainnet_e81889 - altair processEth1DataReset | 827.00 ns/op | 711.00 ns/op | 1.16 |
mainnet_e81889 - altair processEffectiveBalanceUpdates | 1.6360 ms/op | 979.15 us/op | 1.67 |
mainnet_e81889 - altair processSlashingsReset | 4.7120 us/op | 2.5070 us/op | 1.88 |
mainnet_e81889 - altair processRandaoMixesReset | 5.5540 us/op | 3.3630 us/op | 1.65 |
mainnet_e81889 - altair processHistoricalRootsUpdate | 1.0340 us/op | 979.00 ns/op | 1.06 |
mainnet_e81889 - altair processParticipationFlagUpdates | 1.9970 us/op | 2.0240 us/op | 0.99 |
mainnet_e81889 - altair processSyncCommitteeUpdates | 714.00 ns/op | 820.00 ns/op | 0.87 |
mainnet_e81889 - altair afterProcessEpoch | 125.48 ms/op | 85.531 ms/op | 1.47 |
capella processEpoch - mainnet_e217614 | 1.8009 s/op | 1.3466 s/op | 1.34 |
mainnet_e217614 - capella beforeProcessEpoch | 344.12 ms/op | 252.92 ms/op | 1.36 |
mainnet_e217614 - capella processJustificationAndFinalization | 29.866 us/op | 14.159 us/op | 2.11 |
mainnet_e217614 - capella processInactivityUpdates | 26.384 ms/op | 12.932 ms/op | 2.04 |
mainnet_e217614 - capella processRewardsAndPenalties | 318.26 ms/op | 237.95 ms/op | 1.34 |
mainnet_e217614 - capella processRegistryUpdates | 31.174 us/op | 18.048 us/op | 1.73 |
mainnet_e217614 - capella processSlashings | 1.2050 us/op | 606.00 ns/op | 1.99 |
mainnet_e217614 - capella processEth1DataReset | 916.00 ns/op | 515.00 ns/op | 1.78 |
mainnet_e217614 - capella processEffectiveBalanceUpdates | 4.6649 ms/op | 3.1965 ms/op | 1.46 |
mainnet_e217614 - capella processSlashingsReset | 6.1950 us/op | 1.3680 us/op | 4.53 |
mainnet_e217614 - capella processRandaoMixesReset | 8.6690 us/op | 2.9240 us/op | 2.96 |
mainnet_e217614 - capella processHistoricalRootsUpdate | 1.4290 us/op | 540.00 ns/op | 2.65 |
mainnet_e217614 - capella processParticipationFlagUpdates | 3.3990 us/op | 1.3910 us/op | 2.44 |
mainnet_e217614 - capella afterProcessEpoch | 354.95 ms/op | 217.85 ms/op | 1.63 |
phase0 processEpoch - mainnet_e58758 | 740.65 ms/op | 422.78 ms/op | 1.75 |
mainnet_e58758 - phase0 beforeProcessEpoch | 207.96 ms/op | 108.66 ms/op | 1.91 |
mainnet_e58758 - phase0 processJustificationAndFinalization | 33.290 us/op | 11.355 us/op | 2.93 |
mainnet_e58758 - phase0 processRewardsAndPenalties | 40.363 ms/op | 27.849 ms/op | 1.45 |
mainnet_e58758 - phase0 processRegistryUpdates | 26.866 us/op | 8.3280 us/op | 3.23 |
mainnet_e58758 - phase0 processSlashings | 1.7830 us/op | 438.00 ns/op | 4.07 |
mainnet_e58758 - phase0 processEth1DataReset | 1.4210 us/op | 621.00 ns/op | 2.29 |
mainnet_e58758 - phase0 processEffectiveBalanceUpdates | 2.0032 ms/op | 1.3737 ms/op | 1.46 |
mainnet_e58758 - phase0 processSlashingsReset | 9.0740 us/op | 2.4320 us/op | 3.73 |
mainnet_e58758 - phase0 processRandaoMixesReset | 9.7000 us/op | 3.9750 us/op | 2.44 |
mainnet_e58758 - phase0 processHistoricalRootsUpdate | 1.2840 us/op | 600.00 ns/op | 2.14 |
mainnet_e58758 - phase0 processParticipationRecordUpdates | 11.452 us/op | 3.1480 us/op | 3.64 |
mainnet_e58758 - phase0 afterProcessEpoch | 129.62 ms/op | 66.279 ms/op | 1.96 |
phase0 processEffectiveBalanceUpdates - 250000 normalcase | 2.4563 ms/op | 941.40 us/op | 2.61 |
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 | 1.8993 ms/op | 1.0740 ms/op | 1.77 |
altair processInactivityUpdates - 250000 normalcase | 22.621 ms/op | 14.611 ms/op | 1.55 |
altair processInactivityUpdates - 250000 worstcase | 24.652 ms/op | 16.441 ms/op | 1.50 |
phase0 processRegistryUpdates - 250000 normalcase | 18.238 us/op | 5.6460 us/op | 3.23 |
phase0 processRegistryUpdates - 250000 badcase_full_deposits | 622.49 us/op | 417.96 us/op | 1.49 |
phase0 processRegistryUpdates - 250000 worstcase 0.5 | 187.64 ms/op | 112.15 ms/op | 1.67 |
altair processRewardsAndPenalties - 250000 normalcase | 63.335 ms/op | 51.299 ms/op | 1.23 |
altair processRewardsAndPenalties - 250000 worstcase | 59.261 ms/op | 41.170 ms/op | 1.44 |
phase0 getAttestationDeltas - 250000 normalcase | 17.093 ms/op | 6.9411 ms/op | 2.46 |
phase0 getAttestationDeltas - 250000 worstcase | 13.396 ms/op | 6.1543 ms/op | 2.18 |
phase0 processSlashings - 250000 worstcase | 132.40 us/op | 82.564 us/op | 1.60 |
altair processSyncCommitteeUpdates - 250000 | 180.17 ms/op | 107.98 ms/op | 1.67 |
BeaconState.hashTreeRoot - No change | 770.00 ns/op | 427.00 ns/op | 1.80 |
BeaconState.hashTreeRoot - 1 full validator | 186.84 us/op | 110.77 us/op | 1.69 |
BeaconState.hashTreeRoot - 32 full validator | 1.4668 ms/op | 990.07 us/op | 1.48 |
BeaconState.hashTreeRoot - 512 full validator | 17.683 ms/op | 13.896 ms/op | 1.27 |
BeaconState.hashTreeRoot - 1 validator.effectiveBalance | 173.96 us/op | 112.45 us/op | 1.55 |
BeaconState.hashTreeRoot - 32 validator.effectiveBalance | 2.3546 ms/op | 2.7628 ms/op | 0.85 |
BeaconState.hashTreeRoot - 512 validator.effectiveBalance | 28.072 ms/op | 24.166 ms/op | 1.16 |
BeaconState.hashTreeRoot - 1 balances | 125.65 us/op | 81.143 us/op | 1.55 |
BeaconState.hashTreeRoot - 32 balances | 1.1962 ms/op | 1.0474 ms/op | 1.14 |
BeaconState.hashTreeRoot - 512 balances | 13.004 ms/op | 7.5712 ms/op | 1.72 |
BeaconState.hashTreeRoot - 250000 balances | 288.44 ms/op | 146.41 ms/op | 1.97 |
aggregationBits - 2048 els - zipIndexesInBitList | 45.759 us/op | 19.346 us/op | 2.37 |
byteArrayEquals 32 | 83.251 ns/op | 66.990 ns/op | 1.24 |
Buffer.compare 32 | 57.912 ns/op | 38.784 ns/op | 1.49 |
byteArrayEquals 1024 | 2.1207 us/op | 1.9006 us/op | 1.12 |
Buffer.compare 1024 | 75.454 ns/op | 46.958 ns/op | 1.61 |
byteArrayEquals 16384 | 35.029 us/op | 28.067 us/op | 1.25 |
Buffer.compare 16384 | 277.11 ns/op | 218.97 ns/op | 1.27 |
byteArrayEquals 123687377 | 295.95 ms/op | 214.71 ms/op | 1.38 |
Buffer.compare 123687377 | 13.040 ms/op | 4.8997 ms/op | 2.66 |
byteArrayEquals 32 - diff last byte | 80.034 ns/op | 65.223 ns/op | 1.23 |
Buffer.compare 32 - diff last byte | 60.161 ns/op | 39.954 ns/op | 1.51 |
byteArrayEquals 1024 - diff last byte | 2.6392 us/op | 1.7434 us/op | 1.51 |
Buffer.compare 1024 - diff last byte | 96.629 ns/op | 47.793 ns/op | 2.02 |
byteArrayEquals 16384 - diff last byte | 43.291 us/op | 30.126 us/op | 1.44 |
Buffer.compare 16384 - diff last byte | 296.16 ns/op | 215.55 ns/op | 1.37 |
byteArrayEquals 123687377 - diff last byte | 386.54 ms/op | 200.66 ms/op | 1.93 |
Buffer.compare 123687377 - diff last byte | 15.961 ms/op | 4.7715 ms/op | 3.35 |
byteArrayEquals 32 - random bytes | 8.4400 ns/op | 4.5390 ns/op | 1.86 |
Buffer.compare 32 - random bytes | 68.967 ns/op | 38.467 ns/op | 1.79 |
byteArrayEquals 1024 - random bytes | 7.3760 ns/op | 5.2240 ns/op | 1.41 |
Buffer.compare 1024 - random bytes | 65.993 ns/op | 37.511 ns/op | 1.76 |
byteArrayEquals 16384 - random bytes | 6.8190 ns/op | 4.5730 ns/op | 1.49 |
Buffer.compare 16384 - random bytes | 64.520 ns/op | 39.515 ns/op | 1.63 |
byteArrayEquals 123687377 - random bytes | 19.270 ns/op | 7.7600 ns/op | 2.48 |
Buffer.compare 123687377 - random bytes | 77.270 ns/op | 43.720 ns/op | 1.77 |
regular array get 100000 times | 47.862 us/op | 40.970 us/op | 1.17 |
wrappedArray get 100000 times | 49.394 us/op | 40.952 us/op | 1.21 |
arrayWithProxy get 100000 times | 15.708 ms/op | 10.722 ms/op | 1.47 |
ssz.Root.equals | 58.667 ns/op | 55.196 ns/op | 1.06 |
byteArrayEquals | 58.247 ns/op | 53.941 ns/op | 1.08 |
Buffer.compare | 13.427 ns/op | 9.6950 ns/op | 1.38 |
shuffle list - 16384 els | 9.7234 ms/op | 6.0021 ms/op | 1.62 |
shuffle list - 250000 els | 141.25 ms/op | 84.797 ms/op | 1.67 |
processSlot - 1 slots | 22.804 us/op | 12.521 us/op | 1.82 |
processSlot - 32 slots | 4.9300 ms/op | 2.0804 ms/op | 2.37 |
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei | 67.737 ms/op | 45.578 ms/op | 1.49 |
getCommitteeAssignments - req 1 vs - 250000 vc | 2.7426 ms/op | 2.4789 ms/op | 1.11 |
getCommitteeAssignments - req 100 vs - 250000 vc | 3.9506 ms/op | 3.6190 ms/op | 1.09 |
getCommitteeAssignments - req 1000 vs - 250000 vc | 4.3243 ms/op | 4.0071 ms/op | 1.08 |
findModifiedValidators - 10000 modified validators | 357.44 ms/op | 355.28 ms/op | 1.01 |
findModifiedValidators - 1000 modified validators | 225.00 ms/op | 207.30 ms/op | 1.09 |
findModifiedValidators - 100 modified validators | 205.00 ms/op | 159.13 ms/op | 1.29 |
findModifiedValidators - 10 modified validators | 211.66 ms/op | 164.21 ms/op | 1.29 |
findModifiedValidators - 1 modified validators | 178.29 ms/op | 156.02 ms/op | 1.14 |
findModifiedValidators - no difference | 208.96 ms/op | 174.30 ms/op | 1.20 |
compare ViewDUs | 4.0977 s/op | 3.4390 s/op | 1.19 |
compare each validator Uint8Array | 1.7922 s/op | 1.4776 s/op | 1.21 |
compare ViewDU to Uint8Array | 1.3071 s/op | 839.46 ms/op | 1.56 |
migrate state 1000000 validators, 24 modified, 0 new | 778.66 ms/op | 653.53 ms/op | 1.19 |
migrate state 1000000 validators, 1700 modified, 1000 new | 1.2066 s/op | 989.27 ms/op | 1.22 |
migrate state 1000000 validators, 3400 modified, 2000 new | 1.5743 s/op | 1.4183 s/op | 1.11 |
migrate state 1500000 validators, 24 modified, 0 new | 828.69 ms/op | 660.08 ms/op | 1.26 |
migrate state 1500000 validators, 1700 modified, 1000 new | 1.3182 s/op | 1.0591 s/op | 1.24 |
migrate state 1500000 validators, 3400 modified, 2000 new | 1.9231 s/op | 1.3462 s/op | 1.43 |
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei | 5.2800 ns/op | 5.2300 ns/op | 1.01 |
state getBlockRootAtSlot - 250000 vs - 7PWei | 735.47 ns/op | 1.1831 us/op | 0.62 |
computeProposers - vc 250000 | 10.941 ms/op | 6.8425 ms/op | 1.60 |
computeEpochShuffling - vc 250000 | 133.82 ms/op | 86.840 ms/op | 1.54 |
getNextSyncCommittee - vc 250000 | 180.36 ms/op | 119.14 ms/op | 1.51 |
computeSigningRoot for AttestationData | 33.131 us/op | 19.607 us/op | 1.69 |
hash AttestationData serialized data then Buffer.toString(base64) | 2.7275 us/op | 1.2949 us/op | 2.11 |
toHexString serialized data | 2.0189 us/op | 799.26 ns/op | 2.53 |
Buffer.toString(base64) | 330.74 ns/op | 197.86 ns/op | 1.67 |
by benchmarkbot/action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get some feedback from others before merging this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome!!! Great job! 🚀
Just a couple questions
.vscode/launch.template.json
Outdated
"type": "node", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/node_modules/.bin/vitest", | ||
"args": ["--run", "${file}", "-t", "${input:testName}"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a single thread flag here so the test starts up quicker?
"args": ["--run", "${file}", "-t", "${input:testName}"], | |
"args": [ | |
"--run", | |
"--pool", | |
"threads", | |
"--poolOptions.threads.singleThread", | |
"-t", | |
"${input:testName}" | |
"${file}" | |
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this branch is out of date, I kinda wanna look into not requiring a vs code extension as well to make it easier to use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now uptodate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!! 🚀
* chore: n-historical state - track state persist count per epoch (#6699) * feat: add lodestar binaries to release (#6666) * feat: added binaries creation support * feat: added sanity checks * chore: define reusable workflow * chore: fix sanity check,; disable arm64 * chore: added workflow_dispatch * fix: needs cleanup * chore: update old space size Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments * chore: address comments * chore: fixed typo * chore: typo Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments * chore: wording Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: use frozen lock file Co-authored-by: Nico Flaig <nflaig@protonmail.com> --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * feat: switch bls to napi rebuild (#6616) * chore: update package.json deps and run yarn * feat: remove unused blst config from vitest.browser.*.config.ts * test: move G2@INF test to base blst repo. No longer exported. * fix: add Uint8Array.from for Buffer return value in unit test so type matches for toEqual * refactor: update imports of CoordType to use bls instead of blst * feat: add blsAddVerificationRandomness cli option * feat: add randomBytesNonZero to utils * feat: implement verification randomness for same message * feat: implement napi blst and switch to libuv worker pool * chore: lint * fix: update comments for availableParallelism * feat: set UV_THREADPOOL_SIZE for perf tests * feat: set UV_THREADPOOL_SIZE=$(nproc) in lodestar entrance script * feat: remove case for serialized PublicKey in deserializeSet * feat: add back workBusy count logic to canAcceptWork * feat: automatically set threadpool size in beaconHandler * refactor: rename flag to disableSameMessageVerificationRandomness * fix: remove UV_THREADPOOL_SIZE from ./lodestar * docs: add TODO about updating metrics * fix: make benchmark multi threading cross-compatible * chore: add bls@8.0.0 * feat: default to added randomness * feat: add warning for no same message randomness * fix: passing to updated bls functions * feat: add blst peerDep * fix: default to same message randomness * chore: update yarn.lock * chore: remove unused function to clear lint * feat: break out setThreadPoolSize * docs: update packages/cli/src/cmds/beacon/setThreadPoolSize.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: update location for blst dep * chore: run lint again * fix: remove peerDep from light-client * test: fix browser based tests * fix: bad relative imports * docs: add note to readme about switchable bls * docs: typo * chore: lint readme * fix: light-client unit tests * fix: light-client e2e test * feat: remove disableSameMessageVerificationRandomness * refactor: remove unused type * docs: update wordlist * fix: e2e tests * Lint package.json * Revert "fix: e2e tests" This reverts commit f71acd7. * Revert "fix: light-client e2e test" This reverts commit 23c11f0. * Revert "fix: light-client unit tests" This reverts commit fa7893e. * Revert "test: fix browser based tests" This reverts commit 98d04ab. * docs: update readme to remove switchable bls argument * fix: replace optimizeDeps in vitest.browser.config * chore: updated to bls 8.1.0 * feat: move setting threadpool size and warnings to applyPreset.ts * fix: remove setThreadpoolSize from beacon handler * feat: move libuv size logging into handler to use logger * refactor: rename applyPreset to preInitialization * refactor: logging about pool size * Update packages/cli/src/options/globalOptions.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> * refactor: rename prover applyPreset * docs: change comment in cli/index * fix: update logging for * fix: throw error for invalid uvThreadpoolSize * Update packages/cli/src/preInitialization.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> * Fix lint issues * Remove unused import * refactor: move bls pool logging back to multithread.ts * fix: log of threadcount --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: update references to consensus spec to v1.4.0 (#6704) * chore: update references to consensus spec to v1.4.0 * Remove unintended formatting changes * chore: update consensus spec version in README (#6705) * docs: correct plausible url (#6709) fix: correct plausible url * docs: incorrect scripts location (#6710) fix: incorrect scripts location * docs: no more broken images (#6708) * fix: no more broken images * fix: incorrect paths * feat: check aggregationBits length of `SignedAggregateAndProof` in gossip validation (#6700) * Add unit test * Update packages/beacon-node/src/chain/validation/aggregateAndProof.ts Co-authored-by: Nico Flaig <nflaig@protonmail.com> --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * feat: add and track blob source for metrics (#6628) * feat: add and track blob source for metrics * adding blobsSource for blobsPromise * address feedback * apply feedback * updates * only allow non blobspromise blocks to be imported * feat: add support for browser bundle for lightclient (#6673) * Reorganize the code so it is accessible from one package * Add support for browser build for lightclient * Update the build config * Improve the bls vite plugin * Restructure the vite and vitest scripts * Simplify vite config * Remove unused polyfill * Fix the doc lint error * Add support for bundle test * Update the package json files * Add dist build to default build task * Fix spelling in the docs * Fix the lint error * Fix type error * Disable eslint errors * Increase the timeout for bundle test * Fix eslint bundle * Fix lint warning * Remove the unused config * Add the default export to bundle * Enable compression on th build * Update packages/light-client/README.md Co-authored-by: Nico Flaig <nflaig@protonmail.com> * Increase timeout for one test * Optimize package build task * Update the readme --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * docs: fix plausible domain (#6712) * ci: add paths-ignore to workflows (#6713) * chore: added paths-ignore * chore: address comments * feat: add arm64 binary support (#6707) * feat: add arm64 binary support * chore: workaround yarn * chore: add comment * chore: workaround runner limitations * ci: publish binaries for release candidates (#6714) * feat: add types support to esm bundle for lightclient (#6685) * Add vite dts plugin * Restructure types export * Update vite build config * Remove unused file * Update the build process * Fix doc formatting * Build the dist for type tests * chore: update vitest (#6718) Update vitest * chore: do not build all binaries atomically (#6719) * feat: update libp2p deps (#6711) * feat: update libp2p deps * chore: fix linter/type errors * chore(deps): bump ejs from 3.1.9 to 3.1.10 (#6721) Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. - [Release notes](https://github.com/mde/ejs/releases) - [Commits](mde/ejs@v3.1.9...v3.1.10) --- updated-dependencies: - dependency-name: ejs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: revert "ci: add paths-ignore to workflows (#6713)" (#6730) Revert "ci: add paths-ignore to workflows (#6713)" This reverts commit e460bb1. * docs: restore docs pages lost during docusaurus migration (#6725) * ci: fix incorrect build caching (#6731) fix: incorrect build caching * fix: build error log during esm bundle build (#6737) Fix build error * chore: update fastify to v4.27.0 (#6740) * deps: upgrade vitest minor version (#6745) Upgrade vitest * chore: warn when heap limit is too low (#6722) * chore: warn when heap limit is too low * chore: units Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments * chore: added faq element * chore: address comments Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * feat: disable flood publish (#6755) * feat: disable flood publish * feat: add network.disableFloodPublish cli flag * chore: address PR comments * test: allow compact diff for test failures (#6783) * Allow the compact diff for tests * Update the doc * Update docs/pages/contribution/testing/index.md Co-authored-by: Julien <jeluard@users.noreply.github.com> * Fix linting on docs * Fix linting --------- Co-authored-by: Julien <jeluard@users.noreply.github.com> * chore: upgrade classic-level (#6793) * chore: upgrade classic-level * chore: address comments * feat(prover): support non-mutated verification provider in prover (#6727) * Restructure the assertions * Add an inspector to run the logic to detect providers * Update web3 provdier logic to use inspetor * Fix the types for proxy * Make the default type for mutation * Rename elrpc to elrpcprovider * Apply suggestions from code review Co-authored-by: Julien <jeluard@users.noreply.github.com> * Fix build error * Update the readme doc * Apply suggestions from code review Co-authored-by: Julien <jeluard@users.noreply.github.com> * Fix the docs linting * Add missing words --------- Co-authored-by: Julien <jeluard@users.noreply.github.com> * docs: added debugging section (#6743) * docs: added debugging section * chore: spell checks * chore: added extra docs * chore: address comments * chore: added extra configuration * chore: updated docs * chore: added extra configuration * chore: fix lint * chore: fix typos * chore: .gitignore * chore: address comments * chore: address comments * chore: review debugging section PR (#6807) * chore: update the naming conventions used in sim tests (#6805) * Rename simulation test to crucible * Rename SimulationEnvironment to Simulation * Use consistent function names * Update readme * Rename interfaces for consistent pattern * Fix lint error * feat: recognize grandine from agentVersion (#6808) * Add grandine * add grandine to wordlist * chore: refactor event loop interactions (#6806) * chore: refactor sleep(0) usage * chore: refactor setTimeout * chore: address comments * chore: cleanup * Apply suggestions from code review --------- Co-authored-by: Cayman <caymannava@gmail.com> * chore: fix broken docker (#6813) * chore: log newPayload engine api (#6810) * chore: add `get_proposer_head` check in fork choice spec test (#6814) * Check get_proposer_head * Fix enum typo * lint * chore: consolidate classic-level usage (#6795) * chore: do not rely on leveldown * chore: replace level with classic-level * chore: added docker support for osx (#6696) * chore: added docker support for osx * chore: address comments * chore: address comments * Update docker-compose.yml Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: address comments --------- Co-authored-by: Nico Flaig <nflaig@protonmail.com> * chore: fix vitest performance with spec tests artifacts in place (#6817) Fix vitest performance with spec tests in place * chore: clean up yarn lockfile (#6816) * feat: disable flood publish by default (#6815) * feat: use @chainsafe/blst directly (#6706) * feat: use @chainsafe/blst directly * chore: update to blst@1.0.1 * refactor: remove randomBytesNonZero and user blst exported version * chore: update blst references * test: catch invalid deserialization in spec tests and return false * feat: create signatureFromBytes and signatureFromBytesNoCheck in utils package * feat: implement signatureFromBytes from utils package * feat: implement signatureFromBytes everywhere * fix: light-client empty module for blst --------- Co-authored-by: matthewkeil <me@matthewkeil.com> * fix: avoid Buffer.from copies (#6723) * fix: avoid Buffer.from copies * chore: simplify shuffling * fix: use subarray instead of slice in shuffling * chore: remove unnecessary devDependencies * chore: rely on fastify 4.x behavior * chore: avoid copy in verifyMerkleBranch * use toBase64 * relax assertions in shuffle function * Update packages/state-transition/src/util/shuffle.ts Co-authored-by: twoeths <tuyen@chainsafe.io> --------- Co-authored-by: twoeths <tuyen@chainsafe.io> * chore: update nodejs to latest 22 (#6729) * Upgrade node js version to 22 * Update node types * Revert action config * Add package from git hash * Fix the build error * Update the docs for node-22 * Update docker version for Nodejs to 22 * Update package.json * Update package.json Co-authored-by: Nico Flaig <nflaig@protonmail.com> * Update readme docs * Add word in dictionary * Add word in dictionary --------- Co-authored-by: Cayman <caymannava@gmail.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com> * deps: update systeminformation to 5.22.9 (#6823) * chore: add distutils to build phase of Dockerfile (#6845) * test: increase timeout of keystore tests (#6846) * test: increase timeout of keystore cache tests * Increase hook timeout * Consistent number formatting * chore: only log warning if media type is not supported (415) (#6847) * fix: revert napi bls (#6853) * Revert "feat: use @chainsafe/blst directly (#6706)" This reverts commit 66fe753. * Revert "feat: switch bls to napi rebuild (#6616)" This reverts commit 97d9aa8. * chore: bump package versions to 1.19.0 * chore: bump @chainsafe/blst to v0.2.11 (#6856) * fix: arm64 binaries creation issue (#6858) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tuyennhv <tuyen@chainsafe.io> Co-authored-by: Julien <jeluard@users.noreply.github.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com> Co-authored-by: Matthew Keil <me@matthewkeil.com> Co-authored-by: NC <adrninistrator1@protonmail.com> Co-authored-by: g11tech <develop@g11tech.io> Co-authored-by: Nazar Hussain <nazarhussain@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
🎉 This PR is included in v1.19.0 🎉 |
Motivation
Add basic documentation detailing debugging steps, alongside
vscode
specific launch configurations.