reth_seismic_node/lib.rs
1//! Standalone crate for Seismic-specific Reth configuration and builder types.
2//!
3//! # features
4//! - `js-tracer`: Enable the `JavaScript` tracer for the `debug_trace` endpoints
5
6#![doc(
7 html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
8 html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
9 issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/"
10)]
11#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
12#![cfg_attr(not(test), warn(unused_crate_dependencies))]
13// #![cfg_attr(not(feature = "std"), no_std)]
14
15pub mod args;
16pub mod engine;
17
18pub mod node;
19
20pub use reth_seismic_txpool as txpool;
21
22pub mod utils;
23
24pub use reth_seismic_payload_builder::SeismicPayloadBuilder;
25
26pub use reth_seismic_evm::*;
27
28use reth_chainspec::ChainSpec;
29use seismic_enclave::EnclaveClientBuilder;
30use std::sync::Arc;
31type RealSeismicEvmConfig = SeismicEvmConfig<EnclaveClientBuilder>;
32/// Hacky solution to get things compiling, hardcodes the enclave client builder
33pub fn real_seismic_evm_config(spec: Arc<ChainSpec>) -> RealSeismicEvmConfig {
34 SeismicEvmConfig::seismic(spec, EnclaveClientBuilder::default())
35}