From f16b285631bef3fd795288f9d2c3f145210431ca Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Sun, 5 Jun 2022 16:34:38 +0100 Subject: [PATCH] Adjustments for erigon 2 upgrade prototype (#477) Co-authored-by: Alexey Sharp --- state/aggregator.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/state/aggregator.go b/state/aggregator.go index f82b0e4dc..5921d2662 100644 --- a/state/aggregator.go +++ b/state/aggregator.go @@ -632,3 +632,11 @@ func (a *Aggregator) WriteAccountStorage(addr, loc []byte, value []byte) error { copy(dbkey[len(addr):], loc) return a.storage.Put(dbkey, value) } + +type FilesStats struct { +} + +func (a *Aggregator) Stats() FilesStats { + var fs FilesStats + return fs +}