mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: generalize Block impls (#14133)
This commit is contained in:
@ -64,7 +64,7 @@ async fn test_get_body() {
|
||||
for _ in 0..100 {
|
||||
// Set a new random block to the mock storage and request it via the network
|
||||
let block_hash = rng.gen();
|
||||
let mut block = Block::default();
|
||||
let mut block: Block = Block::default();
|
||||
block.body.transactions.push(rng_transaction(&mut rng));
|
||||
|
||||
mock_provider.add_block(block_hash, block.clone());
|
||||
|
||||
Reference in New Issue
Block a user