Update Deposit to v0.5.0

This commit is contained in:
Paul Hauner 2019-03-15 16:02:47 +11:00
parent 77db79900e
commit db26b8fde7
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
2 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@ use test_random_derive::TestRandom;
/// A deposit to potentially become a beacon chain validator.
///
/// Spec v0.4.0
/// Spec v0.5.0
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Encode, Decode, TreeHash, TestRandom)]
pub struct Deposit {
pub branch: Vec<Hash256>,
pub proof: Vec<Hash256>,
pub index: u64,
pub deposit_data: DepositData,
}

View File

@ -14,7 +14,7 @@ impl TestingDepositBuilder {
let keypair = Keypair::random();
let deposit = Deposit {
branch: vec![],
proof: vec![],
index: 0,
deposit_data: DepositData {
amount,