mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
fa2acb3632
* Add committees helper, benchmark, results show 62ms for 8k validators which was previously 4 minutes * Add regression test with same data * fix epoch conversion * lint * undo and lint * Begin work on adding mainnet config benchmark * Try more to get mainnet e2e * Try to fix delay * Get past chainstart on e2e * Try to fix flaky * Get demo config working * Remove unneeded changes * Change how flags are enabled * Lower shard count * Temp skip * Fix e2e * Fix testing to run until last epoch * Fix * Add ending time log and remove att cache flag * Fix ordering * Reenable flag * Change ports from default * Add no log for if there are no err logs * Add block evaluator * Try to improve evaluators * Progress on attestation evaluator * Remove attestation evaluator * Fix e2e Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
35 lines
862 B
Go
35 lines
862 B
Go
package endtoend
|
|
|
|
import (
|
|
"testing"
|
|
|
|
ev "github.com/prysmaticlabs/prysm/endtoend/evaluators"
|
|
"github.com/prysmaticlabs/prysm/shared/params"
|
|
"github.com/prysmaticlabs/prysm/shared/testutil"
|
|
)
|
|
|
|
func TestEndToEnd_DemoConfig(t *testing.T) {
|
|
t.Skip("Demo is essentially mainnet and too much to run in e2e at the moment")
|
|
testutil.ResetCache()
|
|
params.UseDemoBeaconConfig()
|
|
|
|
demoConfig := &end2EndConfig{
|
|
beaconFlags: []string{
|
|
"--enable-ssz-cache",
|
|
"--cache-proposer-indices",
|
|
"--cache-filtered-block-tree",
|
|
"--enable-skip-slots-cache",
|
|
"--enable-attestation-cache",
|
|
},
|
|
epochsToRun: 5,
|
|
numBeaconNodes: 2,
|
|
numValidators: params.BeaconConfig().MinGenesisActiveValidatorCount,
|
|
evaluators: []ev.Evaluator{
|
|
ev.ValidatorsAreActive,
|
|
ev.ValidatorsParticipating,
|
|
ev.FinalizationOccurs,
|
|
},
|
|
}
|
|
runEndToEndTest(t, demoConfig)
|
|
}
|