Skip to content

Commit

Permalink
Merge pull request #4222 from filecoin-project/feat/increase-inclusio…
Browse files Browse the repository at this point in the history
…n-premium

Change default gas premium to for 10 block inclusion
  • Loading branch information
magik6k authored Oct 15, 2020
2 parents 958f169 + df6f4a5 commit 52800f5
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 @@ -277,7 +277,7 @@ func (m *GasModule) GasEstimateMessageGas(ctx context.Context, msg *types.Messag
}

if msg.GasPremium == types.EmptyInt || types.BigCmp(msg.GasPremium, types.NewInt(0)) == 0 {
gasPremium, err := m.GasEstimateGasPremium(ctx, 2, msg.From, msg.GasLimit, types.TipSetKey{})
gasPremium, err := m.GasEstimateGasPremium(ctx, 10, msg.From, msg.GasLimit, types.TipSetKey{})
if err != nil {
return nil, xerrors.Errorf("estimating gas price: %w", err)
}
Expand Down

0 comments on commit 52800f5

Please sign in to comment.