You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
* trie: enable pathdb: add path config and enable tests
* core/rawdb: now also inspect the state freezer in pathdb; rename
* cmd: working on cmd ronin
* core: refactor; add pathbase config; fix tests
- all: fix and enable tests for pathbase
- blockchain: open triedb explicitly in blockchain functions and close right after use, since diskLayer inside pathdb is a skeleton
- blockchain: when writeBlockWithState, pathbase will skip the explicit garbage collector, which is only needed for hashbase
- genesis.go: nit: change check genesis state, ref ethereum/go-ethereum@08bf8a6
* tests: enable path tests
* eth: enable path scheme
- all: fix tests, enable path scheme tests
- state_accessor: split function to retrieve statedb from block to hash scheme and path scheme
* light, miner, les, ethclient: clean up tests
* trie: refactor triereader, return err when state reader won't be created in hash and path
* trie: fix failed test in iterator and sync test tie
* trie,core: improve trie reader and add checking config nil when initing
database
* trie: statedb instance is committed, then it's not usable, a new instance must be created based on new root updated database, reference by commit 6d2aeb4
* cmd,les,eth: fixed unittest and adding flag Parrallel correctly
* core, eth: fix tests
* core: refactor and fix sync_test logic
* tmp: disable pathbase for TestIsPeriodBlock, TestIsTrippEffective
---------
Co-authored-by: Huy Ngo <[email protected]>
execExpect: `Fatal: Failed to register the Ethereum service: db.engine choice was pebble but found pre-existing leveldb database in specified data directory`,
176
+
execExpect: `Fatal: Could not open database: db.engine choice was pebble but found pre-existing leveldb database in specified data directory`,
177
177
},
178
178
{ // Can't start leveldb on top of pebble
179
179
initArgs: []string{"--db.engine", "pebble"},
180
180
execArgs: []string{"--db.engine", "leveldb"},
181
-
execExpect: `Fatal: Failed to register the Ethereum service: db.engine choice was leveldb but found pre-existing pebble database in specified data directory`,
181
+
execExpect: `Fatal: Could not open database: db.engine choice was leveldb but found pre-existing pebble database in specified data directory`,
0 commit comments