Skip to content

Commit 3f992a5

Browse files
authored
feat: node types readme (#3)
* feat: node types readme * fix: lints in node-types * nit: remove codeowners funny
1 parent f4620f4 commit 3f992a5

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
* @init4tech/engineering
2-
.github/workflows @rswanson
3-
crates/zenith/abi @anna-carroll
2+
.github/workflows @rswanson

crates/node-types/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ reth-db.workspace = true
1515
reth-node-api.workspace = true
1616
reth-node-ethereum.workspace = true
1717
reth-trie-db.workspace = true
18-
reth-prune-types.workspace = true
1918

2019
tokio.workspace = true

crates/node-types/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Signet Node Types
2+
3+
This crate provides parameterizations and conveneniences for the Signet node's
4+
use of reth's internal generics. E.g. [`NodePrimitives`] and [`NodeTypes`].
5+
6+
It also provides a [`NodeTypesDbTrait`] to aggregate several trait constraints
7+
on the database type. This is then used in the node and in `signet-db`.
8+
9+
This crate is mostly shims. It is not intended to be used outside of the
10+
Signet node and `signet-db` crates.

crates/node-types/src/lib.rs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
//! Types used by the signet node
1+
#![doc = include_str!("../README.md")]
2+
#![warn(
3+
missing_copy_implementations,
4+
missing_debug_implementations,
5+
missing_docs,
6+
unreachable_pub,
7+
clippy::missing_const_for_fn,
8+
rustdoc::all
9+
)]
10+
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
11+
#![deny(unused_must_use, rust_2018_idioms)]
12+
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
13+
214
use reth::{
315
primitives::EthPrimitives,
416
providers::{

0 commit comments

Comments
 (0)