Update RPC. WIP

This commit is contained in:
Age Manning
2019-07-22 14:13:18 +10:00
parent b2a1b20e24
commit b350a78fec
4 changed files with 2 additions and 20 deletions

View File

@@ -166,13 +166,6 @@ pub struct DecodedBeaconBlockBodiesResponse {
pub block_bodies: Vec<BeaconBlockBody>,
}
//TODO: Build a cleaner API for this encoding/decoding
/// This only exists to encode/decode beacon block bodies according to the wire protocol.
#[derive(Encode, Decode)]
pub struct EncodeableBeaconBlockBodiesResponse {
pub block_bodies: Vec<BeaconBlockBody>,
}
/// Request values for tree hashes which yield a blocks `state_root`.
#[derive(Encode, Decode, Clone, Debug, PartialEq)]
pub struct BeaconChainStateRequest {