go-pulse/internal/ethapi
Péter Szilágyi 61b844f2b2
eth/gasestimator: allow slight estimation error in favor of less iterations (#28618)
* eth/gasestimator: early exit for plain transfer and error allowance

* core, eth/gasestimator: hard guess at a possible required gas

* internal/ethapi: update estimation tests with the error ratio

* eth/gasestimator: I hate you linter

* graphql: fix gas estimation test

---------

Co-authored-by: Oren <orenyomtov@users.noreply.github.com>
2023-11-28 22:31:47 +02:00
..
testdata core: add BeaconRoot to header in GenerateChain (#27974) 2023-08-22 18:29:17 +02:00
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api_test.go eth/gasestimator: allow slight estimation error in favor of less iterations (#28618) 2023-11-28 22:31:47 +02:00
api.go eth/gasestimator: allow slight estimation error in favor of less iterations (#28618) 2023-11-28 22:31:47 +02:00
backend.go eth, internal/ethapi: drop some weird indirection (#28597) 2023-11-24 13:26:42 +02:00
dbapi.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
transaction_args_test.go eth, internal/ethapi: drop some weird indirection (#28597) 2023-11-24 13:26:42 +02:00
transaction_args.go internal/ethapi: add state override to estimateGas (#27845) 2023-08-07 16:03:57 +02:00