Transaction ids made optional in order to reflect not transactional traces

This commit is contained in:
Anton Gavrilov
2017-07-28 13:41:51 +02:00
parent 45043c3f52
commit 1a3f3ffdbf
5 changed files with 78 additions and 45 deletions

View File

@@ -47,8 +47,8 @@ fn io() -> Tester {
result: Res::None,
subtraces: 0,
trace_address: vec![0],
transaction_number: 0,
transaction_hash: 5.into(),
transaction_number: Some(0),
transaction_hash: Some(5.into()),
block_number: 10,
block_hash: 10.into(),
}]);