aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/dbtest/testsuite.go
Commit message (Collapse)AuthorAgeFilesLines
* ethdb/dbtest: addd test suite for ethdb backends (#19960)Andrey Petrov2019-08-221-0/+315
- Move the existing tests from memorydb into a generalized testsuite that can be run by any ethdb backend implementation. - Add several more test cases to clarify some non-obvious nuances when implementing a custom ethdb backend, such as the behaviour of NewIteratorWithPrefix vs NewIteratorWithStart. - Add leveldb to the testsuite using in-memory storage for fast execution.