• Andrey Petrov's avatar
    ethdb/dbtest: addd test suite for ethdb backends (#19960) · 46ec63b8
    Andrey Petrov authored
    - 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.
    46ec63b8
Name
Last commit
Last update
..
dbtest Loading commit data...
leveldb Loading commit data...
memorydb Loading commit data...
batch.go Loading commit data...
database.go Loading commit data...
iterator.go Loading commit data...