Add IndexedAttestation ssz_static test

This commit is contained in:
Paul Hauner 2019-05-14 17:27:51 +10:00
parent f4ec8b3e84
commit 2755621a9b
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -3,8 +3,8 @@ use serde::de::{Deserialize, Deserializer};
use types::{ use types::{
Attestation, AttestationData, AttestationDataAndCustodyBit, AttesterSlashing, BeaconBlock, Attestation, AttestationData, AttestationDataAndCustodyBit, AttesterSlashing, BeaconBlock,
BeaconBlockBody, BeaconBlockHeader, BeaconState, Crosslink, Deposit, DepositData, Eth1Data, BeaconBlockBody, BeaconBlockHeader, BeaconState, Crosslink, Deposit, DepositData, Eth1Data,
Fork, HistoricalBatch, PendingAttestation, ProposerSlashing, Transfer, Validator, EthSpec, Fork, HistoricalBatch, IndexedAttestation, PendingAttestation, ProposerSlashing,
VoluntaryExit, Transfer, Validator, VoluntaryExit,
}; };
#[derive(Debug, Clone, Deserialize)] #[derive(Debug, Clone, Deserialize)]
@ -57,7 +57,7 @@ impl Test for TestDocCases<SszStatic> {
ssz_static_test::<AttestationDataAndCustodyBit>(tc) ssz_static_test::<AttestationDataAndCustodyBit>(tc)
} }
*/ */
// "IndexedAttestation" => ssz_static_test::<IndexedAttestation>(tc), "IndexedAttestation" => ssz_static_test::<IndexedAttestation>(tc),
"DepositData" => ssz_static_test::<DepositData>(tc), "DepositData" => ssz_static_test::<DepositData>(tc),
"BeaconBlockHeader" => ssz_static_test::<BeaconBlockHeader>(tc), "BeaconBlockHeader" => ssz_static_test::<BeaconBlockHeader>(tc),
"Validator" => ssz_static_test::<Validator>(tc), "Validator" => ssz_static_test::<Validator>(tc),