mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: reexport bytes & bump version to 1.4 (#1395)
This commit is contained in:
@ -24,7 +24,7 @@ tower = "0.4"
|
||||
jsonrpsee = { version = "0.16", features = ["server", "client"] }
|
||||
serde_json = "1.0"
|
||||
tracing = "0.1.37"
|
||||
bytes = "1.2.1"
|
||||
bytes = "1.4"
|
||||
thiserror = "1.0.37"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -23,6 +23,5 @@ tokio = { version = "1", features = ["sync"] }
|
||||
# misc
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
bytes = "1.2"
|
||||
jsonrpsee-types = { version = "0.16" }
|
||||
lru = "0.9"
|
||||
|
||||
@ -2,8 +2,9 @@
|
||||
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use bytes::BytesMut;
|
||||
use reth_primitives::{Address, Bloom, Bytes, SealedBlock, Withdrawal, H256, H64, U256, U64};
|
||||
use reth_primitives::{
|
||||
bytes::BytesMut, Address, Bloom, Bytes, SealedBlock, Withdrawal, H256, H64, U256, U64,
|
||||
};
|
||||
use reth_rlp::Encodable;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user