erigon-pulse/core/state
Andrew Ashikhmin 1dcc7661fc
Issue 111: Do not mutate state trie when verifying blocks (#439)
* Set root to empty straight away for all newly created accounts

* [Issue 111] Do not mutate state trie when verifying the block

* linter

* Fix suicideStorageCheck.json but break TestSelfDestructReceive

* suicideStorageCheck tests a somewhat unrealistic scenario, where the contract exists in genesis (with storage) and then gets self-destructed
2020-04-13 12:00:44 +02:00
..
contracts Thin history (#272) 2019-12-20 15:25:40 +03:00
change_set_writer.go [THIN_HISTORY] Decouple changesets and history from ethdb.Database (mutation/bolt_db/badger_db) (#432) 2020-04-09 18:23:29 +01:00
database_test.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
database.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
db_state_writer.go THIN_HISTORY - Reinstate incarnation encoding in ChangeSets, but remove from index keys (#443) 2020-04-12 19:36:27 +01:00
dump.go Thin history for storage (#324) 2020-01-15 17:55:43 +03:00
helper.go Don't store RLPs in valueNodes (except tests). 2019-11-13 20:08:20 +01:00
history_test.go THIN_HISTORY - Reinstate incarnation encoding in ChangeSets, but remove from index keys (#443) 2020-04-12 19:36:27 +01:00
intermediate_hashes_test.go Revert "remove tombstones" (#430) 2020-04-08 12:45:51 +01:00
intermediate_hashes.go Add support of geth on hostmachine (#437) 2020-04-11 08:22:23 +01:00
intra_block_state_test.go Remove error param from NewTrieDbState (#408) 2020-03-26 16:21:15 +03:00
intra_block_state.go Issue 111: Do not mutate state trie when verifying blocks (#439) 2020-04-13 12:00:44 +02:00
journal.go Restore Ethash mining (#231) 2019-12-10 16:12:21 +03:00
readonly.go THIN_HISTORY - implement WalkAsOf and fix corresponding tests (#441) 2020-04-11 20:25:19 +01:00
state_object_test.go build: use golangci-lint (#20295) 2019-12-03 13:38:59 +01:00
state_object.go Tx pool use triedbstate, fixes to GetNodeData and move it to experimental (#364) 2020-02-10 17:05:32 +00:00
state_test.go Use the binary witness format to serialize tries. (#434) 2020-04-08 13:59:30 +01:00
stateless.go Introduce code node & get rid of code map (#398) 2020-03-23 22:10:36 +00:00
trace.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00