mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
lints: move top-level lints to [workspace.lints] manifest table (#5935)
This commit is contained in:
@@ -8,6 +8,9 @@ homepage.workspace = true
|
||||
repository.workspace = true
|
||||
description = "Helpers for configuring RPC"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives.workspace = true
|
||||
|
||||
@@ -132,8 +132,6 @@
|
||||
html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
|
||||
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
|
||||
)]
|
||||
#![warn(missing_debug_implementations, missing_docs, unreachable_pub, rustdoc::all)]
|
||||
#![deny(unused_must_use, rust_2018_idioms)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
|
||||
use std::{
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#![allow(unreachable_pub)]
|
||||
//! Standalone http tests
|
||||
|
||||
use crate::utils::{launch_http, launch_http_ws, launch_ws};
|
||||
|
||||
@@ -21,7 +21,7 @@ impl ToRpcParams for RawRpcParams {
|
||||
async fn test_eth_balance_serde() {
|
||||
let handle = launch_http(vec![RethRpcModule::Eth]).await;
|
||||
let s = r#"{"jsonrpc":"2.0","id":1,"method":"eth_getBalance","params":["0xaa00000000000000000000000000000000000000","0x898753d8fdd8d92c1907ca21e68c7970abd290c647a202091181deec3f30a0b2"]}"#;
|
||||
let req: Request = serde_json::from_str(s).unwrap();
|
||||
let req: Request<'_> = serde_json::from_str(s).unwrap();
|
||||
let client = handle.http_client().unwrap();
|
||||
|
||||
let params = RawRpcParams(RawValue::from_string(req.params.unwrap().to_string()).unwrap());
|
||||
|
||||
Reference in New Issue
Block a user