Skip to content

Commit

Permalink
protection from starting e2 git branch on e3 db (#10150)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed May 2, 2024
1 parent f19669d commit 10f368e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eth/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ func New(ctx context.Context, stack *node.Node, config *ethconfig.Config, logger
return nil, err
}

if config.HistoryV3 {
return nil, errors.New("seems you using erigon2 git branch on erigon3 DB")
}
ctx, ctxCancel := context.WithCancel(context.Background())

// kv_remote architecture does blocks on stream.Send - means current architecture require unlimited amount of txs to provide good throughput
Expand Down

0 comments on commit 10f368e

Please sign in to comment.