bsc/eth
Marius van der Wijden 97aacd9b35
core: fix pre-check for account balance under EIP-1559 (#23244)
When processing a transaction with London fork rules, EIP-1559 mandates
checking that the sender must have sufficient balance to cover gas * gasFeeCap.

In the EIP's pseudocode, this check happens after the value transferred by the
transaction has already been deducted. However, in go-ethereum, the balance
has not yet been updated when the check happens, and therefore needs to be
added explicitly.

Co-authored-by: Martin Holst Swende <martin@swende.se>
2021-07-22 15:39:40 +02:00
..
catalyst all: removed blockhash from statedb (#23126) 2021-06-30 15:17:01 +02:00
downloader eth/downloader: increase downloader block body allowance (#23074) 2021-06-25 14:53:22 +02:00
ethconfig all: remove noop vm config flags (#23111) 2021-07-06 22:03:09 +02:00
fetcher eth/fetcher, trie: unit test reliability fixes (#23020) 2021-06-30 22:24:17 +02:00
filters accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
gasprice eth/gasprice, internal/ethapi, miner: minor feehistory fixes 2021-07-08 21:50:35 +03:00
protocols accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
tracers core: fix pre-check for account balance under EIP-1559 (#23244) 2021-07-22 15:39:40 +02:00
api_backend.go internal: get pending and queued transaction by address (#22992) 2021-07-13 13:40:58 +03:00
api_test.go cmd/geth, eth, core: snapshot dump + unify with trie dump (#22795) 2021-05-12 11:05:39 +03:00
api.go eth, miner: add RPC method to modify miner gaslimit (pre london: ceiling) (#23134) 2021-07-06 10:35:39 +02:00
backend.go all: remove noop vm config flags (#23111) 2021-07-06 22:03:09 +02:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
discovery.go cmd/utils: use eth DNS tree for snap discovery (#22808) 2021-05-04 11:29:32 +02:00
handler_eth_test.go eth: unregister peer only when handler exits (#22908) 2021-05-25 22:20:36 +02:00
handler_eth.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00
handler.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00
peer.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
peerset.go eth: don't wait for snap registration if we're not running snap (#22272) 2021-02-05 14:15:22 +01:00
state_accessor.go all: removed blockhash from statedb (#23126) 2021-06-30 15:17:01 +02:00
sync_test.go eth, les: drop support for eth/64, fix eth/66 tests 2021-04-09 10:39:45 +03:00
sync.go core, eth, miner: enforce configured mining reward post 1559 too 2021-06-04 10:18:37 +03:00