Gas estimation: Overestimate by 2 around the M1 upgrade
This commit is contained in:
parent
26a780a198
commit
8282484f65
@ -309,6 +309,11 @@ func gasEstimateGasLimit(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Overestimate gas used around the
|
||||||
|
if ts.Height() <= build.UpgradeFVM1Height && (build.UpgradeFVM1Height-ts.Height() <= 5) {
|
||||||
|
ret *= 2
|
||||||
|
}
|
||||||
|
|
||||||
return ret, nil
|
return ret, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user