Refactor block gen

This commit is contained in:
Paul Hauner
2021-09-29 12:17:38 +10:00
parent 837acc11e6
commit 57f6a9b1f1
7 changed files with 230 additions and 201 deletions

View File

@@ -107,6 +107,7 @@ pub enum BlockByNumberQuery<'a> {
#[serde(rename_all = "camelCase")]
pub struct ExecutionBlock {
pub block_hash: Hash256,
pub block_number: u64,
pub parent_hash: Hash256,
pub total_difficulty: Uint256,
}