From d5aef296ea18cc39f99d9bbd0de4a71831e58faf Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Fri, 11 Sep 2020 21:59:51 +0200 Subject: [PATCH] Increase the FeeCap estimation to 20 blocks in a future FeeCap will be set to 10x the current running rate Signed-off-by: Jakub Sztandera --- node/impl/full/gas.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/impl/full/gas.go b/node/impl/full/gas.go index 40ab88b6b..c1f3bd16c 100644 --- a/node/impl/full/gas.go +++ b/node/impl/full/gas.go @@ -204,7 +204,7 @@ func (a *GasAPI) GasEstimateMessageGas(ctx context.Context, msg *types.Message, } if msg.GasFeeCap == types.EmptyInt || types.BigCmp(msg.GasFeeCap, types.NewInt(0)) == 0 { - feeCap, err := a.GasEstimateFeeCap(ctx, msg, 10, types.EmptyTSK) + feeCap, err := a.GasEstimateFeeCap(ctx, msg, 20, types.EmptyTSK) if err != nil { return nil, xerrors.Errorf("estimating fee cap: %w", err) }