Replace `['uint384']` with `Signature`

This commit is contained in:
Hsiao-Wei Wang 2019-01-17 16:49:08 +08:00
parent b515683e39
commit 7005e5fd55
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 4 additions and 4 deletions

View File

@ -311,7 +311,7 @@ Unless otherwise indicated, code appearing in `this style` is to be interpreted
# Attestation data # Attestation data
'data': AttestationData, 'data': AttestationData,
# Aggregate signature # Aggregate signature
'aggregate_signature': ['uint384'], 'aggregate_signature': Signature,
} }
``` ```
@ -328,7 +328,7 @@ Unless otherwise indicated, code appearing in `this style` is to be interpreted
# Custody bitfield # Custody bitfield
'custody_bitfield': 'bytes', 'custody_bitfield': 'bytes',
# BLS aggregate signature # BLS aggregate signature
'aggregate_signature': ['uint384'], 'aggregate_signature': Signature,
} }
``` ```
@ -407,7 +407,7 @@ Unless otherwise indicated, code appearing in `this style` is to be interpreted
# Initial custody commitment # Initial custody commitment
'custody_commitment': 'bytes32', 'custody_commitment': 'bytes32',
# A BLS signature of this `DepositInput` # A BLS signature of this `DepositInput`
'proof_of_possession': ['uint384'], 'proof_of_possession': Signature,
} }
``` ```
@ -438,7 +438,7 @@ Unless otherwise indicated, code appearing in `this style` is to be interpreted
'state_root': 'bytes32', 'state_root': 'bytes32',
'randao_reveal': 'bytes32', 'randao_reveal': 'bytes32',
'deposit_root': 'bytes32', 'deposit_root': 'bytes32',
'signature': ['uint384'], 'signature': Signature,
## Body ## ## Body ##
'body': BeaconBlockBody, 'body': BeaconBlockBody,