Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Péter Szilágyi
4f4f9d88d3
core/state: storage journal entry should revert dirtyness too ( #29641 )
...
Currently our state journal tracks each storage update to a contract, having the ability to revert those changes to the previously set value.
For the very first modification however, it behaves a bit wonky. Reverting the update doesn't actually remove the dirty-ness of the slot, rather leaves it as "change this slot to it's original value". This can cause issues down the line with for example write witnesses needing to gather an unneeded proof.
This PR modifies the storageChange journal entry to not only track the previous value of a slot, but also whether there was any previous value at all set in the current execution context. In essence, the PR changes the semantic of storageChange so it does not simply track storage changes, rather it tracks dirty storage changes, an important distinction for being able to cleanly revert the journal item.
7 months ago
..
asm
all: fix mismatched names in comments ( #29348 )
8 months ago
bloombits
all: use timer instead of time.After in loops, to avoid memleaks ( #29241 )
7 months ago
forkid
all: remove dependency on golang.org/exp ( #29314 )
8 months ago
rawdb
all: fix various typos ( #29542 )
7 months ago
state
core/state: storage journal entry should revert dirtyness too ( #29641 )
7 months ago
tracing
core/tracing: Add OnClose Trace Hook ( #29629 )
7 months ago
txpool
core/txpool: repair the limbo Billy too on unclean shutdowns ( #29451 )
7 months ago
types
signer: implement blob txs sendtxargs, enable blobtx-signing ( #28976 )
7 months ago
vm
core/state: remove account reset operation v2 ( #29520 )
7 months ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
block_validator.go
core: fix typo ( #29438 )
7 months ago
block_validator_test.go
consensus, cmd, core, eth: remove support for non-merge mode of operation ( #29169 )
8 months ago
blockchain.go
core/tracing: Add OnClose Trace Hook ( #29629 )
7 months ago
blockchain_insert.go
all: fix various typos ( #29600 )
7 months ago
blockchain_reader.go
core: add txlookup lock ( #29343 )
7 months ago
blockchain_repair_test.go
cmd: use package filepath over path for file system operations ( #29227 )
8 months ago
blockchain_sethead_test.go
all: replace path.Join with filepath.Join ( #29479 )
7 months ago
blockchain_snapshot_test.go
cmd: use package filepath over path for file system operations ( #29227 )
8 months ago
blockchain_test.go
core: remove bad block checks ( #29609 )
7 months ago
bloom_indexer.go
core: preallocate batch size in bloomIndexer ( #25289 )
2 years ago
chain_indexer.go
core,console: replace noarg fmt.Errorf with errors.New ( #27332 )
1 year ago
chain_indexer_test.go
core: fix potential race in chainIndexerTest ( #22346 )
4 years ago
chain_makers.go
core: add an end-to-end verkle test ( #29262 )
8 months ago
chain_makers_test.go
params: use the same variable name as EIP-4788 ( #29195 )
8 months ago
dao_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
error.go
core: remove bad block checks ( #29609 )
7 months ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
all: use big.Sign to compare with zero ( #29490 )
7 months ago
forkchoice.go
core: clarify code in forkchoice ( #26257 )
2 years ago
gaspool.go
core, miner: revert block gas counter in case of invalid transaction ( #26799 )
2 years ago
gen_genesis.go
core: go fmt ( #29544 )
7 months ago
genesis.go
core: fix dev mode genesis difficulty ( #29469 )
7 months ago
genesis_alloc.go
cmd, core, params: add support for the Holesky testnet ( #28007 )
1 year ago
genesis_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
headerchain.go
core: remove bad block checks ( #29609 )
7 months ago
headerchain_test.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
mkalloc.go
all: remove dependency on golang.org/exp ( #29314 )
8 months ago
rlp_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
sender_cacher.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
state_prefetcher.go
core/types, params: add blob transaction type, RLP encoded for now ( #27049 )
2 years ago
state_processor.go
eth/tracers: live chain tracing with hooks ( #29189 )
8 months ago
state_processor_test.go
core: add an end-to-end verkle test ( #29262 )
8 months ago
state_transition.go
eth/tracers: live chain tracing with hooks ( #29189 )
8 months ago
txindexer.go
core: cache transaction indexing tail in memory ( #28908 )
9 months ago
txindexer_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
types.go
core: use atomic type ( #27011 )
2 years ago