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 <kubuxu@protocol.ai>
This commit is contained in:
parent
232cc320bd
commit
d5aef296ea
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user