Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Change miner.Sectors AMT bitwidth to 5. Move constants to state files. #1333

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

anorth
Copy link
Member

@anorth anorth commented Dec 17, 2020

@ZenGround0 's benchmarks indicate that the best bitwidth for miner.Sectors is 5. I think they accidentally wrote 6 in #1328, which was easy to miss.

I also moved the constants consistently into the _state.go files, rather than policy.go.

@anorth
Copy link
Member Author

anorth commented Dec 17, 2020

I'll ensure @ZenGround0 reviews this after break, but would like to merge so we can build on top of it.

@codecov-io
Copy link

Codecov Report

Merging #1333 (16b8d9f) into master (638376f) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1333   +/-   ##
======================================
  Coverage    70.0%   70.0%           
======================================
  Files          72      72           
  Lines        7346    7346           
======================================
  Hits         5148    5148           
  Misses       1354    1354           
  Partials      844     844           

@anorth anorth merged commit 9471669 into master Dec 17, 2020
@anorth anorth deleted the anorth/configcleanup branch December 17, 2020 03:57
bibibong pushed a commit to EpiK-Protocol/go-epik-actors that referenced this pull request Feb 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants