Search in sources :

Example 1 with SpecLogic

use of tech.pegasys.teku.spec.logic.SpecLogic in project teku by ConsenSys.

the class SpecVersion method createBellatrix.

static SpecVersion createBellatrix(final SpecConfigBellatrix specConfig) {
    final SchemaDefinitionsBellatrix schemaDefinitions = new SchemaDefinitionsBellatrix(specConfig);
    final SpecLogic specLogic = SpecLogicBellatrix.create(specConfig, schemaDefinitions);
    return new SpecVersion(SpecMilestone.BELLATRIX, specConfig, schemaDefinitions, specLogic);
}
Also used : DelegatingSpecLogic(tech.pegasys.teku.spec.logic.DelegatingSpecLogic) SpecLogic(tech.pegasys.teku.spec.logic.SpecLogic) SchemaDefinitionsBellatrix(tech.pegasys.teku.spec.schemas.SchemaDefinitionsBellatrix)

Example 2 with SpecLogic

use of tech.pegasys.teku.spec.logic.SpecLogic 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)

Example 3 with SpecLogic

use of tech.pegasys.teku.spec.logic.SpecLogic in project teku by ConsenSys.

the class SpecVersion method createAltair.

static SpecVersion createAltair(final SpecConfigAltair specConfig) {
    final SchemaDefinitionsAltair schemaDefinitions = new SchemaDefinitionsAltair(specConfig);
    final SpecLogic specLogic = SpecLogicAltair.create(specConfig, schemaDefinitions);
    return new SpecVersion(SpecMilestone.ALTAIR, specConfig, schemaDefinitions, specLogic);
}
Also used : SchemaDefinitionsAltair(tech.pegasys.teku.spec.schemas.SchemaDefinitionsAltair) DelegatingSpecLogic(tech.pegasys.teku.spec.logic.DelegatingSpecLogic) SpecLogic(tech.pegasys.teku.spec.logic.SpecLogic)

Aggregations

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