Correct MiningRewardTotal and calculation of filMined

This commit is contained in:
Aayush Rajasekaran 2020-07-27 18:50:59 -04:00
parent de867d7a9a
commit 7153bda0be
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ const WinningPoStSectorSetLookback = abi.ChainEpoch(10)
// Devnet settings
const TotalFilecoin = uint64(2_000_000_000)
const MiningRewardTotal = uint64(1_900_000_000)
const MiningRewardTotal = uint64(1_100_000_000)
const FilecoinPrecision = uint64(1_000_000_000_000_000_000)

View File

@ -72,7 +72,7 @@ func (rt *Runtime) TotalFilCircSupply() abi.TokenAmount {
rt.Abortf(exitcode.ErrIllegalState, "failed to get reward actor for computing total supply: %s", err)
}
filMined := types.BigSub(types.FromFil(build.TotalFilecoin), rew.Balance)
filMined := types.BigSub(types.FromFil(build.MiningRewardTotal), rew.Balance)
burnt, err := rt.state.GetActor(builtin.BurntFundsActorAddr)
if err != nil {