accounts/abi: include access-list in gas estimation (#31394)

Simple bugfix to include the access-list in the gas-estimation step of
the ABI bindings code.
This commit is contained in:
protolambda 2025-03-26 16:14:17 +01:00 committed by GitHub
parent a775e68421
commit a82303f4e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -390,6 +390,7 @@ func (c *BoundContract) estimateGasLimit(opts *TransactOpts, contract *common.Ad
GasFeeCap: gasFeeCap, GasFeeCap: gasFeeCap,
Value: value, Value: value,
Data: input, Data: input,
AccessList: opts.AccessList,
} }
return c.transactor.EstimateGas(ensureContext(opts.Context), msg) return c.transactor.EstimateGas(ensureContext(opts.Context), msg)
} }