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: fix broken docker #6813

Merged
merged 1 commit into from
May 24, 2024
Merged

chore: fix broken docker #6813

merged 1 commit into from
May 24, 2024

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented May 24, 2024

Motivation

Fix broken Dockerfile

Description

Make sure python is correctly setup

It might make sense to fix the base docker images versions to ensure no regression can be introduced transparently.

@jeluard jeluard requested a review from a team as a code owner May 24, 2024 10:32
Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.20%. Comparing base (8ed9109) to head (d6e94b5).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #6813      +/-   ##
============================================
- Coverage     62.21%   62.20%   -0.01%     
============================================
  Files           571      571              
  Lines         60015    60015              
  Branches       1975     1972       -3     
============================================
- Hits          37336    37335       -1     
- Misses        22636    22637       +1     
  Partials         43       43              

@g11tech g11tech merged commit 6c20dc2 into unstable May 24, 2024
20 checks passed
@g11tech g11tech deleted the jeluard/fix-broken-docker branch May 24, 2024 10:48
Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: b506d86 Previous: 8ed9109 Ratio
getSlashingsAndExits - default max 145.98 us/op 586.75 us/op 0.25
altair processEth1Data - 250000 vs - 7PWei normalcase 320.32 us/op 989.73 us/op 0.32
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 7.4250 us/op 25.820 us/op 0.29
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 15.459 us/op 49.528 us/op 0.31
altair processInactivityUpdates - 250000 normalcase 16.254 ms/op 62.220 ms/op 0.26
altair processInactivityUpdates - 250000 worstcase 14.804 ms/op 57.987 ms/op 0.26
phase0 processRegistryUpdates - 250000 badcase_full_deposits 382.52 us/op 1.2312 ms/op 0.31
phase0 processRegistryUpdates - 250000 worstcase 0.5 115.90 ms/op 434.78 ms/op 0.27
altair processRewardsAndPenalties - 250000 normalcase 44.182 ms/op 137.34 ms/op 0.32
altair processRewardsAndPenalties - 250000 worstcase 45.366 ms/op 147.92 ms/op 0.31
phase0 getAttestationDeltas - 250000 normalcase 8.6075 ms/op 27.407 ms/op 0.31
BeaconState.hashTreeRoot - No change 427.00 ns/op 1.2870 us/op 0.33
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 26.121 ms/op 79.626 ms/op 0.33
BeaconState.hashTreeRoot - 512 balances 10.935 ms/op 35.402 ms/op 0.31
Full benchmark results
Benchmark suite Current: b506d86 Previous: 8ed9109 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 675.79 us/op 1.1789 ms/op 0.57
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 59.857 us/op 145.14 us/op 0.41
BLS verify - blst-native 1.2015 ms/op 1.4798 ms/op 0.81
BLS verifyMultipleSignatures 3 - blst-native 2.3318 ms/op 2.8017 ms/op 0.83
BLS verifyMultipleSignatures 8 - blst-native 5.0649 ms/op 6.0317 ms/op 0.84
BLS verifyMultipleSignatures 32 - blst-native 18.277 ms/op 22.792 ms/op 0.80
BLS verifyMultipleSignatures 64 - blst-native 35.937 ms/op 39.910 ms/op 0.90
BLS verifyMultipleSignatures 128 - blst-native 71.325 ms/op 83.101 ms/op 0.86
BLS deserializing 10000 signatures 837.84 ms/op 1.0426 s/op 0.80
BLS deserializing 100000 signatures 8.3906 s/op 10.252 s/op 0.82
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2284 ms/op 1.7249 ms/op 0.71
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.3883 ms/op 1.6728 ms/op 0.83
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.1825 ms/op 2.5544 ms/op 0.85
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.2402 ms/op 3.8734 ms/op 0.84
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.3598 ms/op 6.2603 ms/op 0.86
BLS aggregatePubkeys 32 - blst-native 27.182 us/op 41.507 us/op 0.65
BLS aggregatePubkeys 128 - blst-native 105.73 us/op 125.53 us/op 0.84
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 51.544 ms/op 125.65 ms/op 0.41
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 48.216 ms/op 103.12 ms/op 0.47
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 30.270 ms/op 74.019 ms/op 0.41
getSlashingsAndExits - default max 145.98 us/op 586.75 us/op 0.25
getSlashingsAndExits - 2k 387.83 us/op 1.1203 ms/op 0.35
proposeBlockBody type=full, size=empty 5.2429 ms/op 7.9943 ms/op 0.66
isKnown best case - 1 super set check 312.00 ns/op 794.00 ns/op 0.39
isKnown normal case - 2 super set checks 372.00 ns/op 948.00 ns/op 0.39
isKnown worse case - 16 super set checks 347.00 ns/op 982.00 ns/op 0.35
InMemoryCheckpointStateCache - add get delete 6.3800 us/op 10.922 us/op 0.58
validate api signedAggregateAndProof - struct 2.2598 ms/op 2.6298 ms/op 0.86
validate gossip signedAggregateAndProof - struct 2.2276 ms/op 2.6353 ms/op 0.85
validate gossip attestation - vc 640000 1.2675 ms/op 1.7896 ms/op 0.71
batch validate gossip attestation - vc 640000 - chunk 32 161.01 us/op 216.26 us/op 0.74
batch validate gossip attestation - vc 640000 - chunk 64 143.11 us/op 198.15 us/op 0.72
batch validate gossip attestation - vc 640000 - chunk 128 137.92 us/op 173.08 us/op 0.80
batch validate gossip attestation - vc 640000 - chunk 256 123.24 us/op 159.90 us/op 0.77
pickEth1Vote - no votes 1.1466 ms/op 1.4399 ms/op 0.80
pickEth1Vote - max votes 7.0219 ms/op 10.011 ms/op 0.70
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.494 ms/op 21.381 ms/op 0.68
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.638 ms/op 27.576 ms/op 0.71
pickEth1Vote - Eth1Data fastSerialize value x2048 569.66 us/op 752.30 us/op 0.76
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.0225 ms/op 5.3228 ms/op 0.76
bytes32 toHexString 448.00 ns/op 795.00 ns/op 0.56
bytes32 Buffer.toString(hex) 267.00 ns/op 338.00 ns/op 0.79
bytes32 Buffer.toString(hex) from Uint8Array 399.00 ns/op 561.00 ns/op 0.71
bytes32 Buffer.toString(hex) + 0x 269.00 ns/op 327.00 ns/op 0.82
Object access 1 prop 0.15800 ns/op 0.22300 ns/op 0.71
Map access 1 prop 0.13500 ns/op 0.16300 ns/op 0.83
Object get x1000 7.1000 ns/op 7.6110 ns/op 0.93
Map get x1000 0.75200 ns/op 0.89900 ns/op 0.84
Object set x1000 37.563 ns/op 70.006 ns/op 0.54
Map set x1000 22.717 ns/op 54.796 ns/op 0.41
Return object 10000 times 0.24240 ns/op 0.33980 ns/op 0.71
Throw Error 10000 times 3.4448 us/op 4.6597 us/op 0.74
fastMsgIdFn sha256 / 200 bytes 2.4700 us/op 4.2300 us/op 0.58
fastMsgIdFn h32 xxhash / 200 bytes 307.00 ns/op 390.00 ns/op 0.79
fastMsgIdFn h64 xxhash / 200 bytes 345.00 ns/op 428.00 ns/op 0.81
fastMsgIdFn sha256 / 1000 bytes 7.6840 us/op 13.237 us/op 0.58
fastMsgIdFn h32 xxhash / 1000 bytes 437.00 ns/op 636.00 ns/op 0.69
fastMsgIdFn h64 xxhash / 1000 bytes 415.00 ns/op 539.00 ns/op 0.77
fastMsgIdFn sha256 / 10000 bytes 64.684 us/op 111.51 us/op 0.58
fastMsgIdFn h32 xxhash / 10000 bytes 1.9450 us/op 2.6140 us/op 0.74
fastMsgIdFn h64 xxhash / 10000 bytes 1.3100 us/op 1.6730 us/op 0.78
send data - 1000 256B messages 15.113 ms/op 20.641 ms/op 0.73
send data - 1000 512B messages 18.307 ms/op 27.180 ms/op 0.67
send data - 1000 1024B messages 29.602 ms/op 40.892 ms/op 0.72
send data - 1000 1200B messages 29.224 ms/op 35.756 ms/op 0.82
send data - 1000 2048B messages 37.714 ms/op 41.668 ms/op 0.91
send data - 1000 4096B messages 33.690 ms/op 39.434 ms/op 0.85
send data - 1000 16384B messages 81.011 ms/op 100.84 ms/op 0.80
send data - 1000 65536B messages 294.87 ms/op 422.29 ms/op 0.70
enrSubnets - fastDeserialize 64 bits 1.0630 us/op 1.5790 us/op 0.67
enrSubnets - ssz BitVector 64 bits 437.00 ns/op 552.00 ns/op 0.79
enrSubnets - fastDeserialize 4 bits 159.00 ns/op 243.00 ns/op 0.65
enrSubnets - ssz BitVector 4 bits 400.00 ns/op 563.00 ns/op 0.71
prioritizePeers score -10:0 att 32-0.1 sync 2-0 175.21 us/op 241.97 us/op 0.72
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 231.06 us/op 325.60 us/op 0.71
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 319.34 us/op 406.85 us/op 0.78
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 474.26 us/op 709.89 us/op 0.67
prioritizePeers score 0:0 att 64-1 sync 4-1 561.47 us/op 794.49 us/op 0.71
array of 16000 items push then shift 1.6416 us/op 1.7146 us/op 0.96
LinkedList of 16000 items push then shift 7.0350 ns/op 9.4720 ns/op 0.74
array of 16000 items push then pop 129.06 ns/op 111.66 ns/op 1.16
LinkedList of 16000 items push then pop 6.5130 ns/op 9.0760 ns/op 0.72
array of 24000 items push then shift 2.4289 us/op 2.7148 us/op 0.89
LinkedList of 24000 items push then shift 7.1650 ns/op 9.4690 ns/op 0.76
array of 24000 items push then pop 173.08 ns/op 153.89 ns/op 1.12
LinkedList of 24000 items push then pop 6.8600 ns/op 9.1210 ns/op 0.75
intersect bitArray bitLen 8 5.7450 ns/op 6.1430 ns/op 0.94
intersect array and set length 8 59.037 ns/op 68.533 ns/op 0.86
intersect bitArray bitLen 128 35.252 ns/op 38.038 ns/op 0.93
intersect array and set length 128 841.35 ns/op 1.0665 us/op 0.79
bitArray.getTrueBitIndexes() bitLen 128 1.3740 us/op 1.7260 us/op 0.80
bitArray.getTrueBitIndexes() bitLen 248 2.2040 us/op 3.1060 us/op 0.71
bitArray.getTrueBitIndexes() bitLen 512 4.1870 us/op 6.4000 us/op 0.65
Buffer.concat 32 items 871.00 ns/op 1.0750 us/op 0.81
Uint8Array.set 32 items 1.5560 us/op 2.1630 us/op 0.72
Set add up to 64 items then delete first 2.3556 us/op 5.2631 us/op 0.45
OrderedSet add up to 64 items then delete first 3.5353 us/op 6.9925 us/op 0.51
Set add up to 64 items then delete last 2.6967 us/op 5.6269 us/op 0.48
OrderedSet add up to 64 items then delete last 3.8052 us/op 6.8402 us/op 0.56
Set add up to 64 items then delete middle 2.5724 us/op 5.5760 us/op 0.46
OrderedSet add up to 64 items then delete middle 5.0593 us/op 9.0386 us/op 0.56
Set add up to 128 items then delete first 5.2211 us/op 11.698 us/op 0.45
OrderedSet add up to 128 items then delete first 8.6103 us/op 15.499 us/op 0.56
Set add up to 128 items then delete last 5.4416 us/op 11.347 us/op 0.48
OrderedSet add up to 128 items then delete last 7.9360 us/op 14.908 us/op 0.53
Set add up to 128 items then delete middle 4.8845 us/op 11.081 us/op 0.44
OrderedSet add up to 128 items then delete middle 13.126 us/op 20.327 us/op 0.65
Set add up to 256 items then delete first 10.286 us/op 22.236 us/op 0.46
OrderedSet add up to 256 items then delete first 16.705 us/op 31.074 us/op 0.54
Set add up to 256 items then delete last 10.520 us/op 22.146 us/op 0.48
OrderedSet add up to 256 items then delete last 16.433 us/op 29.199 us/op 0.56
Set add up to 256 items then delete middle 10.304 us/op 22.647 us/op 0.45
OrderedSet add up to 256 items then delete middle 38.662 us/op 52.948 us/op 0.73
transfer serialized Status (84 B) 1.7690 us/op 2.0160 us/op 0.88
copy serialized Status (84 B) 1.3240 us/op 1.4360 us/op 0.92
transfer serialized SignedVoluntaryExit (112 B) 1.9200 us/op 2.0560 us/op 0.93
copy serialized SignedVoluntaryExit (112 B) 1.4760 us/op 1.4830 us/op 1.00
transfer serialized ProposerSlashing (416 B) 2.9130 us/op 2.4480 us/op 1.19
copy serialized ProposerSlashing (416 B) 2.9050 us/op 2.1650 us/op 1.34
transfer serialized Attestation (485 B) 3.0960 us/op 2.5070 us/op 1.23
copy serialized Attestation (485 B) 1.8390 us/op 2.3350 us/op 0.79
transfer serialized AttesterSlashing (33232 B) 2.2170 us/op 2.7650 us/op 0.80
copy serialized AttesterSlashing (33232 B) 5.9200 us/op 8.9900 us/op 0.66
transfer serialized Small SignedBeaconBlock (128000 B) 2.6110 us/op 3.1910 us/op 0.82
copy serialized Small SignedBeaconBlock (128000 B) 16.553 us/op 23.710 us/op 0.70
transfer serialized Avg SignedBeaconBlock (200000 B) 2.9140 us/op 3.4400 us/op 0.85
copy serialized Avg SignedBeaconBlock (200000 B) 22.356 us/op 35.899 us/op 0.62
transfer serialized BlobsSidecar (524380 B) 2.8580 us/op 3.8930 us/op 0.73
copy serialized BlobsSidecar (524380 B) 86.415 us/op 176.94 us/op 0.49
transfer serialized Big SignedBeaconBlock (1000000 B) 2.9510 us/op 4.0070 us/op 0.74
copy serialized Big SignedBeaconBlock (1000000 B) 161.79 us/op 214.23 us/op 0.76
pass gossip attestations to forkchoice per slot 3.6317 ms/op 4.5080 ms/op 0.81
forkChoice updateHead vc 100000 bc 64 eq 0 509.73 us/op 724.89 us/op 0.70
forkChoice updateHead vc 600000 bc 64 eq 0 4.0419 ms/op 6.2548 ms/op 0.65
forkChoice updateHead vc 1000000 bc 64 eq 0 5.4336 ms/op 7.6783 ms/op 0.71
forkChoice updateHead vc 600000 bc 320 eq 0 3.1839 ms/op 4.6760 ms/op 0.68
forkChoice updateHead vc 600000 bc 1200 eq 0 3.3314 ms/op 4.8982 ms/op 0.68
forkChoice updateHead vc 600000 bc 7200 eq 0 4.5786 ms/op 5.5353 ms/op 0.83
forkChoice updateHead vc 600000 bc 64 eq 1000 10.789 ms/op 11.776 ms/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 10000 10.651 ms/op 12.542 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 300000 14.849 ms/op 20.338 ms/op 0.73
computeDeltas 500000 validators 300 proto nodes 3.8899 ms/op 7.2189 ms/op 0.54
computeDeltas 500000 validators 1200 proto nodes 3.5273 ms/op 7.4076 ms/op 0.48
computeDeltas 500000 validators 7200 proto nodes 3.4133 ms/op 7.2861 ms/op 0.47
computeDeltas 750000 validators 300 proto nodes 5.0963 ms/op 10.443 ms/op 0.49
computeDeltas 750000 validators 1200 proto nodes 4.9130 ms/op 10.490 ms/op 0.47
computeDeltas 750000 validators 7200 proto nodes 5.0164 ms/op 10.468 ms/op 0.48
computeDeltas 1400000 validators 300 proto nodes 9.3702 ms/op 19.788 ms/op 0.47
computeDeltas 1400000 validators 1200 proto nodes 9.4497 ms/op 19.892 ms/op 0.48
computeDeltas 1400000 validators 7200 proto nodes 9.7182 ms/op 20.106 ms/op 0.48
computeDeltas 2100000 validators 300 proto nodes 14.729 ms/op 33.270 ms/op 0.44
computeDeltas 2100000 validators 1200 proto nodes 14.754 ms/op 33.177 ms/op 0.44
computeDeltas 2100000 validators 7200 proto nodes 15.012 ms/op 33.385 ms/op 0.45
altair processAttestation - 250000 vs - 7PWei normalcase 1.9862 ms/op 4.2494 ms/op 0.47
altair processAttestation - 250000 vs - 7PWei worstcase 2.8965 ms/op 4.8990 ms/op 0.59
altair processAttestation - setStatus - 1/6 committees join 134.29 us/op 249.35 us/op 0.54
altair processAttestation - setStatus - 1/3 committees join 250.84 us/op 535.13 us/op 0.47
altair processAttestation - setStatus - 1/2 committees join 344.44 us/op 548.83 us/op 0.63
altair processAttestation - setStatus - 2/3 committees join 445.22 us/op 788.08 us/op 0.56
altair processAttestation - setStatus - 4/5 committees join 601.05 us/op 1.0025 ms/op 0.60
altair processAttestation - setStatus - 100% committees join 711.25 us/op 1.5540 ms/op 0.46
altair processBlock - 250000 vs - 7PWei normalcase 7.7723 ms/op 12.262 ms/op 0.63
altair processBlock - 250000 vs - 7PWei normalcase hashState 28.125 ms/op 52.096 ms/op 0.54
altair processBlock - 250000 vs - 7PWei worstcase 33.998 ms/op 48.095 ms/op 0.71
altair processBlock - 250000 vs - 7PWei worstcase hashState 78.145 ms/op 118.66 ms/op 0.66
phase0 processBlock - 250000 vs - 7PWei normalcase 2.0904 ms/op 4.6080 ms/op 0.45
phase0 processBlock - 250000 vs - 7PWei worstcase 27.326 ms/op 39.408 ms/op 0.69
altair processEth1Data - 250000 vs - 7PWei normalcase 320.32 us/op 989.73 us/op 0.32
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 7.4250 us/op 25.820 us/op 0.29
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 63.924 us/op 75.962 us/op 0.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 15.459 us/op 49.528 us/op 0.31
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.837 us/op 18.062 us/op 0.66
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 141.31 us/op 221.61 us/op 0.64
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.1209 ms/op 1.5615 ms/op 0.72
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.3472 ms/op 2.0989 ms/op 0.64
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.3073 ms/op 2.1699 ms/op 0.60
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.4092 ms/op 4.2565 ms/op 0.80
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2170 ms/op 3.2450 ms/op 0.68
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.5255 ms/op 8.1626 ms/op 0.55
Tree 40 250000 create 241.97 ms/op 460.80 ms/op 0.53
Tree 40 250000 get(125000) 154.14 ns/op 234.19 ns/op 0.66
Tree 40 250000 set(125000) 686.72 ns/op 1.1539 us/op 0.60
Tree 40 250000 toArray() 15.604 ms/op 22.578 ms/op 0.69
Tree 40 250000 iterate all - toArray() + loop 15.639 ms/op 24.171 ms/op 0.65
Tree 40 250000 iterate all - get(i) 52.453 ms/op 80.722 ms/op 0.65
MutableVector 250000 create 7.8832 ms/op 18.029 ms/op 0.44
MutableVector 250000 get(125000) 6.2480 ns/op 7.1020 ns/op 0.88
MutableVector 250000 set(125000) 244.47 ns/op 354.24 ns/op 0.69
MutableVector 250000 toArray() 3.6643 ms/op 4.3135 ms/op 0.85
MutableVector 250000 iterate all - toArray() + loop 3.8280 ms/op 4.5227 ms/op 0.85
MutableVector 250000 iterate all - get(i) 1.5166 ms/op 1.6646 ms/op 0.91
Array 250000 create 3.5227 ms/op 3.9444 ms/op 0.89
Array 250000 clone - spread 1.5557 ms/op 1.7284 ms/op 0.90
Array 250000 get(125000) 1.0540 ns/op 1.3900 ns/op 0.76
Array 250000 set(125000) 1.3530 ns/op 5.3150 ns/op 0.25
Array 250000 iterate all - loop 161.07 us/op 181.70 us/op 0.89
effectiveBalanceIncrements clone Uint8Array 300000 29.753 us/op 47.803 us/op 0.62
effectiveBalanceIncrements clone MutableVector 300000 395.00 ns/op 416.00 ns/op 0.95
effectiveBalanceIncrements rw all Uint8Array 300000 196.51 us/op 216.80 us/op 0.91
effectiveBalanceIncrements rw all MutableVector 300000 81.083 ms/op 124.81 ms/op 0.65
phase0 afterProcessEpoch - 250000 vs - 7PWei 89.009 ms/op 126.18 ms/op 0.71
phase0 beforeProcessEpoch - 250000 vs - 7PWei 46.255 ms/op 53.371 ms/op 0.87
altair processEpoch - mainnet_e81889 400.84 ms/op 604.33 ms/op 0.66
mainnet_e81889 - altair beforeProcessEpoch 67.568 ms/op 95.060 ms/op 0.71
mainnet_e81889 - altair processJustificationAndFinalization 14.695 us/op 19.956 us/op 0.74
mainnet_e81889 - altair processInactivityUpdates 5.1544 ms/op 7.1410 ms/op 0.72
mainnet_e81889 - altair processRewardsAndPenalties 44.146 ms/op 55.323 ms/op 0.80
mainnet_e81889 - altair processRegistryUpdates 1.8500 us/op 4.5540 us/op 0.41
mainnet_e81889 - altair processSlashings 335.00 ns/op 1.4560 us/op 0.23
mainnet_e81889 - altair processEth1DataReset 479.00 ns/op 1.6950 us/op 0.28
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2641 ms/op 1.5024 ms/op 0.84
mainnet_e81889 - altair processSlashingsReset 3.4720 us/op 4.2070 us/op 0.83
mainnet_e81889 - altair processRandaoMixesReset 4.5810 us/op 7.9230 us/op 0.58
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0570 us/op 1.1950 us/op 0.88
mainnet_e81889 - altair processParticipationFlagUpdates 1.4000 us/op 4.7560 us/op 0.29
mainnet_e81889 - altair processSyncCommitteeUpdates 582.00 ns/op 919.00 ns/op 0.63
mainnet_e81889 - altair afterProcessEpoch 94.161 ms/op 134.45 ms/op 0.70
capella processEpoch - mainnet_e217614 1.4431 s/op 1.9346 s/op 0.75
mainnet_e217614 - capella beforeProcessEpoch 299.99 ms/op 317.27 ms/op 0.95
mainnet_e217614 - capella processJustificationAndFinalization 14.497 us/op 27.591 us/op 0.53
mainnet_e217614 - capella processInactivityUpdates 14.658 ms/op 23.025 ms/op 0.64
mainnet_e217614 - capella processRewardsAndPenalties 241.80 ms/op 305.05 ms/op 0.79
mainnet_e217614 - capella processRegistryUpdates 16.743 us/op 38.170 us/op 0.44
mainnet_e217614 - capella processSlashings 968.00 ns/op 1.0480 us/op 0.92
mainnet_e217614 - capella processEth1DataReset 451.00 ns/op 905.00 ns/op 0.50
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.0368 ms/op 17.809 ms/op 0.23
mainnet_e217614 - capella processSlashingsReset 2.7000 us/op 5.1650 us/op 0.52
mainnet_e217614 - capella processRandaoMixesReset 4.2580 us/op 7.9230 us/op 0.54
mainnet_e217614 - capella processHistoricalRootsUpdate 643.00 ns/op 732.00 ns/op 0.88
mainnet_e217614 - capella processParticipationFlagUpdates 1.2590 us/op 3.3540 us/op 0.38
mainnet_e217614 - capella afterProcessEpoch 259.24 ms/op 363.14 ms/op 0.71
phase0 processEpoch - mainnet_e58758 444.93 ms/op 1.3185 s/op 0.34
mainnet_e58758 - phase0 beforeProcessEpoch 128.76 ms/op 491.93 ms/op 0.26
mainnet_e58758 - phase0 processJustificationAndFinalization 16.382 us/op 61.579 us/op 0.27
mainnet_e58758 - phase0 processRewardsAndPenalties 22.766 ms/op 89.708 ms/op 0.25
mainnet_e58758 - phase0 processRegistryUpdates 9.6430 us/op 41.101 us/op 0.23
mainnet_e58758 - phase0 processSlashings 600.00 ns/op 2.8540 us/op 0.21
mainnet_e58758 - phase0 processEth1DataReset 413.00 ns/op 2.2380 us/op 0.18
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0087 ms/op 2.9790 ms/op 0.34
mainnet_e58758 - phase0 processSlashingsReset 2.7200 us/op 14.287 us/op 0.19
mainnet_e58758 - phase0 processRandaoMixesReset 4.1400 us/op 21.121 us/op 0.20
mainnet_e58758 - phase0 processHistoricalRootsUpdate 425.00 ns/op 1.9400 us/op 0.22
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.3190 us/op 20.201 us/op 0.21
mainnet_e58758 - phase0 afterProcessEpoch 82.453 ms/op 148.58 ms/op 0.55
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2372 ms/op 3.1027 ms/op 0.40
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.1238 ms/op 3.5594 ms/op 0.60
altair processInactivityUpdates - 250000 normalcase 16.254 ms/op 62.220 ms/op 0.26
altair processInactivityUpdates - 250000 worstcase 14.804 ms/op 57.987 ms/op 0.26
phase0 processRegistryUpdates - 250000 normalcase 10.602 us/op 46.502 us/op 0.23
phase0 processRegistryUpdates - 250000 badcase_full_deposits 382.52 us/op 1.2312 ms/op 0.31
phase0 processRegistryUpdates - 250000 worstcase 0.5 115.90 ms/op 434.78 ms/op 0.27
altair processRewardsAndPenalties - 250000 normalcase 44.182 ms/op 137.34 ms/op 0.32
altair processRewardsAndPenalties - 250000 worstcase 45.366 ms/op 147.92 ms/op 0.31
phase0 getAttestationDeltas - 250000 normalcase 8.6075 ms/op 27.407 ms/op 0.31
phase0 getAttestationDeltas - 250000 worstcase 8.1781 ms/op 23.490 ms/op 0.35
phase0 processSlashings - 250000 worstcase 102.65 us/op 198.62 us/op 0.52
altair processSyncCommitteeUpdates - 250000 128.50 ms/op 279.99 ms/op 0.46
BeaconState.hashTreeRoot - No change 427.00 ns/op 1.2870 us/op 0.33
BeaconState.hashTreeRoot - 1 full validator 123.28 us/op 316.06 us/op 0.39
BeaconState.hashTreeRoot - 32 full validator 1.5054 ms/op 2.3467 ms/op 0.64
BeaconState.hashTreeRoot - 512 full validator 16.800 ms/op 33.518 ms/op 0.50
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 161.16 us/op 397.81 us/op 0.41
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.8286 ms/op 4.4674 ms/op 0.41
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 26.121 ms/op 79.626 ms/op 0.33
BeaconState.hashTreeRoot - 1 balances 117.96 us/op 278.13 us/op 0.42
BeaconState.hashTreeRoot - 32 balances 1.1051 ms/op 2.2651 ms/op 0.49
BeaconState.hashTreeRoot - 512 balances 10.935 ms/op 35.402 ms/op 0.31
BeaconState.hashTreeRoot - 250000 balances 187.51 ms/op 524.88 ms/op 0.36
aggregationBits - 2048 els - zipIndexesInBitList 23.618 us/op 84.857 us/op 0.28
byteArrayEquals 32 74.370 ns/op 92.105 ns/op 0.81
Buffer.compare 32 45.491 ns/op 71.060 ns/op 0.64
byteArrayEquals 1024 2.0296 us/op 3.2718 us/op 0.62
Buffer.compare 1024 49.791 ns/op 85.461 ns/op 0.58
byteArrayEquals 16384 32.413 us/op 39.546 us/op 0.82
Buffer.compare 16384 243.07 ns/op 317.01 ns/op 0.77
byteArrayEquals 123687377 244.35 ms/op 256.67 ms/op 0.95
Buffer.compare 123687377 6.9753 ms/op 6.2759 ms/op 1.11
byteArrayEquals 32 - diff last byte 71.362 ns/op 73.882 ns/op 0.97
Buffer.compare 32 - diff last byte 50.915 ns/op 57.342 ns/op 0.89
byteArrayEquals 1024 - diff last byte 2.0369 us/op 2.0614 us/op 0.99
Buffer.compare 1024 - diff last byte 51.151 ns/op 71.827 ns/op 0.71
byteArrayEquals 16384 - diff last byte 31.456 us/op 32.901 us/op 0.96
Buffer.compare 16384 - diff last byte 231.74 ns/op 284.87 ns/op 0.81
byteArrayEquals 123687377 - diff last byte 243.55 ms/op 247.70 ms/op 0.98
Buffer.compare 123687377 - diff last byte 6.0968 ms/op 6.1804 ms/op 0.99
byteArrayEquals 32 - random bytes 5.2010 ns/op 5.3610 ns/op 0.97
Buffer.compare 32 - random bytes 45.190 ns/op 60.612 ns/op 0.75
byteArrayEquals 1024 - random bytes 5.1060 ns/op 5.2930 ns/op 0.96
Buffer.compare 1024 - random bytes 43.209 ns/op 59.707 ns/op 0.72
byteArrayEquals 16384 - random bytes 5.1110 ns/op 5.2040 ns/op 0.98
Buffer.compare 16384 - random bytes 43.240 ns/op 61.303 ns/op 0.71
byteArrayEquals 123687377 - random bytes 8.0400 ns/op 8.0400 ns/op 1.00
Buffer.compare 123687377 - random bytes 46.550 ns/op 65.130 ns/op 0.71
regular array get 100000 times 41.806 us/op 44.060 us/op 0.95
wrappedArray get 100000 times 41.864 us/op 44.314 us/op 0.94
arrayWithProxy get 100000 times 13.480 ms/op 14.481 ms/op 0.93
ssz.Root.equals 50.952 ns/op 53.621 ns/op 0.95
byteArrayEquals 49.882 ns/op 52.150 ns/op 0.96
Buffer.compare 9.8490 ns/op 10.767 ns/op 0.91
shuffle list - 16384 els 6.1017 ms/op 8.5265 ms/op 0.72
shuffle list - 250000 els 88.908 ms/op 124.99 ms/op 0.71
processSlot - 1 slots 14.500 us/op 15.304 us/op 0.95
processSlot - 32 slots 3.0413 ms/op 3.2382 ms/op 0.94
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 49.017 ms/op 58.569 ms/op 0.84
getCommitteeAssignments - req 1 vs - 250000 vc 2.5250 ms/op 2.6595 ms/op 0.95
getCommitteeAssignments - req 100 vs - 250000 vc 3.6840 ms/op 3.8539 ms/op 0.96
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0681 ms/op 4.2201 ms/op 0.96
findModifiedValidators - 10000 modified validators 269.01 ms/op 361.31 ms/op 0.74
findModifiedValidators - 1000 modified validators 167.86 ms/op 238.35 ms/op 0.70
findModifiedValidators - 100 modified validators 163.30 ms/op 204.51 ms/op 0.80
findModifiedValidators - 10 modified validators 173.73 ms/op 196.93 ms/op 0.88
findModifiedValidators - 1 modified validators 161.21 ms/op 247.07 ms/op 0.65
findModifiedValidators - no difference 175.89 ms/op 193.68 ms/op 0.91
compare ViewDUs 3.2052 s/op 3.8510 s/op 0.83
compare each validator Uint8Array 1.5308 s/op 1.5835 s/op 0.97
compare ViewDU to Uint8Array 1.1268 s/op 1.2452 s/op 0.90
migrate state 1000000 validators, 24 modified, 0 new 612.80 ms/op 701.53 ms/op 0.87
migrate state 1000000 validators, 1700 modified, 1000 new 943.47 ms/op 1.0867 s/op 0.87
migrate state 1000000 validators, 3400 modified, 2000 new 1.2890 s/op 1.4912 s/op 0.86
migrate state 1500000 validators, 24 modified, 0 new 610.64 ms/op 783.00 ms/op 0.78
migrate state 1500000 validators, 1700 modified, 1000 new 1.0475 s/op 1.1468 s/op 0.91
migrate state 1500000 validators, 3400 modified, 2000 new 1.3064 s/op 1.4743 s/op 0.89
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.1500 ns/op 4.0600 ns/op 1.02
state getBlockRootAtSlot - 250000 vs - 7PWei 865.73 ns/op 955.80 ns/op 0.91
computeProposers - vc 250000 8.3585 ms/op 9.6088 ms/op 0.87
computeEpochShuffling - vc 250000 95.544 ms/op 127.57 ms/op 0.75
getNextSyncCommittee - vc 250000 138.53 ms/op 159.95 ms/op 0.87
computeSigningRoot for AttestationData 28.925 us/op 30.529 us/op 0.95
hash AttestationData serialized data then Buffer.toString(base64) 1.6028 us/op 2.3518 us/op 0.68
toHexString serialized data 945.57 ns/op 1.1185 us/op 0.85
Buffer.toString(base64) 209.37 ns/op 219.04 ns/op 0.96

by benchmarkbot/action

@0xSulpiride 0xSulpiride mentioned this pull request May 24, 2024
8 tasks
wemeetagain added a commit that referenced this pull request Jun 7, 2024
* 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>
@wemeetagain
Copy link
Member

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