fix bellatrix table names (#3544)

this should/will cause existing nimbus databases to revert to the altair
merge and resync with the new table name
This commit is contained in:
Jacek Sieka 2022-03-24 14:36:31 +01:00 committed by GitHub
parent 3d9ef9b9b6
commit 6983dacc26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -442,14 +442,14 @@ proc new*(T: type BeaconChainDB,
blocks = [ blocks = [
kvStore db.openKvStore("blocks").expectDb(), kvStore db.openKvStore("blocks").expectDb(),
kvStore db.openKvStore("altair_blocks").expectDb(), kvStore db.openKvStore("altair_blocks").expectDb(),
kvStore db.openKvStore("merge_blocks").expectDb()] kvStore db.openKvStore("bellatrix_blocks").expectDb()]
stateRoots = kvStore db.openKvStore("state_roots", true).expectDb() stateRoots = kvStore db.openKvStore("state_roots", true).expectDb()
statesNoVal = [ statesNoVal = [
kvStore db.openKvStore("state_no_validators2").expectDb(), kvStore db.openKvStore("state_no_validators2").expectDb(),
kvStore db.openKvStore("altair_state_no_validators").expectDb(), kvStore db.openKvStore("altair_state_no_validators").expectDb(),
kvStore db.openKvStore("merge_state_no_validators").expectDb()] kvStore db.openKvStore("bellatrix_state_no_validators").expectDb()]
stateDiffs = kvStore db.openKvStore("state_diffs").expectDb() stateDiffs = kvStore db.openKvStore("state_diffs").expectDb()
summaries = kvStore db.openKvStore("beacon_block_summaries", true).expectDb() summaries = kvStore db.openKvStore("beacon_block_summaries", true).expectDb()