Delete old database schemas (#6051)

* Delete old database schemas

* Fix docs (thanks CK)

* Fix beacon-chain tests
This commit is contained in:
Michael Sproul
2024-07-09 10:24:49 +10:00
committed by GitHub
parent a59a61fef9
commit 9942c18c11
14 changed files with 32 additions and 528 deletions

View File

@@ -54,7 +54,7 @@ pub enum Error {
pub type SszDepositCache = SszDepositCacheV13;
#[superstruct(
variants(V1, V13),
variants(V13),
variant_attributes(derive(Encode, Decode, Clone)),
no_enum
)]
@@ -62,11 +62,8 @@ pub struct SszDepositCache {
pub logs: Vec<DepositLog>,
pub leaves: Vec<Hash256>,
pub deposit_contract_deploy_block: u64,
#[superstruct(only(V13))]
pub finalized_deposit_count: u64,
#[superstruct(only(V13))]
pub finalized_block_height: u64,
#[superstruct(only(V13))]
pub deposit_tree_snapshot: Option<DepositTreeSnapshot>,
pub deposit_roots: Vec<Hash256>,
}