Skip to content

Commit

Permalink
fix assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Sep 10, 2024
1 parent c40abd5 commit 5f4bd6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import tech.pegasys.teku.spec.datastructures.operations.PayloadAttestationSchema;
import tech.pegasys.teku.spec.schemas.SchemaDefinitionsEip7732;

@SuppressWarnings("JavaCase")
public class PayloadAttestation {

@Schema(type = "string", format = "byte", description = DESCRIPTION_BYTES_SSZ)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ default UInt64 getGasUsed() {

@Override
default UInt64 getBlockNumber() {
throw new UnsupportedOperationException("Not supported in Eip7732");
// Removed in Eip7732 (used in StateAndBlockSummary)
return UInt64.ZERO;
}

@Override
Expand Down

0 comments on commit 5f4bd6c

Please sign in to comment.