erigon-pulse/core/state/contracts
b00ris bcee4845dc
Thin history (#272)
* save state

* remove repair

* save state

* remove emptydb check

* save state

* add walkAsOf test

* add WalkAsOf and MultiWalkAsOf tests

* deployed contracts counter

* reference counter for contract code

* drop storage root&contract hash for changesets

* start incarnation is 1(save state)

* fix ReorgOverSelfDestruct test

* hack fix TestReorgOverSelfDestruct

* test benchmark

* cleanup

* remove useless debug

* remove print trie

* return remove subtrie call  to updateTrieRoot

* save state

* add mutation test

* remove useless test

* fix

* added mutation commit test

* rename experiment to thin history

* thin history mutation commit test

* fix ethdb tests

* getAsOf test

* add test&fix history index

* fix test

* make test for index search

* compute trie root incarnation fix

* tests fixes

* done job in case of panic

* fix lint

* fix&test for bad incarnation

* fix initial incarnation for genesis

* fix lint

* fix changeset test

* fix storage ranges test

* fix lint

* move set incarnation to create contract

* add comment

Co-authored-by: ledgerwatch <akhounov@gmail.com>
Co-authored-by: Evgeny Danilenko <6655321@bk.ru>
2019-12-20 15:25:40 +03:00
..
build Thin history (#272) 2019-12-20 15:25:40 +03:00
changer.sol Thin history (#272) 2019-12-20 15:25:40 +03:00
gen_changer.go Thin history (#272) 2019-12-20 15:25:40 +03:00
gen_revive.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_selfdestruct.go Merge pull request #125 from ledgerwatch/broken_snapshot 2019-11-04 14:15:26 +01:00
revive.sol Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
selfdestruct.sol Merge pull request #125 from ledgerwatch/broken_snapshot 2019-11-04 14:15:26 +01:00