Add serde deser to AttestationDataAndCustodyBit
This commit is contained in:
parent
1eeaaaa92b
commit
07b94b30ba
@ -1,6 +1,6 @@
|
|||||||
use super::AttestationData;
|
use super::AttestationData;
|
||||||
use crate::test_utils::TestRandom;
|
use crate::test_utils::TestRandom;
|
||||||
use serde_derive::Serialize;
|
use serde_derive::{Deserialize, Serialize};
|
||||||
use ssz_derive::{Decode, Encode};
|
use ssz_derive::{Decode, Encode};
|
||||||
use test_random_derive::TestRandom;
|
use test_random_derive::TestRandom;
|
||||||
use tree_hash_derive::{CachedTreeHash, TreeHash};
|
use tree_hash_derive::{CachedTreeHash, TreeHash};
|
||||||
@ -14,6 +14,7 @@ use tree_hash_derive::{CachedTreeHash, TreeHash};
|
|||||||
PartialEq,
|
PartialEq,
|
||||||
Default,
|
Default,
|
||||||
Serialize,
|
Serialize,
|
||||||
|
Deserialize,
|
||||||
Encode,
|
Encode,
|
||||||
Decode,
|
Decode,
|
||||||
TreeHash,
|
TreeHash,
|
||||||
|
Loading…
Reference in New Issue
Block a user