Skip to content

Commit

Permalink
[integration tool] Clean BorReceipt when reset state (#4013)
Browse files Browse the repository at this point in the history
* Update reset_state.go

* Update reset_state.go
  • Loading branch information
AlexeyAkhunov authored Apr 28, 2022
1 parent eda385e commit bd3b734
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/integration/commands/reset_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ func resetExec(tx kv.RwTx, g *core.Genesis) error {
if err := tx.ClearBucket(kv.PendingEpoch); err != nil {
return err
}
if err := tx.ClearBucket(kv.BorReceipts); err != nil {
return err
}
if err := stages.SaveStageProgress(tx, stages.Execution, 0); err != nil {
return err
}
Expand Down

0 comments on commit bd3b734

Please sign in to comment.