Merge pull request #3628 from filecoin-project/fix/fork-treshold

Upgrade to correct fork treshold
This commit is contained in:
Jakub Sztandera 2020-09-07 23:17:24 +02:00 committed by GitHub
commit ca919dddd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ var bigBlockGasLimit = big.NewInt(build.BlockGasLimit)
// this is *temporary* mutilation until we have implemented uncapped miner penalties -- it will go
// away in the next fork.
func allowNegativeChains(epoch abi.ChainEpoch) bool {
return epoch < build.BreezeGasTampingDuration+5
return epoch < build.UpgradeBreezeHeight+5
}
const MaxBlocks = 15