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: added docker support for osx #6696

Merged
merged 5 commits into from
May 24, 2024
Merged

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented Apr 22, 2024

Motivation

Supports MacOS out of the box by not relying on network_mode: host. host.docker.internal is used instead, which works on all platform.

Tested on MacOS and ubuntu

@jeluard jeluard requested a review from a team as a code owner April 22, 2024 13:33
@jeluard jeluard marked this pull request as draft April 22, 2024 13:41
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.20%. Comparing base (e17b744) to head (6f4aa0a).
Report is 29 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #6696      +/-   ##
============================================
+ Coverage     61.87%   62.20%   +0.33%     
============================================
  Files           562      571       +9     
  Lines         59301    60015     +714     
  Branches       1916     1972      +56     
============================================
+ Hits          36695    37335     +640     
- Misses        22563    22637      +74     
  Partials         43       43              

Copy link
Contributor

github-actions bot commented Apr 22, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 51241f5 Previous: 6c20dc2 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.2119 ms/op 937.18 us/op 1.29
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 123.49 us/op 59.558 us/op 2.07
BLS verify - blst-native 1.3117 ms/op 1.2077 ms/op 1.09
BLS verifyMultipleSignatures 3 - blst-native 2.5732 ms/op 2.3369 ms/op 1.10
BLS verifyMultipleSignatures 8 - blst-native 5.6217 ms/op 5.0469 ms/op 1.11
BLS verifyMultipleSignatures 32 - blst-native 20.611 ms/op 18.335 ms/op 1.12
BLS verifyMultipleSignatures 64 - blst-native 40.574 ms/op 36.018 ms/op 1.13
BLS verifyMultipleSignatures 128 - blst-native 79.259 ms/op 71.419 ms/op 1.11
BLS deserializing 10000 signatures 939.69 ms/op 854.63 ms/op 1.10
BLS deserializing 100000 signatures 8.9727 s/op 9.2720 s/op 0.97
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2885 ms/op 1.4046 ms/op 0.92
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4674 ms/op 1.5175 ms/op 0.97
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2644 ms/op 2.3688 ms/op 0.96
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.3767 ms/op 3.5393 ms/op 0.95
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.5936 ms/op 5.8684 ms/op 0.95
BLS aggregatePubkeys 32 - blst-native 28.798 us/op 29.865 us/op 0.96
BLS aggregatePubkeys 128 - blst-native 111.23 us/op 116.12 us/op 0.96
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 56.798 ms/op 95.663 ms/op 0.59
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 56.376 ms/op 66.410 ms/op 0.85
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 29.852 ms/op 30.486 ms/op 0.98
getSlashingsAndExits - default max 177.87 us/op 206.38 us/op 0.86
getSlashingsAndExits - 2k 481.01 us/op 369.60 us/op 1.30
proposeBlockBody type=full, size=empty 6.0089 ms/op 5.7577 ms/op 1.04
isKnown best case - 1 super set check 469.00 ns/op 488.00 ns/op 0.96
isKnown normal case - 2 super set checks 607.00 ns/op 323.00 ns/op 1.88
isKnown worse case - 16 super set checks 503.00 ns/op 287.00 ns/op 1.75
InMemoryCheckpointStateCache - add get delete 6.7910 us/op 5.0530 us/op 1.34
validate api signedAggregateAndProof - struct 2.3078 ms/op 2.2557 ms/op 1.02
validate gossip signedAggregateAndProof - struct 2.3410 ms/op 2.2391 ms/op 1.05
validate gossip attestation - vc 640000 1.3179 ms/op 1.2916 ms/op 1.02
batch validate gossip attestation - vc 640000 - chunk 32 170.28 us/op 165.25 us/op 1.03
batch validate gossip attestation - vc 640000 - chunk 64 143.78 us/op 143.41 us/op 1.00
batch validate gossip attestation - vc 640000 - chunk 128 139.02 us/op 138.18 us/op 1.01
batch validate gossip attestation - vc 640000 - chunk 256 133.11 us/op 148.93 us/op 0.89
pickEth1Vote - no votes 1.1624 ms/op 1.2787 ms/op 0.91
pickEth1Vote - max votes 10.081 ms/op 10.733 ms/op 0.94
pickEth1Vote - Eth1Data hashTreeRoot value x2048 19.116 ms/op 19.716 ms/op 0.97
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 25.338 ms/op 26.017 ms/op 0.97
pickEth1Vote - Eth1Data fastSerialize value x2048 639.87 us/op 698.98 us/op 0.92
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.3453 ms/op 8.0512 ms/op 0.66
bytes32 toHexString 665.00 ns/op 832.00 ns/op 0.80
bytes32 Buffer.toString(hex) 284.00 ns/op 328.00 ns/op 0.87
bytes32 Buffer.toString(hex) from Uint8Array 520.00 ns/op 610.00 ns/op 0.85
bytes32 Buffer.toString(hex) + 0x 293.00 ns/op 303.00 ns/op 0.97
Object access 1 prop 0.20600 ns/op 0.21300 ns/op 0.97
Map access 1 prop 0.13500 ns/op 0.14400 ns/op 0.94
Object get x1000 8.5050 ns/op 9.2890 ns/op 0.92
Map get x1000 0.87200 ns/op 0.92200 ns/op 0.95
Object set x1000 47.799 ns/op 57.488 ns/op 0.83
Map set x1000 27.758 ns/op 37.150 ns/op 0.75
Return object 10000 times 0.25270 ns/op 0.28580 ns/op 0.88
Throw Error 10000 times 3.5797 us/op 3.8164 us/op 0.94
fastMsgIdFn sha256 / 200 bytes 2.4110 us/op 2.6890 us/op 0.90
fastMsgIdFn h32 xxhash / 200 bytes 264.00 ns/op 288.00 ns/op 0.92
fastMsgIdFn h64 xxhash / 200 bytes 335.00 ns/op 338.00 ns/op 0.99
fastMsgIdFn sha256 / 1000 bytes 7.8020 us/op 7.5380 us/op 1.04
fastMsgIdFn h32 xxhash / 1000 bytes 412.00 ns/op 395.00 ns/op 1.04
fastMsgIdFn h64 xxhash / 1000 bytes 415.00 ns/op 404.00 ns/op 1.03
fastMsgIdFn sha256 / 10000 bytes 68.725 us/op 66.237 us/op 1.04
fastMsgIdFn h32 xxhash / 10000 bytes 1.9860 us/op 2.0240 us/op 0.98
fastMsgIdFn h64 xxhash / 10000 bytes 1.3410 us/op 1.3620 us/op 0.98
send data - 1000 256B messages 14.300 ms/op 15.923 ms/op 0.90
send data - 1000 512B messages 17.892 ms/op 21.146 ms/op 0.85
send data - 1000 1024B messages 27.806 ms/op 30.791 ms/op 0.90
send data - 1000 1200B messages 29.943 ms/op 33.956 ms/op 0.88
send data - 1000 2048B messages 33.756 ms/op 37.447 ms/op 0.90
send data - 1000 4096B messages 37.723 ms/op 38.297 ms/op 0.98
send data - 1000 16384B messages 93.492 ms/op 82.036 ms/op 1.14
send data - 1000 65536B messages 351.56 ms/op 319.62 ms/op 1.10
enrSubnets - fastDeserialize 64 bits 1.3240 us/op 1.2920 us/op 1.02
enrSubnets - ssz BitVector 64 bits 520.00 ns/op 455.00 ns/op 1.14
enrSubnets - fastDeserialize 4 bits 200.00 ns/op 167.00 ns/op 1.20
enrSubnets - ssz BitVector 4 bits 510.00 ns/op 379.00 ns/op 1.35
prioritizePeers score -10:0 att 32-0.1 sync 2-0 188.23 us/op 193.76 us/op 0.97
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 243.04 us/op 244.99 us/op 0.99
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 311.77 us/op 383.85 us/op 0.81
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 541.66 us/op 523.60 us/op 1.03
prioritizePeers score 0:0 att 64-1 sync 4-1 626.42 us/op 612.29 us/op 1.02
array of 16000 items push then shift 1.7545 us/op 1.6637 us/op 1.05
LinkedList of 16000 items push then shift 7.2800 ns/op 6.6530 ns/op 1.09
array of 16000 items push then pop 147.56 ns/op 140.01 ns/op 1.05
LinkedList of 16000 items push then pop 7.5040 ns/op 6.6140 ns/op 1.13
array of 24000 items push then shift 2.8416 us/op 2.5648 us/op 1.11
LinkedList of 24000 items push then shift 7.5930 ns/op 6.7790 ns/op 1.12
array of 24000 items push then pop 185.22 ns/op 160.69 ns/op 1.15
LinkedList of 24000 items push then pop 6.7110 ns/op 6.7340 ns/op 1.00
intersect bitArray bitLen 8 5.9370 ns/op 6.0240 ns/op 0.99
intersect array and set length 8 73.956 ns/op 65.581 ns/op 1.13
intersect bitArray bitLen 128 38.562 ns/op 37.666 ns/op 1.02
intersect array and set length 128 854.65 ns/op 1.0549 us/op 0.81
bitArray.getTrueBitIndexes() bitLen 128 1.6370 us/op 1.7130 us/op 0.96
bitArray.getTrueBitIndexes() bitLen 248 3.2240 us/op 2.4220 us/op 1.33
bitArray.getTrueBitIndexes() bitLen 512 5.9570 us/op 5.6860 us/op 1.05
Buffer.concat 32 items 1.0460 us/op 992.00 ns/op 1.05
Uint8Array.set 32 items 2.2300 us/op 1.7930 us/op 1.24
Set add up to 64 items then delete first 2.8320 us/op 2.7480 us/op 1.03
OrderedSet add up to 64 items then delete first 3.5787 us/op 3.3258 us/op 1.08
Set add up to 64 items then delete last 3.0386 us/op 2.6245 us/op 1.16
OrderedSet add up to 64 items then delete last 4.0355 us/op 3.9686 us/op 1.02
Set add up to 64 items then delete middle 2.5573 us/op 2.7104 us/op 0.94
OrderedSet add up to 64 items then delete middle 5.1751 us/op 5.4421 us/op 0.95
Set add up to 128 items then delete first 5.4396 us/op 5.5713 us/op 0.98
OrderedSet add up to 128 items then delete first 10.178 us/op 8.4572 us/op 1.20
Set add up to 128 items then delete last 6.1915 us/op 5.0793 us/op 1.22
OrderedSet add up to 128 items then delete last 9.4892 us/op 7.0846 us/op 1.34
Set add up to 128 items then delete middle 6.3047 us/op 4.7172 us/op 1.34
OrderedSet add up to 128 items then delete middle 15.792 us/op 12.638 us/op 1.25
Set add up to 256 items then delete first 12.852 us/op 10.329 us/op 1.24
OrderedSet add up to 256 items then delete first 20.074 us/op 15.986 us/op 1.26
Set add up to 256 items then delete last 12.803 us/op 9.5418 us/op 1.34
OrderedSet add up to 256 items then delete last 17.359 us/op 14.560 us/op 1.19
Set add up to 256 items then delete middle 12.488 us/op 9.1632 us/op 1.36
OrderedSet add up to 256 items then delete middle 42.098 us/op 35.473 us/op 1.19
transfer serialized Status (84 B) 1.8100 us/op 1.6440 us/op 1.10
copy serialized Status (84 B) 1.3800 us/op 1.1910 us/op 1.16
transfer serialized SignedVoluntaryExit (112 B) 1.8190 us/op 1.7200 us/op 1.06
copy serialized SignedVoluntaryExit (112 B) 1.3300 us/op 1.3740 us/op 0.97
transfer serialized ProposerSlashing (416 B) 2.1210 us/op 2.7730 us/op 0.76
copy serialized ProposerSlashing (416 B) 1.7470 us/op 2.6020 us/op 0.67
transfer serialized Attestation (485 B) 2.1890 us/op 2.9310 us/op 0.75
copy serialized Attestation (485 B) 1.8800 us/op 2.6170 us/op 0.72
transfer serialized AttesterSlashing (33232 B) 2.1010 us/op 2.5430 us/op 0.83
copy serialized AttesterSlashing (33232 B) 7.1140 us/op 5.9840 us/op 1.19
transfer serialized Small SignedBeaconBlock (128000 B) 2.0350 us/op 2.6940 us/op 0.76
copy serialized Small SignedBeaconBlock (128000 B) 16.507 us/op 13.860 us/op 1.19
transfer serialized Avg SignedBeaconBlock (200000 B) 2.5820 us/op 3.0650 us/op 0.84
copy serialized Avg SignedBeaconBlock (200000 B) 23.837 us/op 19.791 us/op 1.20
transfer serialized BlobsSidecar (524380 B) 2.9450 us/op 2.8600 us/op 1.03
copy serialized BlobsSidecar (524380 B) 127.42 us/op 91.928 us/op 1.39
transfer serialized Big SignedBeaconBlock (1000000 B) 2.6510 us/op 3.3250 us/op 0.80
copy serialized Big SignedBeaconBlock (1000000 B) 153.92 us/op 138.91 us/op 1.11
pass gossip attestations to forkchoice per slot 3.4529 ms/op 3.3776 ms/op 1.02
forkChoice updateHead vc 100000 bc 64 eq 0 562.94 us/op 518.75 us/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 0 4.9915 ms/op 3.1824 ms/op 1.57
forkChoice updateHead vc 1000000 bc 64 eq 0 5.7309 ms/op 5.3981 ms/op 1.06
forkChoice updateHead vc 600000 bc 320 eq 0 3.1788 ms/op 3.1844 ms/op 1.00
forkChoice updateHead vc 600000 bc 1200 eq 0 3.1222 ms/op 3.2801 ms/op 0.95
forkChoice updateHead vc 600000 bc 7200 eq 0 4.4497 ms/op 4.3535 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 1000 11.043 ms/op 10.910 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 10000 11.093 ms/op 10.911 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 300000 15.185 ms/op 14.748 ms/op 1.03
computeDeltas 500000 validators 300 proto nodes 4.0381 ms/op 3.9809 ms/op 1.01
computeDeltas 500000 validators 1200 proto nodes 4.2148 ms/op 3.8178 ms/op 1.10
computeDeltas 500000 validators 7200 proto nodes 4.1315 ms/op 3.6483 ms/op 1.13
computeDeltas 750000 validators 300 proto nodes 6.0101 ms/op 5.4499 ms/op 1.10
computeDeltas 750000 validators 1200 proto nodes 6.1742 ms/op 5.4822 ms/op 1.13
computeDeltas 750000 validators 7200 proto nodes 6.5964 ms/op 5.4464 ms/op 1.21
computeDeltas 1400000 validators 300 proto nodes 13.884 ms/op 10.769 ms/op 1.29
computeDeltas 1400000 validators 1200 proto nodes 13.757 ms/op 10.606 ms/op 1.30
computeDeltas 1400000 validators 7200 proto nodes 14.181 ms/op 10.324 ms/op 1.37
computeDeltas 2100000 validators 300 proto nodes 22.993 ms/op 15.116 ms/op 1.52
computeDeltas 2100000 validators 1200 proto nodes 24.905 ms/op 15.352 ms/op 1.62
computeDeltas 2100000 validators 7200 proto nodes 21.869 ms/op 16.111 ms/op 1.36
altair processAttestation - 250000 vs - 7PWei normalcase 3.2722 ms/op 2.0572 ms/op 1.59
altair processAttestation - 250000 vs - 7PWei worstcase 4.6101 ms/op 3.4506 ms/op 1.34
altair processAttestation - setStatus - 1/6 committees join 174.20 us/op 152.63 us/op 1.14
altair processAttestation - setStatus - 1/3 committees join 317.86 us/op 290.31 us/op 1.09
altair processAttestation - setStatus - 1/2 committees join 385.85 us/op 363.96 us/op 1.06
altair processAttestation - setStatus - 2/3 committees join 560.84 us/op 477.94 us/op 1.17
altair processAttestation - setStatus - 4/5 committees join 744.25 us/op 638.26 us/op 1.17
altair processAttestation - setStatus - 100% committees join 907.01 us/op 756.06 us/op 1.20
altair processBlock - 250000 vs - 7PWei normalcase 10.952 ms/op 9.8659 ms/op 1.11
altair processBlock - 250000 vs - 7PWei normalcase hashState 36.239 ms/op 33.916 ms/op 1.07
altair processBlock - 250000 vs - 7PWei worstcase 37.950 ms/op 32.134 ms/op 1.18
altair processBlock - 250000 vs - 7PWei worstcase hashState 97.601 ms/op 88.410 ms/op 1.10
phase0 processBlock - 250000 vs - 7PWei normalcase 2.5110 ms/op 2.2564 ms/op 1.11
phase0 processBlock - 250000 vs - 7PWei worstcase 33.207 ms/op 27.097 ms/op 1.23
altair processEth1Data - 250000 vs - 7PWei normalcase 406.70 us/op 315.08 us/op 1.29
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.096 us/op 11.978 us/op 0.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 64.145 us/op 67.985 us/op 0.94
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 19.131 us/op 16.390 us/op 1.17
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 17.876 us/op 12.253 us/op 1.46
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 177.32 us/op 160.28 us/op 1.11
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2349 ms/op 962.52 us/op 1.28
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.5335 ms/op 1.6106 ms/op 0.95
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6725 ms/op 1.4629 ms/op 1.14
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.4626 ms/op 3.2665 ms/op 1.06
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.4778 ms/op 2.3614 ms/op 1.05
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.6432 ms/op 4.2865 ms/op 1.08
Tree 40 250000 create 257.13 ms/op 217.88 ms/op 1.18
Tree 40 250000 get(125000) 163.43 ns/op 144.14 ns/op 1.13
Tree 40 250000 set(125000) 681.02 ns/op 636.31 ns/op 1.07
Tree 40 250000 toArray() 20.122 ms/op 19.257 ms/op 1.04
Tree 40 250000 iterate all - toArray() + loop 18.810 ms/op 19.101 ms/op 0.98
Tree 40 250000 iterate all - get(i) 59.223 ms/op 53.888 ms/op 1.10
MutableVector 250000 create 12.144 ms/op 10.501 ms/op 1.16
MutableVector 250000 get(125000) 6.8110 ns/op 6.2650 ns/op 1.09
MutableVector 250000 set(125000) 261.69 ns/op 246.99 ns/op 1.06
MutableVector 250000 toArray() 3.9204 ms/op 4.2363 ms/op 0.93
MutableVector 250000 iterate all - toArray() + loop 4.4399 ms/op 4.2740 ms/op 1.04
MutableVector 250000 iterate all - get(i) 1.5847 ms/op 1.5216 ms/op 1.04
Array 250000 create 4.0446 ms/op 3.8570 ms/op 1.05
Array 250000 clone - spread 1.6650 ms/op 1.6288 ms/op 1.02
Array 250000 get(125000) 1.2000 ns/op 1.1110 ns/op 1.08
Array 250000 set(125000) 1.7010 ns/op 1.3990 ns/op 1.22
Array 250000 iterate all - loop 175.74 us/op 172.04 us/op 1.02
effectiveBalanceIncrements clone Uint8Array 300000 38.173 us/op 33.337 us/op 1.15
effectiveBalanceIncrements clone MutableVector 300000 415.00 ns/op 412.00 ns/op 1.01
effectiveBalanceIncrements rw all Uint8Array 300000 213.15 us/op 206.04 us/op 1.03
effectiveBalanceIncrements rw all MutableVector 300000 88.244 ms/op 81.914 ms/op 1.08
phase0 afterProcessEpoch - 250000 vs - 7PWei 93.691 ms/op 91.221 ms/op 1.03
phase0 beforeProcessEpoch - 250000 vs - 7PWei 48.169 ms/op 41.881 ms/op 1.15
altair processEpoch - mainnet_e81889 436.24 ms/op 388.79 ms/op 1.12
mainnet_e81889 - altair beforeProcessEpoch 76.467 ms/op 66.480 ms/op 1.15
mainnet_e81889 - altair processJustificationAndFinalization 15.859 us/op 13.159 us/op 1.21
mainnet_e81889 - altair processInactivityUpdates 7.0870 ms/op 5.2684 ms/op 1.35
mainnet_e81889 - altair processRewardsAndPenalties 45.067 ms/op 46.226 ms/op 0.97
mainnet_e81889 - altair processRegistryUpdates 2.8630 us/op 2.4340 us/op 1.18
mainnet_e81889 - altair processSlashings 365.00 ns/op 395.00 ns/op 0.92
mainnet_e81889 - altair processEth1DataReset 605.00 ns/op 624.00 ns/op 0.97
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3054 ms/op 1.2437 ms/op 1.05
mainnet_e81889 - altair processSlashingsReset 4.3760 us/op 4.1300 us/op 1.06
mainnet_e81889 - altair processRandaoMixesReset 5.8370 us/op 5.3060 us/op 1.10
mainnet_e81889 - altair processHistoricalRootsUpdate 837.00 ns/op 914.00 ns/op 0.92
mainnet_e81889 - altair processParticipationFlagUpdates 1.8370 us/op 1.5540 us/op 1.18
mainnet_e81889 - altair processSyncCommitteeUpdates 547.00 ns/op 654.00 ns/op 0.84
mainnet_e81889 - altair afterProcessEpoch 104.65 ms/op 94.374 ms/op 1.11
capella processEpoch - mainnet_e217614 1.5456 s/op 1.4543 s/op 1.06
mainnet_e217614 - capella beforeProcessEpoch 307.59 ms/op 273.05 ms/op 1.13
mainnet_e217614 - capella processJustificationAndFinalization 17.664 us/op 16.897 us/op 1.05
mainnet_e217614 - capella processInactivityUpdates 15.555 ms/op 16.381 ms/op 0.95
mainnet_e217614 - capella processRewardsAndPenalties 249.54 ms/op 249.91 ms/op 1.00
mainnet_e217614 - capella processRegistryUpdates 19.328 us/op 17.286 us/op 1.12
mainnet_e217614 - capella processSlashings 467.00 ns/op 521.00 ns/op 0.90
mainnet_e217614 - capella processEth1DataReset 438.00 ns/op 399.00 ns/op 1.10
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.1933 ms/op 9.2958 ms/op 0.45
mainnet_e217614 - capella processSlashingsReset 3.7520 us/op 3.5940 us/op 1.04
mainnet_e217614 - capella processRandaoMixesReset 7.1560 us/op 4.2240 us/op 1.69
mainnet_e217614 - capella processHistoricalRootsUpdate 577.00 ns/op 337.00 ns/op 1.71
mainnet_e217614 - capella processParticipationFlagUpdates 2.1680 us/op 1.8210 us/op 1.19
mainnet_e217614 - capella afterProcessEpoch 263.22 ms/op 253.49 ms/op 1.04
phase0 processEpoch - mainnet_e58758 438.47 ms/op 436.53 ms/op 1.00
mainnet_e58758 - phase0 beforeProcessEpoch 120.15 ms/op 118.88 ms/op 1.01
mainnet_e58758 - phase0 processJustificationAndFinalization 18.503 us/op 15.522 us/op 1.19
mainnet_e58758 - phase0 processRewardsAndPenalties 27.813 ms/op 24.451 ms/op 1.14
mainnet_e58758 - phase0 processRegistryUpdates 11.645 us/op 8.8020 us/op 1.32
mainnet_e58758 - phase0 processSlashings 655.00 ns/op 372.00 ns/op 1.76
mainnet_e58758 - phase0 processEth1DataReset 446.00 ns/op 365.00 ns/op 1.22
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1880 ms/op 1.1675 ms/op 1.02
mainnet_e58758 - phase0 processSlashingsReset 2.8600 us/op 3.2020 us/op 0.89
mainnet_e58758 - phase0 processRandaoMixesReset 5.1420 us/op 4.8470 us/op 1.06
mainnet_e58758 - phase0 processHistoricalRootsUpdate 583.00 ns/op 577.00 ns/op 1.01
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.7670 us/op 3.3330 us/op 1.43
mainnet_e58758 - phase0 afterProcessEpoch 82.567 ms/op 80.203 ms/op 1.03
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4054 ms/op 1.1914 ms/op 1.18
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.6689 ms/op 1.5956 ms/op 1.05
altair processInactivityUpdates - 250000 normalcase 18.145 ms/op 15.015 ms/op 1.21
altair processInactivityUpdates - 250000 worstcase 19.252 ms/op 15.421 ms/op 1.25
phase0 processRegistryUpdates - 250000 normalcase 10.375 us/op 8.4910 us/op 1.22
phase0 processRegistryUpdates - 250000 badcase_full_deposits 437.10 us/op 321.79 us/op 1.36
phase0 processRegistryUpdates - 250000 worstcase 0.5 132.03 ms/op 119.03 ms/op 1.11
altair processRewardsAndPenalties - 250000 normalcase 47.797 ms/op 35.848 ms/op 1.33
altair processRewardsAndPenalties - 250000 worstcase 45.759 ms/op 36.365 ms/op 1.26
phase0 getAttestationDeltas - 250000 normalcase 8.9708 ms/op 7.7610 ms/op 1.16
phase0 getAttestationDeltas - 250000 worstcase 9.0543 ms/op 7.7358 ms/op 1.17
phase0 processSlashings - 250000 worstcase 95.041 us/op 67.568 us/op 1.41
altair processSyncCommitteeUpdates - 250000 137.29 ms/op 126.08 ms/op 1.09
BeaconState.hashTreeRoot - No change 474.00 ns/op 321.00 ns/op 1.48
BeaconState.hashTreeRoot - 1 full validator 133.89 us/op 133.97 us/op 1.00
BeaconState.hashTreeRoot - 32 full validator 1.4557 ms/op 1.2564 ms/op 1.16
BeaconState.hashTreeRoot - 512 full validator 12.970 ms/op 13.280 ms/op 0.98
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 145.65 us/op 158.24 us/op 0.92
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.8883 ms/op 1.9596 ms/op 0.96
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 24.947 ms/op 24.082 ms/op 1.04
BeaconState.hashTreeRoot - 1 balances 118.63 us/op 117.82 us/op 1.01
BeaconState.hashTreeRoot - 32 balances 1.0951 ms/op 1.0879 ms/op 1.01
BeaconState.hashTreeRoot - 512 balances 9.3574 ms/op 10.599 ms/op 0.88
BeaconState.hashTreeRoot - 250000 balances 174.00 ms/op 208.86 ms/op 0.83
aggregationBits - 2048 els - zipIndexesInBitList 25.760 us/op 22.201 us/op 1.16
byteArrayEquals 32 80.489 ns/op 74.333 ns/op 1.08
Buffer.compare 32 49.292 ns/op 44.566 ns/op 1.11
byteArrayEquals 1024 2.2076 us/op 2.0264 us/op 1.09
Buffer.compare 1024 56.869 ns/op 52.275 ns/op 1.09
byteArrayEquals 16384 35.478 us/op 32.262 us/op 1.10
Buffer.compare 16384 267.49 ns/op 235.54 ns/op 1.14
byteArrayEquals 123687377 270.88 ms/op 249.63 ms/op 1.09
Buffer.compare 123687377 10.581 ms/op 6.0370 ms/op 1.75
byteArrayEquals 32 - diff last byte 81.733 ns/op 71.357 ns/op 1.15
Buffer.compare 32 - diff last byte 54.180 ns/op 48.657 ns/op 1.11
byteArrayEquals 1024 - diff last byte 2.1527 us/op 1.9901 us/op 1.08
Buffer.compare 1024 - diff last byte 56.696 ns/op 49.151 ns/op 1.15
byteArrayEquals 16384 - diff last byte 35.360 us/op 31.755 us/op 1.11
Buffer.compare 16384 - diff last byte 257.60 ns/op 228.00 ns/op 1.13
byteArrayEquals 123687377 - diff last byte 276.04 ms/op 247.19 ms/op 1.12
Buffer.compare 123687377 - diff last byte 9.5791 ms/op 6.1353 ms/op 1.56
byteArrayEquals 32 - random bytes 6.4970 ns/op 5.1660 ns/op 1.26
Buffer.compare 32 - random bytes 50.433 ns/op 47.630 ns/op 1.06
byteArrayEquals 1024 - random bytes 6.7990 ns/op 5.1000 ns/op 1.33
Buffer.compare 1024 - random bytes 48.941 ns/op 45.863 ns/op 1.07
byteArrayEquals 16384 - random bytes 6.9990 ns/op 5.0870 ns/op 1.38
Buffer.compare 16384 - random bytes 51.366 ns/op 45.958 ns/op 1.12
byteArrayEquals 123687377 - random bytes 10.390 ns/op 7.8200 ns/op 1.33
Buffer.compare 123687377 - random bytes 62.900 ns/op 48.750 ns/op 1.29
regular array get 100000 times 49.754 us/op 44.041 us/op 1.13
wrappedArray get 100000 times 49.822 us/op 43.881 us/op 1.14
arrayWithProxy get 100000 times 15.420 ms/op 13.740 ms/op 1.12
ssz.Root.equals 59.444 ns/op 52.427 ns/op 1.13
byteArrayEquals 59.160 ns/op 51.517 ns/op 1.15
Buffer.compare 13.073 ns/op 10.120 ns/op 1.29
shuffle list - 16384 els 7.5326 ms/op 6.2300 ms/op 1.21
shuffle list - 250000 els 113.01 ms/op 91.136 ms/op 1.24
processSlot - 1 slots 19.493 us/op 14.695 us/op 1.33
processSlot - 32 slots 3.6732 ms/op 3.2835 ms/op 1.12
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 60.311 ms/op 48.570 ms/op 1.24
getCommitteeAssignments - req 1 vs - 250000 vc 3.0063 ms/op 2.5969 ms/op 1.16
getCommitteeAssignments - req 100 vs - 250000 vc 4.2572 ms/op 3.7557 ms/op 1.13
getCommitteeAssignments - req 1000 vs - 250000 vc 4.7166 ms/op 4.0218 ms/op 1.17
findModifiedValidators - 10000 modified validators 423.00 ms/op 293.34 ms/op 1.44
findModifiedValidators - 1000 modified validators 273.56 ms/op 171.20 ms/op 1.60
findModifiedValidators - 100 modified validators 266.80 ms/op 165.27 ms/op 1.61
findModifiedValidators - 10 modified validators 275.34 ms/op 166.99 ms/op 1.65
findModifiedValidators - 1 modified validators 208.88 ms/op 162.43 ms/op 1.29
findModifiedValidators - no difference 228.07 ms/op 163.00 ms/op 1.40
compare ViewDUs 4.3771 s/op 3.1710 s/op 1.38
compare each validator Uint8Array 1.8472 s/op 1.3853 s/op 1.33
compare ViewDU to Uint8Array 1.4977 s/op 1.0554 s/op 1.42
migrate state 1000000 validators, 24 modified, 0 new 812.62 ms/op 626.22 ms/op 1.30
migrate state 1000000 validators, 1700 modified, 1000 new 1.1725 s/op 1.0041 s/op 1.17
migrate state 1000000 validators, 3400 modified, 2000 new 1.5319 s/op 1.3217 s/op 1.16
migrate state 1500000 validators, 24 modified, 0 new 759.70 ms/op 746.82 ms/op 1.02
migrate state 1500000 validators, 1700 modified, 1000 new 1.2338 s/op 1.1512 s/op 1.07
migrate state 1500000 validators, 3400 modified, 2000 new 1.8751 s/op 1.5550 s/op 1.21
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.1300 ns/op 5.4100 ns/op 0.95
state getBlockRootAtSlot - 250000 vs - 7PWei 846.46 ns/op 721.57 ns/op 1.17
computeProposers - vc 250000 10.109 ms/op 8.6478 ms/op 1.17
computeEpochShuffling - vc 250000 125.43 ms/op 104.12 ms/op 1.20
getNextSyncCommittee - vc 250000 167.18 ms/op 167.42 ms/op 1.00
computeSigningRoot for AttestationData 36.426 us/op 33.859 us/op 1.08
hash AttestationData serialized data then Buffer.toString(base64) 2.0326 us/op 1.9064 us/op 1.07
toHexString serialized data 1.5965 us/op 1.2167 us/op 1.31
Buffer.toString(base64) 307.89 ns/op 231.98 ns/op 1.33

by benchmarkbot/action

docker/docker-compose.local_dev.yml Outdated Show resolved Hide resolved
docker/docker-compose.local_dev.yml Show resolved Hide resolved
docker/docker-compose.local_dev.yml Outdated Show resolved Hide resolved
docker/docker-compose.local_dev.yml Show resolved Hide resolved
@jeluard jeluard marked this pull request as ready for review April 29, 2024 20:34
@jeluard jeluard requested a review from nflaig May 23, 2024 12:35
docker/docker-compose.local.yml Outdated Show resolved Hide resolved
docker/grafana/Dockerfile Outdated Show resolved Hide resolved
@jeluard jeluard requested a review from nflaig May 24, 2024 06:44
docker-compose.yml Outdated Show resolved Hide resolved
@@ -14,8 +14,7 @@ VOLUME /dashboards
ENV GF_SECURITY_ADMIN_USER=admin
ENV GF_SECURITY_ADMIN_PASSWORD=admin

# Modified datasource to work with a network_mode: host
ENV PROMETHEUS_URL=http://prometheus:9090
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to override those here? Might be better to just do it in the compose file where extra_hosts is set

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unclear to me why it was done like that in the first place. Maybe there are other ways those Dockerfile are used?
To reduce potential for regression I'd rather keep this PR focused on adding OSX support and not introduce other refactoring.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe there are other ways those Dockerfile are used?

Yes, we publish those to docker hub, users might rely on host being set to prometheus here

# MacOSX: "host.docker.internal:8008"
ENV BEACON_URL='beacon_node:8008'
ENV VC_URL='validator:5064'
ENV BEACON_URL='host.docker.internal:8008'
Copy link
Member

Choose a reason for hiding this comment

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

same here, might be sufficient to override in compose files

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
@jeluard jeluard requested a review from nflaig May 24, 2024 12:58
Copy link
Member

@nflaig nflaig left a comment

Choose a reason for hiding this comment

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

I don't get why we need to modify the values inside Dockerfile

@jeluard
Copy link
Contributor Author

jeluard commented May 24, 2024

@nflaig Ah ok, I misunderstood your previous comment. Reverting those changes as it's indeed not necessary to fix osx support.

@jeluard jeluard requested a review from nflaig May 24, 2024 13:38
@@ -14,7 +14,8 @@ VOLUME /dashboards
ENV GF_SECURITY_ADMIN_USER=admin
ENV GF_SECURITY_ADMIN_PASSWORD=admin

ENV PROMETHEUS_URL=http://host.docker.internal:9090
# Modified datasource to work with a network_mode: host
Copy link
Member

Choose a reason for hiding this comment

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

Would be good to update the comment here, we are not using network_mode: host anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we don't modify this image because it might be used outside, I'd rather leave this comment that explains this env variable in the first place.

Copy link
Member

Choose a reason for hiding this comment

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

but the comment will be inaccurate after this PR, since we don't use network_mode: host anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So do you suggest to remove the comment?

Copy link
Member

Choose a reason for hiding this comment

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

We might not even have to modify the prometheus URL anymore becasue we dropped network_mode: host

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Others might rely on this behavior, I think it's out of scope of this PR. We discussed that before already.

@nflaig nflaig merged commit 95ce044 into unstable May 24, 2024
20 checks passed
@nflaig nflaig deleted the jeluard/compose-local-dev branch May 24, 2024 15:18
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