mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
superstruct the AttesterSlashing (#5636)
* `superstruct` Attester Fork Variants * Push a little further * Deal with Encode / Decode of AttesterSlashing * not so sure about this.. * Stop Encode/Decode Bounds from Propagating Out * Tons of Changes.. * More Conversions to AttestationRef * Add AsReference trait (#15) * Add AsReference trait * Fix some snafus * Got it Compiling! :D * Got Tests Building * Get beacon chain tests compiling --------- Co-authored-by: Michael Sproul <micsproul@gmail.com>
This commit is contained in:
@@ -141,7 +141,7 @@ pub fn insert_beacon_block<E: EthSpec>(
|
||||
let parent_root = WatchHash::from_hash(block.parent_root());
|
||||
let proposer_index = block_message.proposer_index() as i32;
|
||||
let graffiti = block_message.body().graffiti().as_utf8_lossy();
|
||||
let attestation_count = block_message.body().attestations().len() as i32;
|
||||
let attestation_count = block_message.body().attestations_len() as i32;
|
||||
|
||||
let full_payload = block_message.execution_payload().ok();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user