mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 00:47:03 +00:00
add AttestationSignedData
This commit is contained in:
parent
0b45eb5b74
commit
6a95e2c664
@ -97,6 +97,16 @@ type
|
|||||||
justified_block_hash: Blake2_256_Digest # Hash of last justified beacon block
|
justified_block_hash: Blake2_256_Digest # Hash of last justified beacon block
|
||||||
aggregate_sig*: Signature # BLS aggregate signature
|
aggregate_sig*: Signature # BLS aggregate signature
|
||||||
|
|
||||||
|
AttestationSignedData* = object
|
||||||
|
fork_version*: uint64 # Fork version
|
||||||
|
slot*: uint64 # Slot number
|
||||||
|
shard*: uint16 # Shard number
|
||||||
|
parent_hashes*: seq[Blake2_256_Digest]
|
||||||
|
# CYCLE_LENGTH parent hashes
|
||||||
|
shard_block_hash*: Blake2_256_Digest # Shard block hash
|
||||||
|
shard_block_combined_data_root*: Blake2_256_Digest # Root of data between last hash and this one
|
||||||
|
justified_slot*: uint64 # Slot of last justified beacon block referenced in the attestation
|
||||||
|
|
||||||
ValidatorStatusCodes* {.pure.} = enum
|
ValidatorStatusCodes* {.pure.} = enum
|
||||||
PendingActivation = 0
|
PendingActivation = 0
|
||||||
Active = 1
|
Active = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user