Skip to content

Commit

Permalink
Merge pull request #3777 from filecoin-project/feat/plan-20-blocks
Browse files Browse the repository at this point in the history
Increase the FeeCap estimation to 20 blocks in a future
  • Loading branch information
magik6k authored Sep 14, 2020
2 parents aa83a4c + d5aef29 commit 18c025f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/impl/full/gas.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 18c025f

Please sign in to comment.