add block tests

This commit is contained in:
Robert Habermeier
2016-07-11 18:31:18 +02:00
parent 49ba117f13
commit 673cde6c7f
2 changed files with 73 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ use trace::Trace;
use evm::Factory as EvmFactory;
/// A block, encoded as it is on the block chain.
#[derive(Default, Debug, Clone)]
#[derive(Default, Debug, Clone, PartialEq)]
pub struct Block {
/// The header of this block.
pub header: Header,