go-ethereum/internal/ethapi
Jerry b49047f4ee
core/state: fix SetStorage override behavior (#30185) (#1393)
This pull request fixes the broken feature where the entire storage set is overridden.

Originally, the storage set override was achieved by marking the associated account
as deleted, preventing access to the storage slot on disk. However, since #29520, this
flag is also checked when accessing the account, rendering the account unreachable.

A fix has been applied in this pull request, which re-creates a new state object with all
account metadata inherited.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2024-12-24 09:03:42 -08:00
..
testdata Fix panic on getting safe block 2024-10-09 07:59:21 -07:00
addrlock.go dev: fix: most of wsl lint issues 2023-06-15 15:48:26 +02:00
api.go Fix getBlockTransactionCountByNumber/Hash (#1365) 2024-10-29 11:45:56 -07:00
api_test.go core/state: fix SetStorage override behavior (#30185) (#1393) 2024-12-24 09:03:42 -08:00
backend.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
bor_api.go replaced 4337 with PIP-15 2024-07-30 10:00:12 +05:30
dbapi.go dev: fix: most of wsl lint issues 2023-06-15 15:48:26 +02:00
errors.go core: move tx indexer to its own file (#28857) 2024-01-23 21:00:50 +01:00
transaction_args.go fix: avoid capping warnings for gas set by internal system transactions 2024-09-04 13:12:14 +05:30
transaction_args_test.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30