From 077dcdc6435e759893f6c2527eed96a4e224fecc Mon Sep 17 00:00:00 2001 From: Potuz Date: Wed, 8 Jun 2022 10:45:13 -0300 Subject: [PATCH] enable dev on Ropsten (#10839) * enable dev on Ropsten * include only vectorized HTR and doublylinkedtree * error handling Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> --- config/features/config.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/features/config.go b/config/features/config.go index 5aab99ac7..aeaa1a0ac 100644 --- a/config/features/config.go +++ b/config/features/config.go @@ -122,6 +122,12 @@ func configureTestnet(ctx *cli.Context) error { if err := params.SetActive(params.RopstenConfig().Copy()); err != nil { return err } + if err := ctx.Set(enableVecHTR.Names()[0], "true"); err != nil { + log.WithError(err).Debug("error enabling vectorized HTR flag") + } + if err := ctx.Set(enableForkChoiceDoublyLinkedTree.Names()[0], "true"); err != nil { + log.WithError(err).Debug("error enabling doubly linked tree forkchoice flag") + } params.UseRopstenNetworkConfig() } else { log.Warn("Running on Ethereum Consensus Mainnet")