Skip to content

Commit f5db4e4

Browse files
authored
ariso: assorted cleanups (#3360)
Add some pretty printers here and there and remove the ones that are no longer used
1 parent af07a53 commit f5db4e4

File tree

8 files changed

+65
-771
lines changed

8 files changed

+65
-771
lines changed

execution_chain/db/aristo/aristo_compute.nim

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import
1515
chronicles,
1616
eth/common/[accounts_rlp, base_rlp, hashes_rlp],
1717
results,
18-
"."/[aristo_desc, aristo_get],
18+
"."/[aristo_desc, aristo_get, aristo_layers],
1919
./aristo_desc/desc_backend
2020

2121
type WriteBatch = tuple[writer: PutHdlRef, count: int, depth: int, prefix: uint64]
@@ -85,8 +85,7 @@ proc putKeyAtLevel(
8585
else:
8686
debug "Writing computeKey cache", keys = batch.count, accounts = batch.progress
8787
else:
88-
db.deltaAtLevel(level).sTab[rvid] = vtx
89-
db.deltaAtLevel(level).kMap[rvid] = key
88+
db.deltaAtLevel(level).layersPutKey(rvid, vtx, key)
9089

9190
ok()
9291

0 commit comments

Comments
 (0)