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

Minting function maintainability #356

Merged
merged 4 commits into from
May 9, 2020

Conversation

davidad
Copy link
Member

@davidad davidad commented May 8, 2020

  • use correct epoch duration (from actors/builtin/miner/policy.go)
  • accept fixed-point input (which @zixuanzh can now use to pass fractional network times)
  • remove the dependence of tests on network parameters, by accepting {LambdaNum,LambdaDen} as parameters
  • introduce a wrapper function for non-test usage that supplies the hard-coded Lambda constants (and also conveniently performs Mul and Rsh in the right order)

@davidad davidad requested review from anorth and zixuanzh May 8, 2020 23:03
@anorth anorth merged commit 3c96f54 into filecoin-project:master May 9, 2020
aarshkshah1992 pushed a commit that referenced this pull request Jun 29, 2020
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.

2 participants