status-im / nimbus-eth2

Nim implementation of the Ethereum Beacon Chain
https://nimbus.guide
Other
523 stars 227 forks source link

hypergeometric distribution CDF for PeerDAS #6447

Closed tersec closed 2 months ago

tersec commented 2 months ago

For get_extended_sample_count

The reference implementation intrinsically relies on Python's arbitrary-sized integers. This implementation computes the same function with machine-sized data types and in O(1) memory, without bringing in any new dependencies Nim or C.

tersec commented 2 months ago

jenkins/nimbus-eth2/linux/x86_64/nix CI failure unrelated:

Obtained ci/Jenkinsfile.nix from e54e764588d25458049dd2194e0b5a326c0df5af
[Pipeline] Start of Pipeline
[Pipeline] library
Loading library status-jenkins-lib@nix/flake-build
Examining [status-im/status-jenkins-lib](https://github.com/status-im/status-jenkins-lib)
Attempting to resolve nix/flake-build as a branch
Attempting to resolve nix/flake-build as a tag
ERROR: Could not resolve nix/flake-build
[Pipeline] End of Pipeline
ERROR: No version nix/flake-build found for library status-jenkins-lib

GitHub has been notified of this commit’s build result

Finished: FAILURE
github-actions[bot] commented 2 months ago

Unit Test Results

         9 files  ±0    1 334 suites  ±0   30m 42s :stopwatch: +55s   5 000 tests +1    4 652 :heavy_check_mark: +1  348 :zzz: ±0  0 :x: ±0  20 880 runs  +3  20 476 :heavy_check_mark: +3  404 :zzz: ±0  0 :x: ±0 

Results for commit e54e7645. ± Comparison against base commit fd4398d4.