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:
Nishant Das
2022-02-03 03:13:52 +08:00
committed by GitHub
parent 5cf976e492
commit 2b0f74904e
28 changed files with 909 additions and 34 deletions

View File

@@ -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
}