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 newPayload engine api #6810

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented May 24, 2024

Motivation

Description

  • Log raw result from newPayload engine api
  • It's a litlte bit too much at sync time but at gossip time, it happens once per slot so should be fine

@twoeths twoeths requested a review from a team as a code owner May 24, 2024 03:29
Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: a600a09 Previous: 8ed9109 Ratio
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 48.258 us/op 145.14 us/op 0.33
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 41.220 ms/op 125.65 ms/op 0.33
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 21.600 ms/op 74.019 ms/op 0.29
getSlashingsAndExits - default max 119.72 us/op 586.75 us/op 0.20
getSlashingsAndExits - 2k 313.19 us/op 1.1203 ms/op 0.28
isKnown best case - 1 super set check 225.00 ns/op 794.00 ns/op 0.28
isKnown normal case - 2 super set checks 222.00 ns/op 948.00 ns/op 0.23
isKnown worse case - 16 super set checks 222.00 ns/op 982.00 ns/op 0.23
Map set x1000 17.879 ns/op 54.796 ns/op 0.33
Set add up to 64 items then delete first 1.6936 us/op 5.2631 us/op 0.32
altair processAttestation - setStatus - 1/3 committees join 175.11 us/op 535.13 us/op 0.33
altair processEth1Data - 250000 vs - 7PWei normalcase 284.90 us/op 989.73 us/op 0.29
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 17.325 us/op 75.962 us/op 0.23
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 5.1670 us/op 49.528 us/op 0.10
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.7560 us/op 18.062 us/op 0.32
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 58.633 us/op 221.61 us/op 0.26
phase0 processEpoch - mainnet_e58758 385.00 ms/op 1.3185 s/op 0.29
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0095 ms/op 3.1027 ms/op 0.33
altair processInactivityUpdates - 250000 normalcase 12.327 ms/op 62.220 ms/op 0.20
altair processInactivityUpdates - 250000 worstcase 11.803 ms/op 57.987 ms/op 0.20
phase0 processRegistryUpdates - 250000 worstcase 0.5 120.31 ms/op 434.78 ms/op 0.28
phase0 getAttestationDeltas - 250000 normalcase 5.5040 ms/op 27.407 ms/op 0.20
phase0 getAttestationDeltas - 250000 worstcase 5.5927 ms/op 23.490 ms/op 0.24
BeaconState.hashTreeRoot - No change 296.00 ns/op 1.2870 us/op 0.23
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.598 ms/op 79.626 ms/op 0.32
BeaconState.hashTreeRoot - 512 balances 11.001 ms/op 35.402 ms/op 0.31
Full benchmark results
Benchmark suite Current: a600a09 Previous: 8ed9109 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 902.13 us/op 1.1789 ms/op 0.77
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 48.258 us/op 145.14 us/op 0.33
BLS verify - blst-native 1.0075 ms/op 1.4798 ms/op 0.68
BLS verifyMultipleSignatures 3 - blst-native 1.9490 ms/op 2.8017 ms/op 0.70
BLS verifyMultipleSignatures 8 - blst-native 4.1812 ms/op 6.0317 ms/op 0.69
BLS verifyMultipleSignatures 32 - blst-native 15.197 ms/op 22.792 ms/op 0.67
BLS verifyMultipleSignatures 64 - blst-native 29.910 ms/op 39.910 ms/op 0.75
BLS verifyMultipleSignatures 128 - blst-native 59.573 ms/op 83.101 ms/op 0.72
BLS deserializing 10000 signatures 704.82 ms/op 1.0426 s/op 0.68
BLS deserializing 100000 signatures 7.4951 s/op 10.252 s/op 0.73
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.1265 ms/op 1.7249 ms/op 0.65
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.2699 ms/op 1.6728 ms/op 0.76
BLS verifyMultipleSignatures - same message - 32 - blst-native 1.9844 ms/op 2.5544 ms/op 0.78
BLS verifyMultipleSignatures - same message - 64 - blst-native 2.9517 ms/op 3.8734 ms/op 0.76
BLS verifyMultipleSignatures - same message - 128 - blst-native 4.8293 ms/op 6.2603 ms/op 0.77
BLS aggregatePubkeys 32 - blst-native 23.768 us/op 41.507 us/op 0.57
BLS aggregatePubkeys 128 - blst-native 92.592 us/op 125.53 us/op 0.74
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 41.220 ms/op 125.65 ms/op 0.33
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 37.539 ms/op 103.12 ms/op 0.36
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 21.600 ms/op 74.019 ms/op 0.29
getSlashingsAndExits - default max 119.72 us/op 586.75 us/op 0.20
getSlashingsAndExits - 2k 313.19 us/op 1.1203 ms/op 0.28
proposeBlockBody type=full, size=empty 3.8120 ms/op 7.9943 ms/op 0.48
isKnown best case - 1 super set check 225.00 ns/op 794.00 ns/op 0.28
isKnown normal case - 2 super set checks 222.00 ns/op 948.00 ns/op 0.23
isKnown worse case - 16 super set checks 222.00 ns/op 982.00 ns/op 0.23
InMemoryCheckpointStateCache - add get delete 4.9600 us/op 10.922 us/op 0.45
validate api signedAggregateAndProof - struct 2.0173 ms/op 2.6298 ms/op 0.77
validate gossip signedAggregateAndProof - struct 2.0157 ms/op 2.6353 ms/op 0.76
validate gossip attestation - vc 640000 1.1271 ms/op 1.7896 ms/op 0.63
batch validate gossip attestation - vc 640000 - chunk 32 142.04 us/op 216.26 us/op 0.66
batch validate gossip attestation - vc 640000 - chunk 64 121.86 us/op 198.15 us/op 0.61
batch validate gossip attestation - vc 640000 - chunk 128 117.90 us/op 173.08 us/op 0.68
batch validate gossip attestation - vc 640000 - chunk 256 115.09 us/op 159.90 us/op 0.72
pickEth1Vote - no votes 788.34 us/op 1.4399 ms/op 0.55
pickEth1Vote - max votes 6.9781 ms/op 10.011 ms/op 0.70
pickEth1Vote - Eth1Data hashTreeRoot value x2048 13.850 ms/op 21.381 ms/op 0.65
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 15.888 ms/op 27.576 ms/op 0.58
pickEth1Vote - Eth1Data fastSerialize value x2048 388.86 us/op 752.30 us/op 0.52
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.2449 ms/op 5.3228 ms/op 0.80
bytes32 toHexString 361.00 ns/op 795.00 ns/op 0.45
bytes32 Buffer.toString(hex) 218.00 ns/op 338.00 ns/op 0.64
bytes32 Buffer.toString(hex) from Uint8Array 360.00 ns/op 561.00 ns/op 0.64
bytes32 Buffer.toString(hex) + 0x 209.00 ns/op 327.00 ns/op 0.64
Object access 1 prop 0.12800 ns/op 0.22300 ns/op 0.57
Map access 1 prop 0.10900 ns/op 0.16300 ns/op 0.67
Object get x1000 4.7340 ns/op 7.6110 ns/op 0.62
Map get x1000 0.69700 ns/op 0.89900 ns/op 0.78
Object set x1000 28.566 ns/op 70.006 ns/op 0.41
Map set x1000 17.879 ns/op 54.796 ns/op 0.33
Return object 10000 times 0.22930 ns/op 0.33980 ns/op 0.67
Throw Error 10000 times 2.8217 us/op 4.6597 us/op 0.61
fastMsgIdFn sha256 / 200 bytes 1.9700 us/op 4.2300 us/op 0.47
fastMsgIdFn h32 xxhash / 200 bytes 242.00 ns/op 390.00 ns/op 0.62
fastMsgIdFn h64 xxhash / 200 bytes 260.00 ns/op 428.00 ns/op 0.61
fastMsgIdFn sha256 / 1000 bytes 6.1430 us/op 13.237 us/op 0.46
fastMsgIdFn h32 xxhash / 1000 bytes 334.00 ns/op 636.00 ns/op 0.53
fastMsgIdFn h64 xxhash / 1000 bytes 316.00 ns/op 539.00 ns/op 0.59
fastMsgIdFn sha256 / 10000 bytes 52.630 us/op 111.51 us/op 0.47
fastMsgIdFn h32 xxhash / 10000 bytes 1.7630 us/op 2.6140 us/op 0.67
fastMsgIdFn h64 xxhash / 10000 bytes 1.1490 us/op 1.6730 us/op 0.69
send data - 1000 256B messages 10.438 ms/op 20.641 ms/op 0.51
send data - 1000 512B messages 14.911 ms/op 27.180 ms/op 0.55
send data - 1000 1024B messages 24.430 ms/op 40.892 ms/op 0.60
send data - 1000 1200B messages 25.789 ms/op 35.756 ms/op 0.72
send data - 1000 2048B messages 32.258 ms/op 41.668 ms/op 0.77
send data - 1000 4096B messages 28.156 ms/op 39.434 ms/op 0.71
send data - 1000 16384B messages 82.985 ms/op 100.84 ms/op 0.82
send data - 1000 65536B messages 304.13 ms/op 422.29 ms/op 0.72
enrSubnets - fastDeserialize 64 bits 891.00 ns/op 1.5790 us/op 0.56
enrSubnets - ssz BitVector 64 bits 325.00 ns/op 552.00 ns/op 0.59
enrSubnets - fastDeserialize 4 bits 132.00 ns/op 243.00 ns/op 0.54
enrSubnets - ssz BitVector 4 bits 318.00 ns/op 563.00 ns/op 0.56
prioritizePeers score -10:0 att 32-0.1 sync 2-0 151.13 us/op 241.97 us/op 0.62
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 186.76 us/op 325.60 us/op 0.57
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 235.28 us/op 406.85 us/op 0.58
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 368.91 us/op 709.89 us/op 0.52
prioritizePeers score 0:0 att 64-1 sync 4-1 441.62 us/op 794.49 us/op 0.56
array of 16000 items push then shift 1.3407 us/op 1.7146 us/op 0.78
LinkedList of 16000 items push then shift 5.9950 ns/op 9.4720 ns/op 0.63
array of 16000 items push then pop 98.714 ns/op 111.66 ns/op 0.88
LinkedList of 16000 items push then pop 5.7480 ns/op 9.0760 ns/op 0.63
array of 24000 items push then shift 1.9157 us/op 2.7148 us/op 0.71
LinkedList of 24000 items push then shift 7.2730 ns/op 9.4690 ns/op 0.77
array of 24000 items push then pop 103.09 ns/op 153.89 ns/op 0.67
LinkedList of 24000 items push then pop 5.9490 ns/op 9.1210 ns/op 0.65
intersect bitArray bitLen 8 4.4980 ns/op 6.1430 ns/op 0.73
intersect array and set length 8 47.431 ns/op 68.533 ns/op 0.69
intersect bitArray bitLen 128 27.917 ns/op 38.038 ns/op 0.73
intersect array and set length 128 664.31 ns/op 1.0665 us/op 0.62
bitArray.getTrueBitIndexes() bitLen 128 1.2320 us/op 1.7260 us/op 0.71
bitArray.getTrueBitIndexes() bitLen 248 1.8830 us/op 3.1060 us/op 0.61
bitArray.getTrueBitIndexes() bitLen 512 4.8310 us/op 6.4000 us/op 0.75
Buffer.concat 32 items 732.00 ns/op 1.0750 us/op 0.68
Uint8Array.set 32 items 1.6100 us/op 2.1630 us/op 0.74
Set add up to 64 items then delete first 1.6936 us/op 5.2631 us/op 0.32
OrderedSet add up to 64 items then delete first 2.5227 us/op 6.9925 us/op 0.36
Set add up to 64 items then delete last 1.9720 us/op 5.6269 us/op 0.35
OrderedSet add up to 64 items then delete last 2.8384 us/op 6.8402 us/op 0.41
Set add up to 64 items then delete middle 1.9970 us/op 5.5760 us/op 0.36
OrderedSet add up to 64 items then delete middle 4.2111 us/op 9.0386 us/op 0.47
Set add up to 128 items then delete first 3.9069 us/op 11.698 us/op 0.33
OrderedSet add up to 128 items then delete first 6.5367 us/op 15.499 us/op 0.42
Set add up to 128 items then delete last 3.8486 us/op 11.347 us/op 0.34
OrderedSet add up to 128 items then delete last 5.7656 us/op 14.908 us/op 0.39
Set add up to 128 items then delete middle 3.9531 us/op 11.081 us/op 0.36
OrderedSet add up to 128 items then delete middle 11.065 us/op 20.327 us/op 0.54
Set add up to 256 items then delete first 7.8628 us/op 22.236 us/op 0.35
OrderedSet add up to 256 items then delete first 12.530 us/op 31.074 us/op 0.40
Set add up to 256 items then delete last 7.6738 us/op 22.146 us/op 0.35
OrderedSet add up to 256 items then delete last 13.025 us/op 29.199 us/op 0.45
Set add up to 256 items then delete middle 7.6389 us/op 22.647 us/op 0.34
OrderedSet add up to 256 items then delete middle 31.618 us/op 52.948 us/op 0.60
transfer serialized Status (84 B) 1.4120 us/op 2.0160 us/op 0.70
copy serialized Status (84 B) 1.1190 us/op 1.4360 us/op 0.78
transfer serialized SignedVoluntaryExit (112 B) 1.5150 us/op 2.0560 us/op 0.74
copy serialized SignedVoluntaryExit (112 B) 1.2510 us/op 1.4830 us/op 0.84
transfer serialized ProposerSlashing (416 B) 2.2680 us/op 2.4480 us/op 0.93
copy serialized ProposerSlashing (416 B) 2.2010 us/op 2.1650 us/op 1.02
transfer serialized Attestation (485 B) 3.3430 us/op 2.5070 us/op 1.33
copy serialized Attestation (485 B) 1.8620 us/op 2.3350 us/op 0.80
transfer serialized AttesterSlashing (33232 B) 1.9430 us/op 2.7650 us/op 0.70
copy serialized AttesterSlashing (33232 B) 4.4100 us/op 8.9900 us/op 0.49
transfer serialized Small SignedBeaconBlock (128000 B) 1.8230 us/op 3.1910 us/op 0.57
copy serialized Small SignedBeaconBlock (128000 B) 9.0040 us/op 23.710 us/op 0.38
transfer serialized Avg SignedBeaconBlock (200000 B) 2.1980 us/op 3.4400 us/op 0.64
copy serialized Avg SignedBeaconBlock (200000 B) 12.479 us/op 35.899 us/op 0.35
transfer serialized BlobsSidecar (524380 B) 2.4530 us/op 3.8930 us/op 0.63
copy serialized BlobsSidecar (524380 B) 75.304 us/op 176.94 us/op 0.43
transfer serialized Big SignedBeaconBlock (1000000 B) 2.4520 us/op 4.0070 us/op 0.61
copy serialized Big SignedBeaconBlock (1000000 B) 148.20 us/op 214.23 us/op 0.69
pass gossip attestations to forkchoice per slot 2.9049 ms/op 4.5080 ms/op 0.64
forkChoice updateHead vc 100000 bc 64 eq 0 460.90 us/op 724.89 us/op 0.64
forkChoice updateHead vc 600000 bc 64 eq 0 3.2730 ms/op 6.2548 ms/op 0.52
forkChoice updateHead vc 1000000 bc 64 eq 0 6.3187 ms/op 7.6783 ms/op 0.82
forkChoice updateHead vc 600000 bc 320 eq 0 2.8346 ms/op 4.6760 ms/op 0.61
forkChoice updateHead vc 600000 bc 1200 eq 0 2.9040 ms/op 4.8982 ms/op 0.59
forkChoice updateHead vc 600000 bc 7200 eq 0 3.9577 ms/op 5.5353 ms/op 0.71
forkChoice updateHead vc 600000 bc 64 eq 1000 10.003 ms/op 11.776 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 10000 9.9963 ms/op 12.542 ms/op 0.80
forkChoice updateHead vc 600000 bc 64 eq 300000 26.708 ms/op 20.338 ms/op 1.31
computeDeltas 500000 validators 300 proto nodes 3.1064 ms/op 7.2189 ms/op 0.43
computeDeltas 500000 validators 1200 proto nodes 3.0146 ms/op 7.4076 ms/op 0.41
computeDeltas 500000 validators 7200 proto nodes 2.9284 ms/op 7.2861 ms/op 0.40
computeDeltas 750000 validators 300 proto nodes 4.4822 ms/op 10.443 ms/op 0.43
computeDeltas 750000 validators 1200 proto nodes 4.4892 ms/op 10.490 ms/op 0.43
computeDeltas 750000 validators 7200 proto nodes 4.4329 ms/op 10.468 ms/op 0.42
computeDeltas 1400000 validators 300 proto nodes 8.5118 ms/op 19.788 ms/op 0.43
computeDeltas 1400000 validators 1200 proto nodes 8.2411 ms/op 19.892 ms/op 0.41
computeDeltas 1400000 validators 7200 proto nodes 8.3118 ms/op 20.106 ms/op 0.41
computeDeltas 2100000 validators 300 proto nodes 12.814 ms/op 33.270 ms/op 0.39
computeDeltas 2100000 validators 1200 proto nodes 12.652 ms/op 33.177 ms/op 0.38
computeDeltas 2100000 validators 7200 proto nodes 12.944 ms/op 33.385 ms/op 0.39
altair processAttestation - 250000 vs - 7PWei normalcase 1.4484 ms/op 4.2494 ms/op 0.34
altair processAttestation - 250000 vs - 7PWei worstcase 2.1918 ms/op 4.8990 ms/op 0.45
altair processAttestation - setStatus - 1/6 committees join 91.083 us/op 249.35 us/op 0.37
altair processAttestation - setStatus - 1/3 committees join 175.11 us/op 535.13 us/op 0.33
altair processAttestation - setStatus - 1/2 committees join 248.17 us/op 548.83 us/op 0.45
altair processAttestation - setStatus - 2/3 committees join 348.00 us/op 788.08 us/op 0.44
altair processAttestation - setStatus - 4/5 committees join 462.41 us/op 1.0025 ms/op 0.46
altair processAttestation - setStatus - 100% committees join 563.40 us/op 1.5540 ms/op 0.36
altair processBlock - 250000 vs - 7PWei normalcase 8.4247 ms/op 12.262 ms/op 0.69
altair processBlock - 250000 vs - 7PWei normalcase hashState 25.206 ms/op 52.096 ms/op 0.48
altair processBlock - 250000 vs - 7PWei worstcase 30.048 ms/op 48.095 ms/op 0.62
altair processBlock - 250000 vs - 7PWei worstcase hashState 76.192 ms/op 118.66 ms/op 0.64
phase0 processBlock - 250000 vs - 7PWei normalcase 1.7192 ms/op 4.6080 ms/op 0.37
phase0 processBlock - 250000 vs - 7PWei worstcase 24.300 ms/op 39.408 ms/op 0.62
altair processEth1Data - 250000 vs - 7PWei normalcase 284.90 us/op 989.73 us/op 0.29
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 9.5930 us/op 25.820 us/op 0.37
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 17.325 us/op 75.962 us/op 0.23
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 5.1670 us/op 49.528 us/op 0.10
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.7560 us/op 18.062 us/op 0.32
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 58.633 us/op 221.61 us/op 0.26
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2317 ms/op 1.5615 ms/op 0.79
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.0393 ms/op 2.0989 ms/op 0.50
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.4273 ms/op 2.1699 ms/op 0.66
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.0336 ms/op 4.2565 ms/op 0.48
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.4866 ms/op 3.2450 ms/op 0.46
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.1981 ms/op 8.1626 ms/op 0.39
Tree 40 250000 create 199.85 ms/op 460.80 ms/op 0.43
Tree 40 250000 get(125000) 111.02 ns/op 234.19 ns/op 0.47
Tree 40 250000 set(125000) 463.22 ns/op 1.1539 us/op 0.40
Tree 40 250000 toArray() 11.986 ms/op 22.578 ms/op 0.53
Tree 40 250000 iterate all - toArray() + loop 12.226 ms/op 24.171 ms/op 0.51
Tree 40 250000 iterate all - get(i) 36.386 ms/op 80.722 ms/op 0.45
MutableVector 250000 create 11.716 ms/op 18.029 ms/op 0.65
MutableVector 250000 get(125000) 5.5490 ns/op 7.1020 ns/op 0.78
MutableVector 250000 set(125000) 184.51 ns/op 354.24 ns/op 0.52
MutableVector 250000 toArray() 2.5451 ms/op 4.3135 ms/op 0.59
MutableVector 250000 iterate all - toArray() + loop 2.3534 ms/op 4.5227 ms/op 0.52
MutableVector 250000 iterate all - get(i) 1.4395 ms/op 1.6646 ms/op 0.86
Array 250000 create 2.0194 ms/op 3.9444 ms/op 0.51
Array 250000 clone - spread 1.0994 ms/op 1.7284 ms/op 0.64
Array 250000 get(125000) 0.94800 ns/op 1.3900 ns/op 0.68
Array 250000 set(125000) 1.1580 ns/op 5.3150 ns/op 0.22
Array 250000 iterate all - loop 152.92 us/op 181.70 us/op 0.84
effectiveBalanceIncrements clone Uint8Array 300000 13.929 us/op 47.803 us/op 0.29
effectiveBalanceIncrements clone MutableVector 300000 331.00 ns/op 416.00 ns/op 0.80
effectiveBalanceIncrements rw all Uint8Array 300000 183.26 us/op 216.80 us/op 0.85
effectiveBalanceIncrements rw all MutableVector 300000 64.565 ms/op 124.81 ms/op 0.52
phase0 afterProcessEpoch - 250000 vs - 7PWei 69.416 ms/op 126.18 ms/op 0.55
phase0 beforeProcessEpoch - 250000 vs - 7PWei 37.493 ms/op 53.371 ms/op 0.70
altair processEpoch - mainnet_e81889 397.41 ms/op 604.33 ms/op 0.66
mainnet_e81889 - altair beforeProcessEpoch 59.474 ms/op 95.060 ms/op 0.63
mainnet_e81889 - altair processJustificationAndFinalization 6.9890 us/op 19.956 us/op 0.35
mainnet_e81889 - altair processInactivityUpdates 5.3276 ms/op 7.1410 ms/op 0.75
mainnet_e81889 - altair processRewardsAndPenalties 49.816 ms/op 55.323 ms/op 0.90
mainnet_e81889 - altair processRegistryUpdates 2.0180 us/op 4.5540 us/op 0.44
mainnet_e81889 - altair processSlashings 497.00 ns/op 1.4560 us/op 0.34
mainnet_e81889 - altair processEth1DataReset 472.00 ns/op 1.6950 us/op 0.28
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.6302 ms/op 1.5024 ms/op 1.09
mainnet_e81889 - altair processSlashingsReset 2.0890 us/op 4.2070 us/op 0.50
mainnet_e81889 - altair processRandaoMixesReset 2.9140 us/op 7.9230 us/op 0.37
mainnet_e81889 - altair processHistoricalRootsUpdate 479.00 ns/op 1.1950 us/op 0.40
mainnet_e81889 - altair processParticipationFlagUpdates 1.0870 us/op 4.7560 us/op 0.23
mainnet_e81889 - altair processSyncCommitteeUpdates 492.00 ns/op 919.00 ns/op 0.54
mainnet_e81889 - altair afterProcessEpoch 74.603 ms/op 134.45 ms/op 0.55
capella processEpoch - mainnet_e217614 1.3785 s/op 1.9346 s/op 0.71
mainnet_e217614 - capella beforeProcessEpoch 260.79 ms/op 317.27 ms/op 0.82
mainnet_e217614 - capella processJustificationAndFinalization 16.749 us/op 27.591 us/op 0.61
mainnet_e217614 - capella processInactivityUpdates 13.304 ms/op 23.025 ms/op 0.58
mainnet_e217614 - capella processRewardsAndPenalties 239.64 ms/op 305.05 ms/op 0.79
mainnet_e217614 - capella processRegistryUpdates 8.4750 us/op 38.170 us/op 0.22
mainnet_e217614 - capella processSlashings 259.00 ns/op 1.0480 us/op 0.25
mainnet_e217614 - capella processEth1DataReset 456.00 ns/op 905.00 ns/op 0.50
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.4466 ms/op 17.809 ms/op 0.19
mainnet_e217614 - capella processSlashingsReset 2.1470 us/op 5.1650 us/op 0.42
mainnet_e217614 - capella processRandaoMixesReset 2.7880 us/op 7.9230 us/op 0.35
mainnet_e217614 - capella processHistoricalRootsUpdate 426.00 ns/op 732.00 ns/op 0.58
mainnet_e217614 - capella processParticipationFlagUpdates 1.0140 us/op 3.3540 us/op 0.30
mainnet_e217614 - capella afterProcessEpoch 226.26 ms/op 363.14 ms/op 0.62
phase0 processEpoch - mainnet_e58758 385.00 ms/op 1.3185 s/op 0.29
mainnet_e58758 - phase0 beforeProcessEpoch 119.84 ms/op 491.93 ms/op 0.24
mainnet_e58758 - phase0 processJustificationAndFinalization 13.672 us/op 61.579 us/op 0.22
mainnet_e58758 - phase0 processRewardsAndPenalties 24.925 ms/op 89.708 ms/op 0.28
mainnet_e58758 - phase0 processRegistryUpdates 4.3650 us/op 41.101 us/op 0.11
mainnet_e58758 - phase0 processSlashings 425.00 ns/op 2.8540 us/op 0.15
mainnet_e58758 - phase0 processEth1DataReset 371.00 ns/op 2.2380 us/op 0.17
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3916 ms/op 2.9790 ms/op 0.47
mainnet_e58758 - phase0 processSlashingsReset 2.4630 us/op 14.287 us/op 0.17
mainnet_e58758 - phase0 processRandaoMixesReset 3.4370 us/op 21.121 us/op 0.16
mainnet_e58758 - phase0 processHistoricalRootsUpdate 382.00 ns/op 1.9400 us/op 0.20
mainnet_e58758 - phase0 processParticipationRecordUpdates 2.9180 us/op 20.201 us/op 0.14
mainnet_e58758 - phase0 afterProcessEpoch 69.025 ms/op 148.58 ms/op 0.46
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0095 ms/op 3.1027 ms/op 0.33
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.3986 ms/op 3.5594 ms/op 0.39
altair processInactivityUpdates - 250000 normalcase 12.327 ms/op 62.220 ms/op 0.20
altair processInactivityUpdates - 250000 worstcase 11.803 ms/op 57.987 ms/op 0.20
phase0 processRegistryUpdates - 250000 normalcase 9.7040 us/op 46.502 us/op 0.21
phase0 processRegistryUpdates - 250000 badcase_full_deposits 444.08 us/op 1.2312 ms/op 0.36
phase0 processRegistryUpdates - 250000 worstcase 0.5 120.31 ms/op 434.78 ms/op 0.28
altair processRewardsAndPenalties - 250000 normalcase 48.363 ms/op 137.34 ms/op 0.35
altair processRewardsAndPenalties - 250000 worstcase 49.401 ms/op 147.92 ms/op 0.33
phase0 getAttestationDeltas - 250000 normalcase 5.5040 ms/op 27.407 ms/op 0.20
phase0 getAttestationDeltas - 250000 worstcase 5.5927 ms/op 23.490 ms/op 0.24
phase0 processSlashings - 250000 worstcase 78.592 us/op 198.62 us/op 0.40
altair processSyncCommitteeUpdates - 250000 106.38 ms/op 279.99 ms/op 0.38
BeaconState.hashTreeRoot - No change 296.00 ns/op 1.2870 us/op 0.23
BeaconState.hashTreeRoot - 1 full validator 108.29 us/op 316.06 us/op 0.34
BeaconState.hashTreeRoot - 32 full validator 1.4785 ms/op 2.3467 ms/op 0.63
BeaconState.hashTreeRoot - 512 full validator 13.824 ms/op 33.518 ms/op 0.41
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 158.37 us/op 397.81 us/op 0.40
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.9708 ms/op 4.4674 ms/op 0.44
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.598 ms/op 79.626 ms/op 0.32
BeaconState.hashTreeRoot - 1 balances 114.19 us/op 278.13 us/op 0.41
BeaconState.hashTreeRoot - 32 balances 1.1298 ms/op 2.2651 ms/op 0.50
BeaconState.hashTreeRoot - 512 balances 11.001 ms/op 35.402 ms/op 0.31
BeaconState.hashTreeRoot - 250000 balances 180.57 ms/op 524.88 ms/op 0.34
aggregationBits - 2048 els - zipIndexesInBitList 18.644 us/op 84.857 us/op 0.22
byteArrayEquals 32 63.458 ns/op 92.105 ns/op 0.69
Buffer.compare 32 38.487 ns/op 71.060 ns/op 0.54
byteArrayEquals 1024 1.7291 us/op 3.2718 us/op 0.53
Buffer.compare 1024 47.929 ns/op 85.461 ns/op 0.56
byteArrayEquals 16384 27.435 us/op 39.546 us/op 0.69
Buffer.compare 16384 224.22 ns/op 317.01 ns/op 0.71
byteArrayEquals 123687377 206.37 ms/op 256.67 ms/op 0.80
Buffer.compare 123687377 3.6649 ms/op 6.2759 ms/op 0.58
byteArrayEquals 32 - diff last byte 60.747 ns/op 73.882 ns/op 0.82
Buffer.compare 32 - diff last byte 38.741 ns/op 57.342 ns/op 0.68
byteArrayEquals 1024 - diff last byte 1.7366 us/op 2.0614 us/op 0.84
Buffer.compare 1024 - diff last byte 45.688 ns/op 71.827 ns/op 0.64
byteArrayEquals 16384 - diff last byte 27.110 us/op 32.901 us/op 0.82
Buffer.compare 16384 - diff last byte 195.63 ns/op 284.87 ns/op 0.69
byteArrayEquals 123687377 - diff last byte 204.76 ms/op 247.70 ms/op 0.83
Buffer.compare 123687377 - diff last byte 4.2694 ms/op 6.1804 ms/op 0.69
byteArrayEquals 32 - random bytes 4.4130 ns/op 5.3610 ns/op 0.82
Buffer.compare 32 - random bytes 35.724 ns/op 60.612 ns/op 0.59
byteArrayEquals 1024 - random bytes 4.2050 ns/op 5.2930 ns/op 0.79
Buffer.compare 1024 - random bytes 33.417 ns/op 59.707 ns/op 0.56
byteArrayEquals 16384 - random bytes 4.1340 ns/op 5.2040 ns/op 0.79
Buffer.compare 16384 - random bytes 33.495 ns/op 61.303 ns/op 0.55
byteArrayEquals 123687377 - random bytes 6.4800 ns/op 8.0400 ns/op 0.81
Buffer.compare 123687377 - random bytes 36.040 ns/op 65.130 ns/op 0.55
regular array get 100000 times 38.989 us/op 44.060 us/op 0.88
wrappedArray get 100000 times 38.689 us/op 44.314 us/op 0.87
arrayWithProxy get 100000 times 10.557 ms/op 14.481 ms/op 0.73
ssz.Root.equals 54.912 ns/op 53.621 ns/op 1.02
byteArrayEquals 54.285 ns/op 52.150 ns/op 1.04
Buffer.compare 8.9540 ns/op 10.767 ns/op 0.83
shuffle list - 16384 els 5.9277 ms/op 8.5265 ms/op 0.70
shuffle list - 250000 els 87.113 ms/op 124.99 ms/op 0.70
processSlot - 1 slots 15.484 us/op 15.304 us/op 1.01
processSlot - 32 slots 2.4186 ms/op 3.2382 ms/op 0.75
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 47.664 ms/op 58.569 ms/op 0.81
getCommitteeAssignments - req 1 vs - 250000 vc 2.3688 ms/op 2.6595 ms/op 0.89
getCommitteeAssignments - req 100 vs - 250000 vc 3.4769 ms/op 3.8539 ms/op 0.90
getCommitteeAssignments - req 1000 vs - 250000 vc 3.7753 ms/op 4.2201 ms/op 0.89
findModifiedValidators - 10000 modified validators 287.08 ms/op 361.31 ms/op 0.79
findModifiedValidators - 1000 modified validators 176.08 ms/op 238.35 ms/op 0.74
findModifiedValidators - 100 modified validators 163.32 ms/op 204.51 ms/op 0.80
findModifiedValidators - 10 modified validators 177.62 ms/op 196.93 ms/op 0.90
findModifiedValidators - 1 modified validators 171.57 ms/op 247.07 ms/op 0.69
findModifiedValidators - no difference 159.00 ms/op 193.68 ms/op 0.82
compare ViewDUs 3.6194 s/op 3.8510 s/op 0.94
compare each validator Uint8Array 1.7430 s/op 1.5835 s/op 1.10
compare ViewDU to Uint8Array 929.70 ms/op 1.2452 s/op 0.75
migrate state 1000000 validators, 24 modified, 0 new 574.17 ms/op 701.53 ms/op 0.82
migrate state 1000000 validators, 1700 modified, 1000 new 926.61 ms/op 1.0867 s/op 0.85
migrate state 1000000 validators, 3400 modified, 2000 new 1.2136 s/op 1.4912 s/op 0.81
migrate state 1500000 validators, 24 modified, 0 new 616.27 ms/op 783.00 ms/op 0.79
migrate state 1500000 validators, 1700 modified, 1000 new 994.70 ms/op 1.1468 s/op 0.87
migrate state 1500000 validators, 3400 modified, 2000 new 1.3259 s/op 1.4743 s/op 0.90
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 3.7700 ns/op 4.0600 ns/op 0.93
state getBlockRootAtSlot - 250000 vs - 7PWei 1.0327 us/op 955.80 ns/op 1.08
computeProposers - vc 250000 6.6281 ms/op 9.6088 ms/op 0.69
computeEpochShuffling - vc 250000 87.407 ms/op 127.57 ms/op 0.69
getNextSyncCommittee - vc 250000 115.48 ms/op 159.95 ms/op 0.72
computeSigningRoot for AttestationData 21.687 us/op 30.529 us/op 0.71
hash AttestationData serialized data then Buffer.toString(base64) 1.2926 us/op 2.3518 us/op 0.55
toHexString serialized data 786.97 ns/op 1.1185 us/op 0.70
Buffer.toString(base64) 154.49 ns/op 219.04 ns/op 0.71

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 3471475 into unstable May 24, 2024
20 checks passed
@wemeetagain wemeetagain deleted the te/log_newPayload_engine_api branch May 24, 2024 13:12
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.

None yet

2 participants