go-ethereum/les
Martin Holst Swende 39f502329f
internal/ethapi: don't set sender-balance to maxuint, fixes #16999 (#20783)
Prior to this change, eth_call changed the balance of the sender account in the
EVM environment to 2^256 wei to cover the gas cost of the call execution.
We've had this behavior for a long time even though it's super confusing.

This commit sets the default call gasprice to zero instead of updating the balance,
which is better because it makes eth_call semantics less surprising. Removing
the built-in balance assignment also makes balance overrides work as expected.
2020-03-23 18:21:23 +01:00
..
checkpointoracle les/checkpointoracle: move oracle into its own package (#20508) 2020-01-07 11:24:21 +02:00
flowcontrol all: update author list and licenses 2019-07-22 12:17:27 +03:00
api.go les/checkpointoracle: move oracle into its own package (#20508) 2020-01-07 11:24:21 +02:00
api_backend.go internal/ethapi: don't set sender-balance to maxuint, fixes #16999 (#20783) 2020-03-23 18:21:23 +01:00
api_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
balance.go les: rename UpdateBalance to AddBalance and simplify return format (#20304) 2019-11-18 12:42:49 +01:00
balance_test.go les: rework clientpool (#20077) 2019-11-02 13:02:35 +01:00
benchmark.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
bloombits.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
client.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
client_handler.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
clientpool.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
clientpool_test.go les, miner, accounts/abi/bind: fix load-sensitive unit tests (#20698) 2020-02-20 13:05:54 +01:00
commons.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
costtracker.go les: multiple server bugfixes (#20079) 2019-09-17 16:28:41 +03:00
distributor.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
distributor_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
enr_entry.go les: add empty "les" ENR entry for servers (#20145) 2019-10-02 14:14:27 +03:00
execqueue.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
execqueue_test.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
fetcher.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
handler_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
metrics.go les: multiple server bugfixes (#20079) 2019-09-17 16:28:41 +03:00
odr.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
odr_requests.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
odr_test.go Merge pull request #20152 from karalabe/snapshot-5 2020-03-23 12:57:31 +02:00
peer.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
peer_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
protocol.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
randselect.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
randselect_test.go all: gofmt -w -s 2017-01-06 15:52:03 +01:00
request_test.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
retrieve.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
server.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
server_handler.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
serverpool.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
servingqueue.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
sync.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
sync_test.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
test_helper.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
txrelay.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
ulc.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00
ulc_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00