moved ethcores spec to its own module, added genesis

This commit is contained in:
debris
2016-03-17 15:15:10 +01:00
parent 0f889d4222
commit 1f03ae54d6
10 changed files with 174 additions and 4 deletions

View File

@@ -31,6 +31,12 @@ impl Into<U256> for Uint {
}
}
impl Into<u64> for Uint {
fn into(self) -> u64 {
u64::from(self.0)
}
}
impl Deserialize for Uint {
fn deserialize<D>(deserializer: &mut D) -> Result<Self, D::Error>
where D: Deserializer {