mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-01 11:54:40 +00:00
Indexed att on disk (#35)
* indexed att on disk * fix lints * Update slasher/src/migrate.rs Co-authored-by: ethDreamer <37123614+ethDreamer@users.noreply.github.com> --------- Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com> Co-authored-by: ethDreamer <37123614+ethDreamer@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,10 @@ impl<E: EthSpec> SlasherDB<E> {
|
||||
software_schema_version: CURRENT_SCHEMA_VERSION,
|
||||
}),
|
||||
(x, y) if x == y => Ok(self),
|
||||
(3, 4) => {
|
||||
// TODO(electra): db migration due to `IndexedAttestationOnDisk`
|
||||
Ok(self)
|
||||
}
|
||||
(_, _) => Err(Error::IncompatibleSchemaVersion {
|
||||
database_schema_version: schema_version,
|
||||
software_schema_version: CURRENT_SCHEMA_VERSION,
|
||||
|
||||
Reference in New Issue
Block a user