Skip to content

Commit

Permalink
downloader: --seedbox doesn't init snaptypes (#10245)
Browse files Browse the repository at this point in the history
Cherry pick PR #10215 into the release

Co-authored-by: Alex Sharov <[email protected]>
  • Loading branch information
yperbasis and AskAlexSharov authored May 8, 2024
1 parent 7d41c27 commit 32f7775
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/downloader/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import (
"strings"
"time"

_ "github.com/ledgerwatch/erigon/core/snaptype" //hack
_ "github.com/ledgerwatch/erigon/polygon/bor/snaptype" //hack

"github.com/anacrolix/torrent/metainfo"
"github.com/c2h5oh/datasize"
grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware"
Expand Down
3 changes: 3 additions & 0 deletions cmd/integration/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import (
"fmt"
"os"

_ "github.com/ledgerwatch/erigon/core/snaptype" //hack
_ "github.com/ledgerwatch/erigon/polygon/bor/snaptype" //hack

"github.com/ledgerwatch/erigon-lib/common"
"github.com/ledgerwatch/erigon/cmd/integration/commands"
)
Expand Down
3 changes: 3 additions & 0 deletions cmd/rpcdaemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import (
"github.com/ledgerwatch/erigon/turbo/debug"
"github.com/ledgerwatch/erigon/turbo/jsonrpc"
"github.com/spf13/cobra"

_ "github.com/ledgerwatch/erigon/core/snaptype" //hack
_ "github.com/ledgerwatch/erigon/polygon/bor/snaptype" //hack
)

func main() {
Expand Down

0 comments on commit 32f7775

Please sign in to comment.