go-ethereum/core
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
..
allocs add : amoy flags and genesis (#1131) 2024-01-19 02:01:36 +05:30
asm Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
beacon Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
blockstm fix: few linting errors 2024-09-02 11:00:33 +05:30
bloombits Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
forkid fix: testcases 2024-08-09 11:59:34 +05:30
rawdb fix: lint, add: milestone related tests in downloader 2024-09-05 14:03:10 +05:30
state core/state: fix SetStorage override behavior (#30185) (#1393) 2024-12-24 09:03:42 -08:00
stateless all: stateless witness builder and (self-)cross validator (#29719) 2024-06-25 14:48:08 +03:00
tracing build: add check for stale generated files (#30037) 2024-07-01 17:16:15 +02:00
txpool check block number and timestamp options when filtering conditional transactions 2024-10-11 10:17:57 -07:00
types merge: master 2024-08-13 11:48:57 +05:30
vm chg: solve conflicts 2024-09-10 15:32:42 +02:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go fix: testcases 2024-08-09 11:59:34 +05:30
block_validator.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
block_validator_test.go fix: testcases 2024-08-09 11:59:34 +05:30
blockchain.go Fallback to serial execution if parallel execution fails (#1392) 2024-12-24 09:03:30 -08:00
blockchain_bor_test.go fix: testcases 2024-08-09 11:59:34 +05:30
blockchain_insert.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
blockchain_reader.go Fix txIndexer 2024-09-20 19:49:26 -07:00
blockchain_repair_test.go Fix txIndexer 2024-09-20 19:49:26 -07:00
blockchain_sethead_test.go fix: testcases 2024-08-09 11:59:34 +05:30
blockchain_snapshot_test.go Fix txIndexer 2024-09-20 19:49:26 -07:00
blockchain_test.go Fallback to serial execution if parallel execution fails (#1392) 2024-12-24 09:03:30 -08:00
blocks.go core: remove bad block checks (#29609) 2024-04-22 20:00:42 +03:00
bloom_indexer.go dev: fix: most of wsl lint issues 2023-06-15 15:48:26 +02:00
bor_blockchain.go fix lint 2023-09-23 16:26:23 +05:30
bor_events.go fixes 2021-12-06 14:25:33 +05:30
bor_fee_log.go fix : TestGraphQLConcurrentResolvers 2023-07-18 18:15:06 +05:30
chain_indexer.go merge geth v1.12.2 into develop 2023-08-18 14:05:34 +05:30
chain_indexer_test.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
chain_makers.go chore: fix function name 2024-10-10 20:48:48 +08:00
chain_makers_test.go fix: testcases 2024-09-03 16:21:20 +05:30
dao_test.go fix: testcases 2024-08-09 11:59:34 +05:30
error.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
events.go Minor Refactor 2021-12-03 17:28:53 +05:30
evm.go fix: TestRPCGetTransactionReceiptsByBlock 2024-09-01 13:36:21 +05:30
forkchoice.go Change legacy rando geth fork choice to be deterministic (#871) 2023-10-19 12:56:30 +05:30
forkchoice_test.go Merge branch 'release/1.13' into upstream_merge_1.13 2024-07-10 11:19:34 +05:30
gaspool.go dev: fix: most of wsl lint issues 2023-06-15 15:48:26 +02:00
gen_genesis.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
genesis.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
genesis_alloc.go cmd, core, params: add support for the Holesky testnet (#28007) 2023-08-25 18:11:40 +03:00
genesis_test.go fix: testcases 2024-08-09 11:59:34 +05:30
headerchain.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
headerchain_test.go Merge branch 'release/1.13' into upstream_merge_1.13 2024-07-10 11:19:34 +05:30
mkalloc.go accounts, cmd/geth, core: close opened files (#29598) 2024-04-30 15:47:21 +02:00
parallel_state_processor.go Address goroutine leak 2024-09-12 15:56:33 -07:00
parallel_state_processor_test.go Changed parallel universe HF to Cancun HF and some important fixes (#1132) 2024-01-23 10:52:00 +05:30
rlp_test.go Merge branch 'release/1.13' into upstream_merge_1.13 2024-07-10 11:19:34 +05:30
sender_cacher.go dev: fix: most of wsl lint issues 2023-06-15 15:48:26 +02:00
state_prefetcher.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30
state_processor.go Fix fee conversion 2024-09-11 14:46:03 -07:00
state_processor_test.go fix: testcases 2024-09-03 16:21:20 +05:30
state_transition.go Fix fee conversion 2024-09-11 14:46:03 -07:00
stateless.go fix: testcases, add: block broadcasting mechanism 2024-08-30 14:43:02 +05:30
txindexer.go core: cache transaction indexing tail in memory (#28908) 2024-02-06 10:44:42 +08:00
txindexer_test.go fix: testcases 2024-09-03 16:21:20 +05:30
types.go Merge tag 'v1.14.6' into upstream_merge_1.14.6 2024-08-05 16:29:10 +05:30