mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Multiclient E2E With Lighthouse (#10020)
* save work * current progress * fix it more * save progress * fixes so far * add signature test * fix up changes so far * change to latest * update lighthouse version * fix build * fix again * do one * clean up * fix build * fix it * fix test * change tag * remove e2e * Update config/params/testnet_e2e_config.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * update * Update sha Co-authored-by: Radosław Kapka <rkapka@wp.pl> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prestonvanloon <preston@prysmaticlabs.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
fieldparams "github.com/prysmaticlabs/prysm/config/fieldparams"
|
||||
"github.com/prysmaticlabs/prysm/config/params"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
@@ -66,8 +67,14 @@ func newConfig(ctx *cli.Context) *Flags {
|
||||
}
|
||||
if ctx.Bool(E2EConfigFlag.Name) {
|
||||
log.Warn("Using end-to-end testing config")
|
||||
cfg.MinimalConfig = true
|
||||
params.UseE2EConfig()
|
||||
switch fieldparams.Preset {
|
||||
case "mainnet":
|
||||
params.UseE2EMainnetConfig()
|
||||
case "minimal":
|
||||
params.UseE2EConfig()
|
||||
default:
|
||||
log.Fatalf("Unrecognized preset being used: %s", fieldparams.Preset)
|
||||
}
|
||||
}
|
||||
return cfg
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user