From 3ba221e388030f158d926b76d53f46690c57bb69 Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Mon, 20 Jan 2020 02:24:20 +0530 Subject: [PATCH] Persist eth1 cache (#760) * Add intermediate structures for bytes conversion * Expose byte conversion methods from `Eth1Service` * Add eth1 ssz containers * Fix type errors * Load eth1 cache on restart * Fix compile errors * Update Cargo.lock * Add comments and minor formatting * Add test for eth1 cache persistence * Restrict Deposit and Block cache field visibility * Add checks * Fix `SszDepositCache` check * Implement Encode/Decode directly on `BlockCache`