@@ -3,14 +3,10 @@ extern crate wasmi;
33#[ macro_use]
44extern crate log;
55extern crate env_logger;
6- extern crate ssz;
7- #[ macro_use]
8- extern crate ssz_derive;
96
107use primitive_types:: U256 ;
118use rustc_hex:: { FromHex , ToHex } ;
129use serde:: { Deserialize , Serialize } ;
13- use ssz:: { Decode , Encode } ;
1410use std:: convert:: { TryFrom , TryInto } ;
1511use std:: env;
1612use std:: error:: Error ;
@@ -536,10 +532,10 @@ impl<'a> ModuleImportResolver for DebugImportResolver {
536532const BYTES_PER_SHARD_BLOCK_BODY : usize = 16384 ;
537533const ZERO_HASH : Bytes32 = Bytes32 { bytes : [ 0u8 ; 32 ] } ;
538534
539- #[ derive( Default , PartialEq , Clone , Debug , Ssz ) ]
535+ #[ derive( Default , PartialEq , Clone , Debug ) ]
540536pub struct Hash ( [ u8 ; 32 ] ) ;
541537
542- #[ derive( Clone , Ssz ) ]
538+ #[ derive( Clone ) ]
543539pub struct BLSPubKey ( [ u8 ; 48 ] ) ;
544540
545541impl PartialEq for BLSPubKey {
@@ -560,7 +556,7 @@ impl fmt::Debug for BLSPubKey {
560556 }
561557}
562558
563- #[ derive( Clone , Ssz ) ]
559+ #[ derive( Clone ) ]
564560pub struct BLSSignature ( [ u8 ; 96 ] ) ;
565561
566562impl PartialEq for BLSSignature {
@@ -584,7 +580,7 @@ impl fmt::Debug for BLSSignature {
584580/// These are Phase 0 structures.
585581/// https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md
586582/// basically this is a little-endian tightly packed representation of those fields.
587- #[ derive( Default , PartialEq , Clone , Debug , Ssz ) ]
583+ #[ derive( Default , PartialEq , Clone , Debug ) ]
588584pub struct Deposit {
589585 pubkey : BLSPubKey ,
590586 withdrawal_credentials : Hash ,
0 commit comments