@Test void succeedsWhenEqualsReturnsTrueForTwoEmptySignatures() { BLSSignature signature1 = BLSSignature.empty(); BLSSignature signature2 = BLSSignature.empty(); assertEquals(signature1, signature2); }
public static BLSSignature empty() { return BLSSignature.fromBytesCompressed(Bytes.wrap(new byte[SSZ_BLS_SIGNATURE_SIZE])); }
BLSSignature implements SimpleOffsetSerializable { public static BLSSignature empty() { return BLSSignature.fromBytesCompressed(Bytes.wrap(new byte[SSZ_BLS_SIGNATURE_SIZE])); } }
BLSSignature implements SimpleOffsetSerializable { public static BLSSignature empty() { return BLSSignature.fromBytesCompressed(Bytes.wrap(new byte[SSZ_BLS_SIGNATURE_SIZE])); } BLSSignature(Signature signature);   BLSSignature(Bytes signatureBytes); private  BLSSignature(Supplier<Signature> signature, Supplier<Bytes> bytesCompressed); }
BLSSignature implements SimpleOffsetSerializable { public static BLSSignature empty() { return BLSSignature.fromBytesCompressed(Bytes.wrap(new byte[SSZ_BLS_SIGNATURE_SIZE])); } BLSSignature(Signature signature);   BLSSignature(Bytes signatureBytes); private  BLSSignature(Supplier<Signature> signature, Supplier<Bytes> bytesCompressed); static BLSSignature random(int entropy); static BLSSignature empty(); @Override int getSSZFieldCount(); @Override List<Bytes> get_fixed_parts(); static BLSSignature fromBytesCompressed(Bytes bytes); static BLSSignature fromSSZBytes(Bytes bytes); Bytes toSSZBytes(); Bytes toBytesCompressed(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
BLSSignature implements SimpleOffsetSerializable { public static BLSSignature empty() { return BLSSignature.fromBytesCompressed(Bytes.wrap(new byte[SSZ_BLS_SIGNATURE_SIZE])); } BLSSignature(Signature signature);   BLSSignature(Bytes signatureBytes); private  BLSSignature(Supplier<Signature> signature, Supplier<Bytes> bytesCompressed); static BLSSignature random(int entropy); static BLSSignature empty(); @Override int getSSZFieldCount(); @Override List<Bytes> get_fixed_parts(); static BLSSignature fromBytesCompressed(Bytes bytes); static BLSSignature fromSSZBytes(Bytes bytes); Bytes toSSZBytes(); Bytes toBytesCompressed(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); static final int SSZ_FIELD_COUNT; static final int SSZ_BLS_SIGNATURE_SIZE; }