filecoin-project / ref-fvm

Reference implementation of the Filecoin Virtual Machine
https://fvm.filecoin.io/
Other
385 stars 140 forks source link

chore: fvm, integration: remove num_cpus #1988

Closed Stebalien closed 9 months ago

Stebalien commented 9 months ago

std::thread::available_parallelism is the right function to call now.

Also remove INITIAL_RESERVE_BALANCE which was unused.

codecov-commenter commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (5cd204d) 75.52% compared to head (f1e7935) 54.58%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/filecoin-project/ref-fvm/pull/1988/graphs/tree.svg?width=650&height=150&src=pr&token=FJI6DH7VWU&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project)](https://app.codecov.io/gh/filecoin-project/ref-fvm/pull/1988?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project) ```diff @@ Coverage Diff @@ ## master #1988 +/- ## =========================================== - Coverage 75.52% 54.58% -20.95% =========================================== Files 158 158 Lines 15600 15600 =========================================== - Hits 11782 8515 -3267 - Misses 3818 7085 +3267 ``` | [Files](https://app.codecov.io/gh/filecoin-project/ref-fvm/pull/1988?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project) | Coverage Δ | | |---|---|---| | [fvm/src/kernel/filecoin.rs](https://app.codecov.io/gh/filecoin-project/ref-fvm/pull/1988?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project#diff-ZnZtL3NyYy9rZXJuZWwvZmlsZWNvaW4ucnM=) | `0.00% <0.00%> (-19.95%)` | :arrow_down: | ... and [64 files with indirect coverage changes](https://app.codecov.io/gh/filecoin-project/ref-fvm/pull/1988/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project)