feat: withdrawals (#1322)

Co-authored-by: rakita <rakita@users.noreply.github.com>
This commit is contained in:
Roman Krasiuk
2023-02-16 14:44:05 +02:00
committed by GitHub
parent 94674f9c16
commit e97753c768
35 changed files with 648 additions and 264 deletions

View File

@ -70,7 +70,8 @@ async fn test_get_body() {
let blocks = res.unwrap().1;
assert_eq!(blocks.len(), 1);
let expected = BlockBody { transactions: block.body, ommers: block.ommers };
let expected =
BlockBody { transactions: block.body, ommers: block.ommers, withdrawals: None };
assert_eq!(blocks[0], expected);
}
}