go-ethereum/internal/ethapi
Péter Szilágyi a5fe7353cf
common: drop BigMin and BigMax, they pollute our dep graph (#30645)
Way back we've added `common.math.BigMin` and `common.math.BigMax`.
These were kind of cute helpers, but unfortunate ones, because package
all over out codebase added dependencies to this package just to avoid
having to write out 3 lines of code.

Because of this, we've also started having package name clashes with the
stdlib `math`, which got solves even more badly by moving some helpers
over ***from*** the stdlib into our custom lib (e.g. MaxUint64). The
latter ones were nuked out in a previous PR and this PR nukes out BigMin
and BigMax, inlining them at all call sites.

As we're transitioning to uint256, if need be, we can add a min and max
to that.
2024-10-21 12:45:33 +03:00
..
testdata all: implement EIP-7002 & EIP-7251 (#30571) 2024-10-11 21:36:13 +02:00
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api_test.go core, eth, ethstats: simplify chain head events (#30601) 2024-10-16 10:32:58 +03:00
api.go all: get rid of custom MaxUint64 and MaxUint64 (#30636) 2024-10-20 14:41:51 +03:00
backend.go core, eth, ethstats: simplify chain head events (#30601) 2024-10-16 10:32:58 +03:00
dbapi.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
errors.go internal/ethapi: eth_multicall (#27720) 2024-09-06 11:31:00 +02:00
logtracer.go internal/ethapi: eth_multicall (#27720) 2024-09-06 11:31:00 +02:00
simulate_test.go internal/ethapi: eth_multicall (#27720) 2024-09-06 11:31:00 +02:00
simulate.go internal/ethapi: remove td field from block (#30386) 2024-10-01 11:36:56 +02:00
transaction_args_test.go core, eth, ethstats: simplify chain head events (#30601) 2024-10-16 10:32:58 +03:00
transaction_args.go common: drop BigMin and BigMax, they pollute our dep graph (#30645) 2024-10-21 12:45:33 +03:00