Search in sources :

Example 1 with SchemaDefinitionsPhase0

use of tech.pegasys.teku.spec.schemas.SchemaDefinitionsPhase0 in project teku by ConsenSys.

the class SpecVersion method createPhase0.

static SpecVersion createPhase0(final SpecConfig specConfig) {
    final SchemaDefinitions schemaDefinitions = new SchemaDefinitionsPhase0(specConfig);
    final SpecLogic specLogic = SpecLogicPhase0.create(specConfig, schemaDefinitions);
    return new SpecVersion(SpecMilestone.PHASE0, specConfig, schemaDefinitions, specLogic);
}
Also used : DelegatingSpecLogic(tech.pegasys.teku.spec.logic.DelegatingSpecLogic) SpecLogic(tech.pegasys.teku.spec.logic.SpecLogic) SchemaDefinitionsPhase0(tech.pegasys.teku.spec.schemas.SchemaDefinitionsPhase0) SchemaDefinitions(tech.pegasys.teku.spec.schemas.SchemaDefinitions)

Aggregations

DelegatingSpecLogic (tech.pegasys.teku.spec.logic.DelegatingSpecLogic)1 SpecLogic (tech.pegasys.teku.spec.logic.SpecLogic)1 SchemaDefinitions (tech.pegasys.teku.spec.schemas.SchemaDefinitions)1 SchemaDefinitionsPhase0 (tech.pegasys.teku.spec.schemas.SchemaDefinitionsPhase0)1