@@ -3,14 +3,10 @@ extern crate wasmi;
3
3
#[ macro_use]
4
4
extern crate log;
5
5
extern crate env_logger;
6
- extern crate ssz;
7
- #[ macro_use]
8
- extern crate ssz_derive;
9
6
10
7
use primitive_types:: U256 ;
11
8
use rustc_hex:: { FromHex , ToHex } ;
12
9
use serde:: { Deserialize , Serialize } ;
13
- use ssz:: { Decode , Encode } ;
14
10
use std:: convert:: { TryFrom , TryInto } ;
15
11
use std:: env;
16
12
use std:: error:: Error ;
@@ -536,10 +532,10 @@ impl<'a> ModuleImportResolver for DebugImportResolver {
536
532
const BYTES_PER_SHARD_BLOCK_BODY : usize = 16384 ;
537
533
const ZERO_HASH : Bytes32 = Bytes32 { bytes : [ 0u8 ; 32 ] } ;
538
534
539
- #[ derive( Default , PartialEq , Clone , Debug , Ssz ) ]
535
+ #[ derive( Default , PartialEq , Clone , Debug ) ]
540
536
pub struct Hash ( [ u8 ; 32 ] ) ;
541
537
542
- #[ derive( Clone , Ssz ) ]
538
+ #[ derive( Clone ) ]
543
539
pub struct BLSPubKey ( [ u8 ; 48 ] ) ;
544
540
545
541
impl PartialEq for BLSPubKey {
@@ -560,7 +556,7 @@ impl fmt::Debug for BLSPubKey {
560
556
}
561
557
}
562
558
563
- #[ derive( Clone , Ssz ) ]
559
+ #[ derive( Clone ) ]
564
560
pub struct BLSSignature ( [ u8 ; 96 ] ) ;
565
561
566
562
impl PartialEq for BLSSignature {
@@ -584,7 +580,7 @@ impl fmt::Debug for BLSSignature {
584
580
/// These are Phase 0 structures.
585
581
/// https://github.com/ethereum/eth2.0-specs/blob/dev/specs/core/0_beacon-chain.md
586
582
/// 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 ) ]
588
584
pub struct Deposit {
589
585
pubkey : BLSPubKey ,
590
586
withdrawal_credentials : Hash ,
0 commit comments