From 21abb186a69a5575732ad2962e5da42f1215c1eb Mon Sep 17 00:00:00 2001 From: Trajan0x Date: Wed, 3 Apr 2024 00:16:06 -0400 Subject: [PATCH] 1 wei->10 wei [goreleaser] --- ethergo/submitter/submitter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethergo/submitter/submitter.go b/ethergo/submitter/submitter.go index 9b04074eb6..0dcfbb7160 100644 --- a/ethergo/submitter/submitter.go +++ b/ethergo/submitter/submitter.go @@ -412,8 +412,8 @@ func (t *txSubmitterImpl) setGasPrice(ctx context.Context, client client.EVM, // in the case where this is our first attempt, use market prices!. if t.config.SupportsEIP1559(chainID) { transactor.GasFeeCap = new(big.Int).Mul(marketFeeCap, big.NewInt(2)) - // use 1 wei if tip cap is zero - transactor.GasTipCap = bigMax(marketTipCap, big.NewInt(1)) + // use 10 wei if tip cap is zero. 10 wei allows us to bump 10% as a whole number (10% of 10 is 1) + transactor.GasTipCap = bigMax(marketTipCap, big.NewInt(10)) } else { transactor.GasPrice = marketGasPrice }