From bd3b7340273ad4f7ef137d25c3f7fa623cc02f7d Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Thu, 28 Apr 2022 08:59:04 +0100 Subject: [PATCH] [integration tool] Clean BorReceipt when reset state (#4013) * Update reset_state.go * Update reset_state.go --- cmd/integration/commands/reset_state.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/integration/commands/reset_state.go b/cmd/integration/commands/reset_state.go index 9b6c7bfd467..ba60f9c65d3 100644 --- a/cmd/integration/commands/reset_state.go +++ b/cmd/integration/commands/reset_state.go @@ -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 }