mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Update constants / types to match specs as of 23.1.19
This commit is contained in:
@@ -4,7 +4,7 @@ use protos::services::{
|
||||
};
|
||||
use protos::services_grpc::BeaconBlockServiceClient;
|
||||
use ssz::{ssz_encode, Decodable};
|
||||
use types::{BeaconBlock, BeaconBlockBody, Hash256, Signature};
|
||||
use types::{BeaconBlock, BeaconBlockBody, Eth1Data, Hash256, Signature};
|
||||
|
||||
impl BeaconNode for BeaconBlockServiceClient {
|
||||
/// Request a Beacon Node (BN) to produce a new block at the supplied slot.
|
||||
@@ -31,7 +31,10 @@ impl BeaconNode for BeaconBlockServiceClient {
|
||||
parent_root: Hash256::zero(),
|
||||
state_root: Hash256::zero(),
|
||||
randao_reveal: Hash256::from(block.get_randao_reveal()),
|
||||
candidate_pow_receipt_root: Hash256::zero(),
|
||||
eth1_data: Eth1Data {
|
||||
deposit_root: Hash256::zero(),
|
||||
block_hash: Hash256::zero(),
|
||||
},
|
||||
signature,
|
||||
body: BeaconBlockBody {
|
||||
proposer_slashings: vec![],
|
||||
|
||||
Reference in New Issue
Block a user