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);
}
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);
}
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);
}
Aggregations