Skip to content

Commit

Permalink
Add electra types to schema interfaces (#8761)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Saldanha <[email protected]>
  • Loading branch information
jtraglia and lucassaldanha authored Oct 21, 2024
1 parent 07e59f9 commit 3bb201d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import tech.pegasys.teku.api.schema.bellatrix.SignedBlindedBeaconBlockBellatrix;
import tech.pegasys.teku.api.schema.capella.SignedBlindedBeaconBlockCapella;
import tech.pegasys.teku.api.schema.deneb.SignedBlindedBeaconBlockDeneb;
import tech.pegasys.teku.api.schema.electra.SignedBlindedBeaconBlockElectra;
import tech.pegasys.teku.api.schema.phase0.SignedBeaconBlockPhase0;

@Schema(
Expand All @@ -26,6 +27,7 @@
SignedBeaconBlockAltair.class,
SignedBlindedBeaconBlockBellatrix.class,
SignedBlindedBeaconBlockCapella.class,
SignedBlindedBeaconBlockDeneb.class
SignedBlindedBeaconBlockDeneb.class,
SignedBlindedBeaconBlockElectra.class
})
public interface SignedBlindedBlock {}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import tech.pegasys.teku.api.schema.bellatrix.SignedBeaconBlockBellatrix;
import tech.pegasys.teku.api.schema.capella.SignedBeaconBlockCapella;
import tech.pegasys.teku.api.schema.deneb.SignedBeaconBlockDeneb;
import tech.pegasys.teku.api.schema.electra.SignedBeaconBlockElectra;
import tech.pegasys.teku.api.schema.phase0.SignedBeaconBlockPhase0;

@Schema(
Expand All @@ -26,6 +27,7 @@
SignedBeaconBlockAltair.class,
SignedBeaconBlockBellatrix.class,
SignedBeaconBlockCapella.class,
SignedBeaconBlockDeneb.class
SignedBeaconBlockDeneb.class,
SignedBeaconBlockElectra.class
})
public interface SignedBlock {}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import tech.pegasys.teku.api.schema.bellatrix.BeaconStateBellatrix;
import tech.pegasys.teku.api.schema.capella.BeaconStateCapella;
import tech.pegasys.teku.api.schema.deneb.BeaconStateDeneb;
import tech.pegasys.teku.api.schema.electra.BeaconStateElectra;
import tech.pegasys.teku.api.schema.phase0.BeaconStatePhase0;

@Schema(
Expand All @@ -26,6 +27,7 @@
BeaconStateAltair.class,
BeaconStateBellatrix.class,
BeaconStateCapella.class,
BeaconStateDeneb.class
BeaconStateDeneb.class,
BeaconStateElectra.class
})
public interface State {}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import tech.pegasys.teku.api.schema.bellatrix.BlindedBlockBellatrix;
import tech.pegasys.teku.api.schema.capella.BlindedBlockCapella;
import tech.pegasys.teku.api.schema.deneb.BlindedBlockDeneb;
import tech.pegasys.teku.api.schema.electra.BlindedBlockElectra;
import tech.pegasys.teku.api.schema.phase0.BeaconBlockPhase0;

@Schema(
Expand All @@ -26,6 +27,7 @@
BeaconBlockAltair.class,
BlindedBlockBellatrix.class,
BlindedBlockCapella.class,
BlindedBlockDeneb.class
BlindedBlockDeneb.class,
BlindedBlockElectra.class
})
public interface UnsignedBlindedBlock {}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import tech.pegasys.teku.api.schema.bellatrix.BeaconBlockBellatrix;
import tech.pegasys.teku.api.schema.capella.BeaconBlockCapella;
import tech.pegasys.teku.api.schema.deneb.BeaconBlockDeneb;
import tech.pegasys.teku.api.schema.electra.BeaconBlockElectra;
import tech.pegasys.teku.api.schema.phase0.BeaconBlockPhase0;

@Schema(
Expand All @@ -26,6 +27,7 @@
BeaconBlockAltair.class,
BeaconBlockBellatrix.class,
BeaconBlockCapella.class,
BeaconBlockDeneb.class
BeaconBlockDeneb.class,
BeaconBlockElectra.class
})
public interface UnsignedBlock {}

0 comments on commit 3bb201d

Please sign in to comment.