good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 954304e4 authored by ledgerwatch's avatar ledgerwatch Committed by GitHub
Browse files

Turn off receipt repair migration for investigation (#2303)


* receipt repair migration - check for r storage mode

* Turn off migration

* Fix lint

* Better way to disable migration

* Better way to disable migration

Co-authored-by: default avatarAlex Sharp <alexsharp@Alexs-MacBook-Pro.local>
parent 9683b264
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,6 @@ var migrations = map[ethdb.Label][]Migration{ ...@@ -63,7 +63,6 @@ var migrations = map[ethdb.Label][]Migration{
rebuilCallTraceIndex, rebuilCallTraceIndex,
fixSequences, fixSequences,
receiptCbor, receiptCbor,
receiptRepair,
}, },
ethdb.TxPool: {}, ethdb.TxPool: {},
ethdb.Sentry: {}, ethdb.Sentry: {},
......
...@@ -23,7 +23,7 @@ import ( ...@@ -23,7 +23,7 @@ import (
"github.com/ledgerwatch/erigon/params" "github.com/ledgerwatch/erigon/params"
) )
var receiptRepair = Migration{ var ReceiptRepair = Migration{
Name: "receipt_repair", Name: "receipt_repair",
Up: func(db ethdb.Database, tmpdir string, progress []byte, CommitProgress etl.LoadCommitHandler) (err error) { Up: func(db ethdb.Database, tmpdir string, progress []byte, CommitProgress etl.LoadCommitHandler) (err error) {
var tx ethdb.RwTx var tx ethdb.RwTx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment