make sure lotus compiles with +testground build flag
This commit is contained in:
parent
c9a8f3b8a0
commit
b4115021c5
@ -189,7 +189,7 @@ func RecordTipsetPoints(ctx context.Context, api api.FullNode, pl *PointList, ti
|
|||||||
pl.AddPoint(p)
|
pl.AddPoint(p)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
blks := len(cids)
|
blks := int64(len(cids))
|
||||||
p = NewPoint("chain.gas_fill_ratio", float64(totalGasLimit)/float64(blks*build.BlockGasTarget))
|
p = NewPoint("chain.gas_fill_ratio", float64(totalGasLimit)/float64(blks*build.BlockGasTarget))
|
||||||
pl.AddPoint(p)
|
pl.AddPoint(p)
|
||||||
p = NewPoint("chain.gas_capacity_ratio", float64(totalUniqGasLimit)/float64(blks*build.BlockGasTarget))
|
p = NewPoint("chain.gas_capacity_ratio", float64(totalUniqGasLimit)/float64(blks*build.BlockGasTarget))
|
||||||
|
Loading…
Reference in New Issue
Block a user