chore: add header and body generics to SealedBlockWithSenders (#12717)

This commit is contained in:
Arsenii Kulikov
2024-11-20 22:56:35 +04:00
committed by GitHub
parent a0d7503eb1
commit 749f98e021
6 changed files with 41 additions and 33 deletions

View File

@ -551,7 +551,7 @@ mod tests {
#[test]
fn receipts_by_block_hash() {
// Create a default SealedBlockWithSenders object
let block = SealedBlockWithSenders::default();
let block: SealedBlockWithSenders = Default::default();
// Define block hashes for block1 and block2
let block1_hash = B256::new([0x01; 32]);