From 7465c7487d219efec7b899d770a07145de80b4a7 Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Wed, 12 Jun 2024 21:29:06 -0600 Subject: [PATCH] Make sure fee > tip in validator wallet estimateGas --- staker/validatorwallet/contract.go | 1 + 1 file changed, 1 insertion(+) diff --git a/staker/validatorwallet/contract.go b/staker/validatorwallet/contract.go index 0ef190e703..77b403b669 100644 --- a/staker/validatorwallet/contract.go +++ b/staker/validatorwallet/contract.go @@ -307,6 +307,7 @@ func (v *Contract) estimateGas(ctx context.Context, value *big.Int, data []byte) if err != nil { return 0, fmt.Errorf("getting suggested gas tip cap: %w", err) } + gasFeeCap.Add(gasFeeCap, gasTipCap) g, err := v.l1Reader.Client().EstimateGas( ctx, ethereum.CallMsg{