chore: reexport bytes & bump version to 1.4 (#1395)

This commit is contained in:
Roman Krasiuk
2023-02-16 20:33:28 +02:00
committed by GitHub
parent d2ec304bd3
commit f979c6c1fb
45 changed files with 93 additions and 88 deletions

View File

@ -30,4 +30,3 @@ thiserror = "1.0.37"
reth-interfaces = { path = "../../interfaces", features = ["test-utils"] }
reth-provider = { path = "../../storage/provider", features = ["test-utils"] }
assert_matches = "1.5.0"
bytes = "1.2"

View File

@ -326,9 +326,11 @@ mod tests {
mod new_payload {
use super::*;
use bytes::{Bytes, BytesMut};
use reth_interfaces::test_utils::generators::random_header;
use reth_primitives::Block;
use reth_primitives::{
bytes::{Bytes, BytesMut},
Block,
};
use reth_rlp::DecodeError;
fn transform_block<F: FnOnce(Block) -> Block>(src: SealedBlock, f: F) -> SealedBlock {