small datatypes cleanups (#6266)
This commit is contained in:
parent
a6f68d3edc
commit
c41fe698cf
|
@ -985,4 +985,5 @@ func ofLen*[T, N](ListType: type List[T, N], n: int): ListType =
|
||||||
else:
|
else:
|
||||||
raise newException(SszSizeMismatchError)
|
raise newException(SszSizeMismatchError)
|
||||||
|
|
||||||
|
template debugComment*(s: string) = discard
|
||||||
template debugRaiseAssert*(s: string) = discard
|
template debugRaiseAssert*(s: string) = discard
|
||||||
|
|
|
@ -589,7 +589,7 @@ type
|
||||||
Attestation* = object
|
Attestation* = object
|
||||||
aggregation_bits*: ElectraCommitteeValidatorsBits
|
aggregation_bits*: ElectraCommitteeValidatorsBits
|
||||||
data*: AttestationData
|
data*: AttestationData
|
||||||
committee_bits*: BitArray[static(MAX_COMMITTEES_PER_SLOT.int)] # [New in Electra:EIP7549]
|
committee_bits*: BitArray[MAX_COMMITTEES_PER_SLOT.int] # [New in Electra:EIP7549]
|
||||||
signature*: ValidatorSig
|
signature*: ValidatorSig
|
||||||
|
|
||||||
TrustedAttestation* = object
|
TrustedAttestation* = object
|
||||||
|
@ -598,7 +598,7 @@ type
|
||||||
# Currently the code MUST verify the state transition as soon as the signature is verified
|
# Currently the code MUST verify the state transition as soon as the signature is verified
|
||||||
aggregation_bits*: ElectraCommitteeValidatorsBits
|
aggregation_bits*: ElectraCommitteeValidatorsBits
|
||||||
data*: AttestationData
|
data*: AttestationData
|
||||||
committee_bits*: BitArray[static(MAX_COMMITTEES_PER_SLOT.int)] # [New in Electra:EIP7549]
|
committee_bits*: BitArray[MAX_COMMITTEES_PER_SLOT.int] # [New in Electra:EIP7549]
|
||||||
signature*: TrustedSig
|
signature*: TrustedSig
|
||||||
|
|
||||||
SomeSignedBeaconBlock* =
|
SomeSignedBeaconBlock* =
|
||||||
|
|
Loading…
Reference in New Issue