Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
* @init4tech/engineering
.github/workflows @rswanson
crates/zenith/abi @anna-carroll
.github/workflows @rswanson
1 change: 0 additions & 1 deletion crates/node-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ reth-db.workspace = true
reth-node-api.workspace = true
reth-node-ethereum.workspace = true
reth-trie-db.workspace = true
reth-prune-types.workspace = true

tokio.workspace = true
10 changes: 10 additions & 0 deletions crates/node-types/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Signet Node Types

This crate provides parameterizations and conveneniences for the Signet node's
use of reth's internal generics. E.g. [`NodePrimitives`] and [`NodeTypes`].

It also provides a [`NodeTypesDbTrait`] to aggregate several trait constraints
on the database type. This is then used in the node and in `signet-db`.

This crate is mostly shims. It is not intended to be used outside of the
Signet node and `signet-db` crates.
14 changes: 13 additions & 1 deletion crates/node-types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
//! Types used by the signet node
#![doc = include_str!("../README.md")]
#![warn(
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
unreachable_pub,
clippy::missing_const_for_fn,
rustdoc::all
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![deny(unused_must_use, rust_2018_idioms)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

use reth::{
primitives::EthPrimitives,
providers::{
Expand Down