@@ -48,7 +48,7 @@ mod tests {
4848 use std:: str:: FromStr ;
4949
5050 use ckey:: Address as CoreAddress ;
51- use primitives:: { H256 as Eth256 , H520 as Eth520 , U256 } ;
51+ use primitives:: { H256 as Core256 , H520 as Core520 , U256 } ;
5252 use serde_json;
5353
5454 use super :: super :: super :: bytes:: Bytes ;
@@ -80,18 +80,18 @@ mod tests {
8080 assert_eq ! ( deserialized, Genesis {
8181 seal: Seal :: Tendermint ( TendermintSeal {
8282 round: Uint ( U256 :: from( 0x0 ) ) ,
83- proposal: H520 ( Eth520 :: from( "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ) ) ,
83+ proposal: H520 ( Core520 :: from( "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ) ) ,
8484 precommits: vec![
85- H520 ( Eth520 :: from( "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ) ) ,
85+ H520 ( Core520 :: from( "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ) ) ,
8686 ]
8787 } ) ,
8888 score: Uint ( U256 :: from( 0x400000000u64 ) ) ,
8989 author: Some ( Address ( CoreAddress :: from( "0x1000000000000000000000000000000000000001" ) ) ) ,
9090 timestamp: Some ( Uint ( U256 :: from( 0x07 ) ) ) ,
91- parent_hash: Some ( H256 ( Eth256 :: from( "0x9000000000000000000000000000000000000000000000000000000000000000" ) ) ) ,
91+ parent_hash: Some ( H256 ( Core256 :: from( "0x9000000000000000000000000000000000000000000000000000000000000000" ) ) ) ,
9292 parcels_root: None ,
9393 invoices_root: None ,
94- state_root: Some ( H256 ( Eth256 :: from( "0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544" ) ) ) ,
94+ state_root: Some ( H256 ( Core256 :: from( "0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544" ) ) ) ,
9595 extra_data: Some ( Bytes :: from_str( "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa" ) . unwrap( ) ) ,
9696 } ) ;
9797 }
0 commit comments