filecoin-project / go-f3

Golang implementation of Fast Finality for Filecoin (F3)
Apache License 2.0
12 stars 7 forks source link

Generate unique beacon per each fake EC tipset #752

Closed masih closed 1 week ago

masih commented 1 week ago

Generate a unique bacon per each tipset created by fake ec for better testing.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.32%. Comparing base (473ad59) to head (6d150a3). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/filecoin-project/go-f3/pull/752/graphs/tree.svg?width=650&height=150&src=pr&token=6uD131t7gs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project)](https://app.codecov.io/gh/filecoin-project/go-f3/pull/752?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project) ```diff @@ Coverage Diff @@ ## main #752 +/- ## ========================================== - Coverage 69.58% 69.32% -0.27% ========================================== Files 74 74 Lines 7497 7494 -3 ========================================== - Hits 5217 5195 -22 - Misses 1868 1885 +17 - Partials 412 414 +2 ``` | [Files with missing lines](https://app.codecov.io/gh/filecoin-project/go-f3/pull/752?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project) | Coverage Δ | | |---|---|---| | [internal/consensus/fake\_ec.go](https://app.codecov.io/gh/filecoin-project/go-f3/pull/752?src=pr&el=tree&filepath=internal%2Fconsensus%2Ffake_ec.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project#diff-aW50ZXJuYWwvY29uc2Vuc3VzL2Zha2VfZWMuZ28=) | `88.88% <100.00%> (+1.13%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/filecoin-project/go-f3/pull/752/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=filecoin-project)

🚨 Try these New Features: