Skip to content

Commit

Permalink
kv: reduce kv interface step2 (#12580)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Nov 2, 2024
1 parent 77a130d commit 10677ca
Show file tree
Hide file tree
Showing 31 changed files with 284 additions and 2,139 deletions.
6 changes: 0 additions & 6 deletions cmd/integration/commands/stages.go
Original file line number Diff line number Diff line change
Expand Up @@ -720,12 +720,6 @@ func stageHeaders(db kv.RwDB, ctx context.Context, logger log.Logger) error {

return db.Update(ctx, func(tx kv.RwTx) error {
if reset {
if casted, ok := tx.(kv.CanWarmupDB); ok {
if err := casted.WarmupDB(false); err != nil {
return err
}
}

if err := reset2.ResetBlocks(tx, db, agg, br, bw, dirs, *chainConfig, logger); err != nil {
return err
}
Expand Down
113 changes: 0 additions & 113 deletions common/changeset/accs.go

This file was deleted.

Loading

0 comments on commit 10677ca

Please sign in to comment.