From f62fb7ee5b4794c57fbb51358b6996d4b028b4a3 Mon Sep 17 00:00:00 2001 From: JkLondon Date: Sun, 1 Dec 2024 03:19:33 +0100 Subject: [PATCH] commit --- erigon-lib/state/domain.go | 1 - erigon-lib/state/history.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/erigon-lib/state/domain.go b/erigon-lib/state/domain.go index 1482c8f1694..93f8569f0bd 100644 --- a/erigon-lib/state/domain.go +++ b/erigon-lib/state/domain.go @@ -1626,7 +1626,6 @@ func (dt *DomainRoTx) GetAsOfFile(key []byte, txNum uint64) ([]byte, bool, error // historical value based only on static files, roTx will not be used. func (dt *DomainRoTx) GetAsOf(key []byte, txNum uint64, roTx kv.Tx) ([]byte, bool, error) { v, hOk, err := dt.ht.HistorySeek(key, txNum, roTx) - println(fmt.Sprintf("history seek %+v", v), hOk, err) if err != nil { return nil, false, err } diff --git a/erigon-lib/state/history.go b/erigon-lib/state/history.go index 2ab7c30d3ba..6b0b9766628 100644 --- a/erigon-lib/state/history.go +++ b/erigon-lib/state/history.go @@ -1152,6 +1152,7 @@ func (ht *HistoryRoTx) historySeekInFiles(key []byte, txNum uint64) ([]byte, boo // Files list of II and History is different // it means II can't return index of file, but can return TxNum which History will use to find own file ok, histTxNum, err := ht.iit.seekInFiles(key, txNum) + println(fmt.Sprintf("history seek %d", histTxNum), ok, err) if err != nil { return nil, false, err }