repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/optimism/payload/src/validator.rs
crates/optimism/payload/src/validator.rs
//! Validates execution payload wrt Optimism consensus rules use alloc::sync::Arc; use alloy_consensus::Block; use alloy_rpc_types_engine::PayloadError; use derive_more::{Constructor, Deref}; use op_alloy_rpc_types_engine::{OpExecutionData, OpPayloadError}; use reth_optimism_forks::OpHardforks; use reth_payload_valida...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/optimism/payload/src/traits.rs
crates/optimism/payload/src/traits.rs
use alloy_consensus::BlockBody; use reth_optimism_primitives::{transaction::OpTransaction, DepositReceipt}; use reth_payload_primitives::PayloadBuilderAttributes; use reth_primitives_traits::{FullBlockHeader, NodePrimitives, SignedTransaction, WithEncoded}; use crate::OpPayloadBuilderAttributes; /// Helper trait to e...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/config.rs
crates/transaction-pool/src/config.rs
use crate::{ maintain::MAX_QUEUED_TRANSACTION_LIFETIME, pool::{NEW_TX_LISTENER_BUFFER_SIZE, PENDING_TX_LISTENER_BUFFER_SIZE}, PoolSize, TransactionOrigin, }; use alloy_consensus::constants::EIP4844_TX_TYPE_ID; use alloy_eips::eip1559::{ETHEREUM_BLOCK_GAS_LIMIT_30M, MIN_PROTOCOL_BASE_FEE}; use alloy_primitiv...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/batcher.rs
crates/transaction-pool/src/batcher.rs
//! Transaction batching for `Pool` insertion for high-throughput scenarios //! //! This module provides transaction batching logic to reduce lock contention when processing //! many concurrent transaction pool insertions. use crate::{ error::PoolError, AddedTransactionOutcome, PoolTransaction, TransactionOrigin, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/lib.rs
crates/transaction-pool/src/lib.rs
//! Reth's transaction pool implementation. //! //! This crate provides a generic transaction pool implementation. //! //! ## Functionality //! //! The transaction pool is responsible for //! //! - recording incoming transactions //! - providing existing transactions //! - ordering and providing the best trans...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/noop.rs
crates/transaction-pool/src/noop.rs
//! A transaction pool implementation that does nothing. //! //! This is useful for wiring components together that don't require an actual pool but still need //! to be generic over it. use crate::{ blobstore::BlobStoreError, error::{InvalidPoolTransactionError, PoolError}, pool::TransactionListenerKind, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/ordering.rs
crates/transaction-pool/src/ordering.rs
use crate::traits::PoolTransaction; use alloy_primitives::U256; use std::{cmp::Ordering, fmt::Debug, marker::PhantomData}; /// Priority of the transaction that can be missing. /// /// Transactions with missing priorities are ranked lower. #[derive(PartialEq, Eq, Clone, Debug)] pub enum Priority<T: Ord + Clone> { /...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/error.rs
crates/transaction-pool/src/error.rs
//! Transaction pool errors use std::any::Any; use alloy_eips::eip4844::BlobTransactionValidationError; use alloy_primitives::{Address, TxHash, U256}; use reth_primitives_traits::transaction::error::InvalidTransactionError; /// Transaction pool result type. pub type PoolResult<T> = Result<T, PoolError>; /// A trait...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/identifier.rs
crates/transaction-pool/src/identifier.rs
//! Identifier types for transactions and senders. use alloy_primitives::{map::HashMap, Address}; use rustc_hash::FxHashMap; /// An internal mapping of addresses. /// /// This assigns a _unique_ [`SenderId`] for a new [`Address`]. /// It has capacity for 2^64 unique addresses. #[derive(Debug, Default)] pub struct Send...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/maintain.rs
crates/transaction-pool/src/maintain.rs
//! Support for maintaining the state of the transaction pool use crate::{ blobstore::{BlobStoreCanonTracker, BlobStoreUpdates}, error::PoolError, metrics::MaintainPoolMetrics, traits::{CanonicalStateUpdate, EthPoolTransaction, TransactionPool, TransactionPoolExt}, BlockInfo, PoolTransaction, PoolU...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/metrics.rs
crates/transaction-pool/src/metrics.rs
//! Transaction pool metrics. use reth_metrics::{ metrics::{Counter, Gauge, Histogram}, Metrics, }; /// Transaction pool metrics #[derive(Metrics)] #[metrics(scope = "transaction_pool")] pub struct TxPoolMetrics { /// Number of transactions inserted in the pool pub(crate) inserted_transactions: Counte...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/traits.rs
crates/transaction-pool/src/traits.rs
//! Transaction Pool Traits and Types //! //! This module defines the core abstractions for transaction pool implementations, //! handling the complexity of different transaction representations across the //! network, mempool, and the chain itself. //! //! ## Key Concepts //! //! ### Transaction Representations //! //...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/pending.rs
crates/transaction-pool/src/pool/pending.rs
//! Pending transactions use crate::{ identifier::{SenderId, TransactionId}, pool::{ best::{BestTransactions, BestTransactionsWithFees}, size::SizeTracker, }, Priority, SubPoolLimit, TransactionOrdering, ValidPoolTransaction, }; use rustc_hash::{FxHashMap, FxHashSet}; use std::{ cmp...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/update.rs
crates/transaction-pool/src/pool/update.rs
//! Support types for updating the pool. use crate::{ identifier::TransactionId, pool::state::SubPool, PoolTransaction, ValidPoolTransaction, }; use std::sync::Arc; /// A change of the transaction's location /// /// NOTE: this guarantees that `current` and `destination` differ. #[derive(Debug)] pub(crate) struct ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/state.rs
crates/transaction-pool/src/pool/state.rs
bitflags::bitflags! { /// Marker to represents the current state of a transaction in the pool and from which the corresponding sub-pool is derived, depending on what bits are set. /// /// This mirrors [erigon's ephemeral state field](https://github.com/ledgerwatch/erigon/wiki/Transaction-Pool-Design#orderin...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/listener.rs
crates/transaction-pool/src/pool/listener.rs
//! Listeners for the transaction-pool use crate::{ pool::events::{FullTransactionEvent, NewTransactionEvent, TransactionEvent}, traits::{NewBlobSidecar, PropagateKind}, PoolTransaction, ValidPoolTransaction, }; use alloy_primitives::{TxHash, B256}; use futures_util::Stream; use std::{ collections::{ha...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/mod.rs
crates/transaction-pool/src/pool/mod.rs
//! Transaction Pool internals. //! //! Incoming transactions are validated before they enter the pool first. The validation outcome can //! have 3 states: //! //! 1. Transaction can _never_ be valid //! 2. Transaction is _currently_ valid //! 3. Transaction is _currently_ invalid, but could potentially become valid...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/best.rs
crates/transaction-pool/src/pool/best.rs
use crate::{ error::{Eip4844PoolTransactionError, InvalidPoolTransactionError}, identifier::{SenderId, TransactionId}, pool::pending::PendingTransaction, PoolTransaction, Priority, TransactionOrdering, ValidPoolTransaction, }; use alloy_consensus::Transaction; use alloy_eips::Typed2718; use alloy_primit...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/events.rs
crates/transaction-pool/src/pool/events.rs
use crate::{traits::PropagateKind, PoolTransaction, SubPool, ValidPoolTransaction}; use alloy_primitives::{TxHash, B256}; use std::sync::Arc; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; /// An event that happened to a transaction and contains its full body where possible. #[derive(Debug)] pub enum ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/txpool.rs
crates/transaction-pool/src/pool/txpool.rs
//! The internal transaction pool implementation. use crate::{ config::{LocalTransactionConfig, TXPOOL_MAX_ACCOUNT_SLOTS_PER_SENDER}, error::{ Eip4844PoolTransactionError, Eip7702PoolTransactionError, InvalidPoolTransactionError, PoolError, PoolErrorKind, }, identifier::{SenderId, Trans...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/blob.rs
crates/transaction-pool/src/pool/blob.rs
use super::txpool::PendingFees; use crate::{ identifier::TransactionId, pool::size::SizeTracker, traits::BestTransactionsAttributes, PoolTransaction, SubPoolLimit, ValidPoolTransaction, }; use std::{ cmp::Ordering, collections::{BTreeMap, BTreeSet}, sync::Arc, }; /// A set of validated blob transac...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/parked.rs
crates/transaction-pool/src/pool/parked.rs
use crate::{ identifier::{SenderId, TransactionId}, pool::size::SizeTracker, PoolTransaction, SubPoolLimit, ValidPoolTransaction, TXPOOL_MAX_ACCOUNT_SLOTS_PER_SENDER, }; use rustc_hash::FxHashMap; use smallvec::SmallVec; use std::{ cmp::Ordering, collections::{hash_map::Entry, BTreeMap, BTreeSet}, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/pool/size.rs
crates/transaction-pool/src/pool/size.rs
//! Tracks a size value. use std::ops::{AddAssign, SubAssign}; /// Keeps track of accumulated size in bytes. /// /// Note: We do not assume that size tracking is always exact. Depending on the bookkeeping of the /// additions and subtractions the total size might be slightly off. Therefore, the underlying value /// i...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/blobstore/noop.rs
crates/transaction-pool/src/blobstore/noop.rs
use crate::blobstore::{BlobStore, BlobStoreCleanupStat, BlobStoreError}; use alloy_eips::{ eip4844::{BlobAndProofV1, BlobAndProofV2}, eip7594::BlobTransactionSidecarVariant, }; use alloy_primitives::B256; use std::sync::Arc; /// A blobstore implementation that does nothing #[derive(Clone, Copy, Debug, PartialO...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/blobstore/tracker.rs
crates/transaction-pool/src/blobstore/tracker.rs
//! Support for maintaining the blob pool. use alloy_consensus::Typed2718; use alloy_eips::eip2718::Encodable2718; use alloy_primitives::{BlockNumber, B256}; use reth_execution_types::ChainBlocks; use reth_primitives_traits::{Block, BlockBody, SignedTransaction}; use std::collections::BTreeMap; /// The type that is u...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/blobstore/mod.rs
crates/transaction-pool/src/blobstore/mod.rs
//! Storage for blob data of EIP4844 transactions. use alloy_eips::{ eip4844::{BlobAndProofV1, BlobAndProofV2}, eip7594::BlobTransactionSidecarVariant, }; use alloy_primitives::B256; pub use disk::{DiskFileBlobStore, DiskFileBlobStoreConfig, OpenDiskFileBlobStore}; pub use mem::InMemoryBlobStore; pub use noop:...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/blobstore/mem.rs
crates/transaction-pool/src/blobstore/mem.rs
use crate::blobstore::{BlobStore, BlobStoreCleanupStat, BlobStoreError, BlobStoreSize}; use alloy_eips::{ eip4844::{BlobAndProofV1, BlobAndProofV2}, eip7594::BlobTransactionSidecarVariant, }; use alloy_primitives::B256; use parking_lot::RwLock; use std::{collections::HashMap, sync::Arc}; /// An in-memory blob ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/blobstore/disk.rs
crates/transaction-pool/src/blobstore/disk.rs
//! A simple diskstore for blobs use crate::blobstore::{BlobStore, BlobStoreCleanupStat, BlobStoreError, BlobStoreSize}; use alloy_eips::{ eip4844::{BlobAndProofV1, BlobAndProofV2}, eip7594::BlobTransactionSidecarVariant, }; use alloy_primitives::{TxHash, B256}; use parking_lot::{Mutex, RwLock}; use schnellru:...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/validate/eth.rs
crates/transaction-pool/src/validate/eth.rs
//! Ethereum transaction validator. use super::constants::DEFAULT_MAX_TX_INPUT_BYTES; use crate::{ blobstore::BlobStore, error::{ Eip4844PoolTransactionError, Eip7702PoolTransactionError, InvalidPoolTransactionError, }, metrics::TxPoolValidationMetrics, traits::TransactionOrigin, valida...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/validate/mod.rs
crates/transaction-pool/src/validate/mod.rs
//! Transaction validation abstractions. use crate::{ error::InvalidPoolTransactionError, identifier::{SenderId, TransactionId}, traits::{PoolTransaction, TransactionOrigin}, PriceBumpConfig, }; use alloy_eips::{eip7594::BlobTransactionSidecarVariant, eip7702::SignedAuthorization}; use alloy_primitives...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/validate/task.rs
crates/transaction-pool/src/validate/task.rs
//! A validation service for transactions. use crate::{ blobstore::BlobStore, metrics::TxPoolValidatorMetrics, validate::{EthTransactionValidatorBuilder, TransactionValidatorError}, EthTransactionValidator, PoolTransaction, TransactionOrigin, TransactionValidationOutcome, TransactionValidator, }; u...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/validate/constants.rs
crates/transaction-pool/src/validate/constants.rs
/// [`TX_SLOT_BYTE_SIZE`] is used to calculate how many data slots a single transaction /// takes up based on its byte size. The slots are used as `DoS` protection, ensuring /// that validating a new transaction remains a constant operation (in reality /// O(maxslots), where max slots are 4 currently). pub const TX_SLO...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/test_utils/mod.rs
crates/transaction-pool/src/test_utils/mod.rs
//! Internal helpers for testing. use crate::{blobstore::InMemoryBlobStore, noop::MockTransactionValidator, Pool, PoolConfig}; use std::ops::Deref; mod tx_gen; pub use tx_gen::*; mod mock; pub use mock::*; mod pool; mod okvalidator; pub use okvalidator::*; /// A [Pool] used for testing pub type TestPool = Poo...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/test_utils/tx_gen.rs
crates/transaction-pool/src/test_utils/tx_gen.rs
use crate::{EthPooledTransaction, PoolTransaction}; use alloy_consensus::{SignableTransaction, TxEip1559, TxEip4844, TxLegacy}; use alloy_eips::{eip1559::MIN_PROTOCOL_BASE_FEE, eip2718::Encodable2718, eip2930::AccessList}; use alloy_primitives::{Address, Bytes, TxKind, B256, U256}; use rand::{Rng, RngCore}; use reth_ch...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/test_utils/mock.rs
crates/transaction-pool/src/test_utils/mock.rs
//! Mock types. use crate::{ identifier::{SenderIdentifiers, TransactionId}, pool::txpool::TxPool, traits::TransactionOrigin, CoinbaseTipOrdering, EthBlobTransactionSidecar, EthPoolTransaction, PoolTransaction, ValidPoolTransaction, }; use alloy_consensus::{ constants::{ EIP1559_TX_TYPE...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/test_utils/okvalidator.rs
crates/transaction-pool/src/test_utils/okvalidator.rs
use std::marker::PhantomData; use crate::{ validate::ValidTransaction, EthPooledTransaction, PoolTransaction, TransactionOrigin, TransactionValidationOutcome, TransactionValidator, }; /// A transaction validator that determines all transactions to be valid. #[derive(Debug)] #[non_exhaustive] pub struct OkVali...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/src/test_utils/pool.rs
crates/transaction-pool/src/test_utils/pool.rs
//! Test helpers for mocking an entire pool. #![allow(dead_code)] use crate::{ pool::{txpool::TxPool, AddedTransaction}, test_utils::{MockOrdering, MockTransactionDistribution, MockTransactionFactory}, TransactionOrdering, }; use alloy_primitives::{Address, U256}; use rand::Rng; use std::{ collections...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/tests/it/pending.rs
crates/transaction-pool/tests/it/pending.rs
use assert_matches::assert_matches; use reth_transaction_pool::{ test_utils::{MockTransactionFactory, TestPoolBuilder}, TransactionOrigin, TransactionPool, }; #[tokio::test(flavor = "multi_thread")] async fn txpool_new_pending_txs() { let txpool = TestPoolBuilder::default(); let mut mock_tx_factory = M...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/tests/it/evict.rs
crates/transaction-pool/tests/it/evict.rs
//! Transaction pool eviction tests. use alloy_consensus::Transaction; use alloy_eips::eip1559::{ETHEREUM_BLOCK_GAS_LIMIT_30M, MIN_PROTOCOL_BASE_FEE}; use alloy_primitives::{Address, B256}; use rand::distr::Uniform; use reth_transaction_pool::{ error::PoolErrorKind, test_utils::{ MockFeeRange, MockTran...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/tests/it/listeners.rs
crates/transaction-pool/tests/it/listeners.rs
use assert_matches::assert_matches; use reth_transaction_pool::{ noop::MockTransactionValidator, test_utils::{MockTransactionFactory, TestPoolBuilder}, FullTransactionEvent, PoolTransaction, TransactionEvent, TransactionListenerKind, TransactionOrigin, TransactionPool, }; use std::{future::poll_fn, task...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/tests/it/blobs.rs
crates/transaction-pool/tests/it/blobs.rs
//! Blob transaction tests use reth_transaction_pool::{ error::PoolErrorKind, test_utils::{MockTransaction, MockTransactionFactory, TestPoolBuilder}, AddedTransactionOutcome, PoolTransaction, TransactionOrigin, TransactionPool, }; #[tokio::test(flavor = "multi_thread")] async fn blobs_exclusive() { le...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/tests/it/best.rs
crates/transaction-pool/tests/it/best.rs
//! Best transaction and filter testing use reth_transaction_pool::{noop::NoopTransactionPool, BestTransactions, TransactionPool}; #[test] fn test_best_transactions() { let noop = NoopTransactionPool::default(); let mut best = noop.best_transactions().filter_transactions(|_| true).without_blobs().with...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/tests/it/main.rs
crates/transaction-pool/tests/it/main.rs
//! transaction-pool integration tests #[cfg(feature = "test-utils")] mod blobs; #[cfg(feature = "test-utils")] mod evict; #[cfg(feature = "test-utils")] mod listeners; #[cfg(feature = "test-utils")] mod pending; mod best; const fn main() {}
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/benches/canonical_state_change.rs
crates/transaction-pool/benches/canonical_state_change.rs
#![allow(missing_docs)] use alloy_consensus::Transaction; use alloy_primitives::{Address, B256, U256}; use criterion::{criterion_group, criterion_main, BatchSize, Criterion}; use proptest::{prelude::*, strategy::ValueTree, test_runner::TestRunner}; use rand::prelude::SliceRandom; use reth_ethereum_primitives::{Block, B...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/benches/reorder.rs
crates/transaction-pool/benches/reorder.rs
#![allow(missing_docs)] use criterion::{ criterion_group, criterion_main, measurement::WallTime, BenchmarkGroup, Criterion, }; use proptest::{prelude::*, strategy::ValueTree, test_runner::TestRunner}; use reth_transaction_pool::test_utils::MockTransaction; /// Transaction Pool trait for benching. trait BenchTxPool...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/benches/priority.rs
crates/transaction-pool/benches/priority.rs
#![allow(missing_docs)] use criterion::{ criterion_group, criterion_main, measurement::WallTime, BenchmarkGroup, Criterion, }; use proptest::{prelude::*, strategy::ValueTree, test_runner::TestRunner}; use reth_transaction_pool::{blob_tx_priority, fee_delta}; use std::hint::black_box; fn generate_test_data_fee_delt...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/benches/insertion.rs
crates/transaction-pool/benches/insertion.rs
#![allow(missing_docs)] use alloy_primitives::Address; use criterion::{criterion_group, criterion_main, Criterion}; use proptest::{prelude::*, strategy::ValueTree, test_runner::TestRunner}; use reth_transaction_pool::{ batcher::{BatchTxProcessor, BatchTxRequest}, test_utils::{testing_pool, MockTransaction}, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/transaction-pool/benches/truncate.rs
crates/transaction-pool/benches/truncate.rs
#![allow(missing_docs)] use alloy_primitives::Address; use criterion::{ criterion_group, criterion_main, measurement::WallTime, BenchmarkGroup, Criterion, }; use proptest::{prelude::*, strategy::ValueTree, test_runner::TestRunner}; use reth_transaction_pool::{ pool::{BasefeeOrd, BlobTransactions, ParkedPool, Pe...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/chain-state/src/chain_info.rs
crates/chain-state/src/chain_info.rs
use alloy_consensus::BlockHeader; use alloy_eips::BlockNumHash; use alloy_primitives::BlockNumber; use parking_lot::RwLock; use reth_chainspec::ChainInfo; use reth_primitives_traits::{NodePrimitives, SealedHeader}; use std::{ sync::{ atomic::{AtomicU64, Ordering}, Arc, }, time::Instant, }; u...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/chain-state/src/lib.rs
crates/chain-state/src/lib.rs
//! Reth state related types and functionality. #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issu...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/chain-state/src/noop.rs
crates/chain-state/src/noop.rs
//! Noop impls for testing. use crate::{ CanonStateNotifications, CanonStateSubscriptions, ForkChoiceNotifications, ForkChoiceSubscriptions, }; use reth_primitives_traits::NodePrimitives; use reth_storage_api::noop::NoopProvider; use tokio::sync::{broadcast, watch}; impl<C: Send + Sync, N: NodePrimitives> Can...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/chain-state/src/test_utils.rs
crates/chain-state/src/test_utils.rs
use crate::{ in_memory::ExecutedBlockWithTrieUpdates, CanonStateNotification, CanonStateNotifications, CanonStateSubscriptions, ExecutedTrieUpdates, }; use alloy_consensus::{Header, SignableTransaction, TxEip1559, TxReceipt, EMPTY_ROOT_HASH}; use alloy_eips::{ eip1559::{ETHEREUM_BLOCK_GAS_LIMIT_30M, INITIAL...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/chain-state/src/memory_overlay.rs
crates/chain-state/src/memory_overlay.rs
use super::ExecutedBlockWithTrieUpdates; use alloy_consensus::BlockHeader; use alloy_primitives::{keccak256, Address, BlockNumber, Bytes, StorageKey, B256}; use reth_errors::ProviderResult; use reth_primitives_traits::{Account, Bytecode, NodePrimitives}; use reth_storage_api::{ AccountReader, BlockHashReader, Bytec...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/chain-state/src/in_memory.rs
crates/chain-state/src/in_memory.rs
//! Types for tracking the canonical chain state in memory. use crate::{ CanonStateNotification, CanonStateNotificationSender, CanonStateNotifications, ChainInfoTracker, MemoryOverlayStateProvider, }; use alloy_consensus::{transaction::TransactionMeta, BlockHeader}; use alloy_eips::{BlockHashOrNumber, BlockNum...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/chain-state/src/notifications.rs
crates/chain-state/src/notifications.rs
//! Canonical chain state notification trait and types. use alloy_eips::eip2718::Encodable2718; use derive_more::{Deref, DerefMut}; use reth_execution_types::{BlockReceipts, Chain}; use reth_primitives_traits::{NodePrimitives, RecoveredBlock, SealedHeader}; use reth_storage_api::NodePrimitivesProvider; use std::{ ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/static-file/src/lib.rs
crates/static-file/static-file/src/lib.rs
//! Static file producer implementation. #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/" )]...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/static-file/src/static_file_producer.rs
crates/static-file/static-file/src/static_file_producer.rs
//! Support for producing static files. use crate::{segments, segments::Segment, StaticFileProducerEvent}; use alloy_primitives::BlockNumber; use parking_lot::Mutex; use rayon::prelude::*; use reth_codecs::Compact; use reth_db_api::table::Value; use reth_primitives_traits::NodePrimitives; use reth_provider::{ prov...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/static-file/src/segments/headers.rs
crates/static-file/static-file/src/segments/headers.rs
use crate::segments::Segment; use alloy_primitives::BlockNumber; use reth_codecs::Compact; use reth_db_api::{cursor::DbCursorRO, table::Value, tables, transaction::DbTx}; use reth_primitives_traits::NodePrimitives; use reth_provider::{providers::StaticFileWriter, DBProvider, StaticFileProviderFactory}; use reth_static_...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/static-file/src/segments/transactions.rs
crates/static-file/static-file/src/segments/transactions.rs
use crate::segments::Segment; use alloy_primitives::BlockNumber; use reth_codecs::Compact; use reth_db_api::{cursor::DbCursorRO, table::Value, tables, transaction::DbTx}; use reth_primitives_traits::NodePrimitives; use reth_provider::{ providers::StaticFileWriter, BlockReader, DBProvider, StaticFileProviderFactory,...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/static-file/src/segments/mod.rs
crates/static-file/static-file/src/segments/mod.rs
//! `StaticFile` segment implementations and utilities. mod transactions; pub use transactions::Transactions; mod headers; pub use headers::Headers; mod receipts; pub use receipts::Receipts; use alloy_primitives::BlockNumber; use reth_provider::StaticFileProviderFactory; use reth_static_file_types::StaticFileSegmen...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/static-file/src/segments/receipts.rs
crates/static-file/static-file/src/segments/receipts.rs
use crate::segments::Segment; use alloy_primitives::BlockNumber; use reth_codecs::Compact; use reth_db_api::{cursor::DbCursorRO, table::Value, tables, transaction::DbTx}; use reth_primitives_traits::NodePrimitives; use reth_provider::{ providers::StaticFileWriter, BlockReader, DBProvider, StaticFileProviderFactory,...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/types/src/event.rs
crates/static-file/types/src/event.rs
use crate::StaticFileTargets; use core::time::Duration; /// An event emitted by the static file producer. #[derive(Debug, PartialEq, Eq, Clone)] pub enum StaticFileProducerEvent { /// Emitted when static file producer started running. Started { /// Targets that will be moved to static files tar...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/types/src/lib.rs
crates/static-file/types/src/lib.rs
//! Commonly used types for static file usage. #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issue...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/types/src/compression.rs
crates/static-file/types/src/compression.rs
use strum::AsRefStr; /// Static File compression types. #[derive(Debug, Copy, Clone, Default, AsRefStr)] #[cfg_attr(feature = "clap", derive(clap::ValueEnum))] pub enum Compression { /// LZ4 compression algorithm. #[strum(serialize = "lz4")] Lz4, /// Zstandard (Zstd) compression algorithm. #[strum(...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/static-file/types/src/segment.rs
crates/static-file/types/src/segment.rs
use crate::{BlockNumber, Compression}; use alloc::{ format, string::{String, ToString}, }; use alloy_primitives::TxNumber; use core::{ops::RangeInclusive, str::FromStr}; use derive_more::Display; use serde::{Deserialize, Serialize}; use strum::{AsRefStr, EnumString}; #[derive( Debug, Copy, Clone, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/evm/src/config.rs
crates/seismic/evm/src/config.rs
//! Helpers for configuring the SeismicSpecId for the evm use crate::Header; use alloy_consensus::BlockHeader; use reth_chainspec::ChainSpec as SeismicChainSpec; use seismic_revm::SeismicSpecId; /// Map the latest active hardfork at the given header to a revm [`SeismicSpecId`]. pub fn revm_spec(chain_spec: &SeismicCh...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/evm/src/lib.rs
crates/seismic/evm/src/lib.rs
//! EVM config for vanilla seismic. #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/" )] #![c...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/evm/src/build.rs
crates/seismic/evm/src/build.rs
//! The SeismicBlockAssembler. Nearly identical to the EthBlockAssembler, except with seismic types use alloc::sync::Arc; use alloy_consensus::{ proofs, Block, BlockBody, BlockHeader, Header, Transaction, TxReceipt, EMPTY_OMMER_ROOT_HASH, }; use alloy_eips::merge::BEACON_NONCE; use alloy_evm::block::BlockExecutorF...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/evm/src/receipts.rs
crates/seismic/evm/src/receipts.rs
use alloy_consensus::{Eip658Value, Receipt}; use alloy_evm::eth::receipt_builder::{ReceiptBuilder, ReceiptBuilderCtx}; use reth_evm::Evm; use reth_seismic_primitives::{SeismicReceipt, SeismicTransactionSigned}; use seismic_alloy_consensus::SeismicTxType; /// A builder that operates on seismic-reth primitive types, spe...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/reth/src/lib.rs
crates/seismic/reth/src/lib.rs
//! Seismic meta crate that provides access to commonly used reth dependencies. #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/txpool/src/lib.rs
crates/seismic/txpool/src/lib.rs
//! Seismic-Reth Transaction pool. #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/" )] #![cfg_attr(not(...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/txpool/src/transaction.rs
crates/seismic/txpool/src/transaction.rs
use alloy_consensus::{transaction::Recovered, BlobTransactionValidationError, Typed2718}; use alloy_eips::{ eip2930::AccessList, eip7594::BlobTransactionSidecarVariant, eip7702::SignedAuthorization, Encodable2718, }; use alloy_primitives::{Address, Bytes, TxHash, TxKind, B256, U256}; use c_kzg::KzgSettings; use...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/hardforks/src/lib.rs
crates/seismic/hardforks/src/lib.rs
//! Seismic-Reth hard forks. extern crate alloc; use alloc::vec; use alloy_primitives::uint; use once_cell::sync::Lazy as LazyLock; use reth_ethereum_forks::{ChainHardforks, EthereumHardfork, ForkCondition, Hardfork}; /// Seismic hardfork enum #[derive(Clone, Debug)] #[allow(missing_docs)] pub enum SeismicHardfork { ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/src/node.rs
crates/seismic/node/src/node.rs
//! Seismic Node types config. use crate::{ engine::{SeismicEngineTypes, SeismicEngineValidator}, txpool::SeismicTransactionPool, }; use alloy_eips::merge::EPOCH_SLOTS; use alloy_rpc_types_engine::ExecutionData; use reth_chainspec::{ChainSpec, EthChainSpec}; use reth_consensus::{ConsensusError, FullConsensus};...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/src/evm.rs
crates/seismic/node/src/evm.rs
//! Ethereum EVM support #[doc(inline)] pub use reth_evm::execute::BasicBlockExecutorProvider; #[doc(inline)] pub use reth_evm_ethereum::execute::EthExecutorProvider; #[doc(inline)] pub use reth_evm_ethereum::{EthEvm, SeismicEvmConfig};
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/src/engine.rs
crates/seismic/node/src/engine.rs
//! Ethereum specific engine API types and impls. use std::sync::Arc; use alloy_rpc_types_engine::{ExecutionData, ExecutionPayload, ExecutionPayloadEnvelopeV5}; pub use alloy_rpc_types_engine::{ ExecutionPayloadEnvelopeV2, ExecutionPayloadEnvelopeV3, ExecutionPayloadEnvelopeV4, ExecutionPayloadV1, PayloadAttr...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/src/lib.rs
crates/seismic/node/src/lib.rs
//! Standalone crate for Seismic-specific Reth configuration and builder types. //! //! # features //! - `js-tracer`: Enable the `JavaScript` tracer for the `debug_trace` endpoints #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https:...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/src/args.rs
crates/seismic/node/src/args.rs
//! clap [Args](clap::Args) for RPC related arguments. use std::net::{IpAddr, Ipv4Addr}; use clap::Args; /// Parameters for configuring the enclave more granularity via CLI #[derive(Debug, Clone, Args, PartialEq, Eq, Copy)] #[command(next_help_heading = "Enclave")] pub struct EnclaveArgs { /// Auth server addres...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/src/utils.rs
crates/seismic/node/src/utils.rs
//! test utils for the e2e tests /// Test utils for the seismic rpc api pub mod test_utils { use alloy_primitives::Address; use alloy_rpc_types::{Block, Header, Transaction, TransactionReceipt}; use jsonrpsee::http_client::HttpClient; use reth_rpc_eth_api::EthApiClient; use reth_seismic_chainspec::...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/src/purpose_keys.rs
crates/seismic/node/src/purpose_keys.rs
//! Global storage for purpose keys fetched from enclave on boot. //! //! This module provides thread-safe access to purpose keys that are fetched once //! during node startup and then used throughout the application lifetime. use seismic_enclave::GetPurposeKeysResponse; use std::sync::OnceLock; /// Global storage fo...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/dev.rs
crates/seismic/node/tests/e2e/dev.rs
use alloy_eips::eip2718::Encodable2718; use alloy_genesis::Genesis; use alloy_primitives::{b256, hex}; use futures::StreamExt; use reth_chainspec::ChainSpec; use reth_node_api::{BlockBody, FullNodeComponents, FullNodePrimitives, NodeTypes}; use reth_node_builder::{ rpc::RethRpcAddOns, EngineNodeLauncher, FullNode, ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/eth.rs
crates/seismic/node/tests/e2e/eth.rs
use crate::utils::eth_payload_attributes; use alloy_genesis::Genesis; use reth_chainspec::{ChainSpecBuilder, MAINNET}; use reth_e2e_test_utils::{ node::NodeTestContext, setup, transaction::TransactionTestContext, wallet::Wallet, }; use reth_node_builder::{NodeBuilder, NodeHandle}; use reth_node_core::{args::RpcServ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/integration.rs
crates/seismic/node/tests/e2e/integration.rs
//! This file is used to test the seismic node. use alloy_dyn_abi::EventExt; use alloy_json_abi::{Event, EventParam}; use alloy_network::{ReceiptResponse, TransactionBuilder}; use alloy_primitives::{ aliases::{B96, U96}, hex, hex::FromHex, Bytes, IntoLogData, TxKind, B256, U256, }; use alloy_provider::{...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
true
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/utils.rs
crates/seismic/node/tests/e2e/utils.rs
use alloy_eips::{eip2930::AccessListItem, eip7702::Authorization, BlockId, BlockNumberOrTag}; use alloy_primitives::{bytes, Address, B256, U256}; use alloy_provider::{ network::{ Ethereum, EthereumWallet, NetworkWallet, TransactionBuilder, TransactionBuilder7702, }, Provider, ProviderBuilder, Sendab...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/blobs.rs
crates/seismic/node/tests/e2e/blobs.rs
use crate::utils::eth_payload_attributes; use alloy_genesis::Genesis; use reth_chainspec::{ChainSpecBuilder, MAINNET}; use reth_e2e_test_utils::{ node::NodeTestContext, transaction::TransactionTestContext, wallet::Wallet, }; use reth_node_builder::{NodeBuilder, NodeHandle}; use reth_node_core::{args::RpcServerArgs,...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/p2p.rs
crates/seismic/node/tests/e2e/p2p.rs
use futures::StreamExt; use reth_seismic_node::utils::{advance_chain, setup}; use std::sync::Arc; use tokio::sync::Mutex; #[tokio::test] async fn can_sync() -> eyre::Result<()> { reth_tracing::init_test_tracing(); let (mut nodes, _tasks, wallet) = setup(3).await?; let wallet = Arc::new(Mutex::new(wallet))...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/testsuite.rs
crates/seismic/node/tests/e2e/testsuite.rs
use alloy_primitives::{Address, B256}; use eyre::Result; use alloy_rpc_types_engine::PayloadAttributes; use reth_e2e_test_utils::testsuite::{ actions::AssertMineBlock, setup::{NetworkSetup, Setup}, TestBuilder, }; use reth_chainspec::{ChainSpecBuilder, SEISMIC_MAINNET}; use reth_seismic_node::{SeismicEngine...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/rpc.rs
crates/seismic/node/tests/e2e/rpc.rs
use crate::utils::eth_payload_attributes; use alloy_eips::{calc_next_block_base_fee, eip2718::Encodable2718}; use alloy_primitives::{Address, B256, U256}; use alloy_provider::{network::EthereumWallet, Provider, ProviderBuilder, SendableTx}; use alloy_rpc_types_beacon::relay::{ BidTrace, BuilderBlockValidationReques...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/e2e/main.rs
crates/seismic/node/tests/e2e/main.rs
#![allow(missing_docs)] mod integration; // mod p2p; // mod testsuite; const fn main() {}
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/it/builder.rs
crates/seismic/node/tests/it/builder.rs
//! Node builder setup tests. use reth_db::test_utils::create_test_rw_db; use reth_node_api::{FullNodeComponents, NodeTypesWithDBAdapter}; use reth_node_builder::{Node, NodeBuilder, NodeConfig}; use reth_provider::providers::BlockchainProvider; use reth_seismic_chainspec::SEISMIC_MAINNET; use reth_seismic_node::node::...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/it/exex.rs
crates/seismic/node/tests/it/exex.rs
use futures::future; use reth_db::test_utils::create_test_rw_db; use reth_exex::ExExContext; use reth_node_api::FullNodeComponents; use reth_node_builder::{NodeBuilder, NodeConfig}; use reth_node_ethereum::{node::EthereumAddOns, EthereumNode}; use std::{ future::Future, pin::Pin, task::{Context, Poll}, }; ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/node/tests/it/main.rs
crates/seismic/node/tests/it/main.rs
#![allow(missing_docs)] mod builder; mod exex; const fn main() {}
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/lib.rs
crates/seismic/rpc/src/lib.rs
//! Seismic-Reth RPC support. #![doc( html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png", html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256", issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/" )] #![cfg_att...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/error.rs
crates/seismic/rpc/src/error.rs
//! Error types for the seismic rpc api. use std::convert::Infallible; use alloy_rpc_types_eth::BlockError; use reth_provider::ProviderError; use reth_rpc_eth_api::{AsEthApiError, EthTxEnvError, TransactionConversionError}; use reth_rpc_eth_types::{error::api::FromEvmHalt, EthApiError}; use reth_rpc_server_types::res...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/eth/pending_block.rs
crates/seismic/rpc/src/eth/pending_block.rs
//! Loads Seismic pending block for a RPC response. use crate::{SeismicEthApi, SeismicEthApiError}; use reth_rpc_eth_api::{helpers::LoadPendingBlock, FromEvmError, RpcConvert, RpcNodeCore}; use reth_rpc_eth_types::PendingBlock; impl<N, Rpc> LoadPendingBlock for SeismicEthApi<N, Rpc> where N: RpcNodeCore, Seis...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/eth/ext.rs
crates/seismic/rpc/src/eth/ext.rs
//! seismic implementation of eth api and its extensions //! //! Overrides the eth_ namespace to be compatible with seismic specific types //! Most endpoints handle transaction decrytpion before passing to the inner eth api //! For `eth_sendRawTransaction`, we directly call the inner eth api without decryption //! See ...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/eth/call.rs
crates/seismic/rpc/src/eth/call.rs
use crate::{SeismicEthApi, SeismicEthApiError}; use alloy_consensus::transaction::Either; use alloy_eips::eip7702::{RecoveredAuthorization, SignedAuthorization}; use alloy_primitives::{TxKind, U256}; use alloy_rpc_types_eth::transaction::TransactionRequest; use reth_evm::{EvmEnv, SpecFor, TxEnvFor}; use reth_rpc_eth_ap...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/eth/block.rs
crates/seismic/rpc/src/eth/block.rs
//! Loads and formats Seismic block RPC response. use crate::{SeismicEthApi, SeismicEthApiError}; use reth_rpc_eth_api::{ helpers::{EthBlocks, LoadBlock}, FromEvmError, RpcConvert, RpcNodeCore, }; impl<N, Rpc> EthBlocks for SeismicEthApi<N, Rpc> where N: RpcNodeCore, SeismicEthApiError: FromEvmError<N...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/eth/receipt.rs
crates/seismic/rpc/src/eth/receipt.rs
//! Loads and formats Seismic receipt RPC response. use reth_rpc_convert::transaction::{ConvertReceiptInput, ReceiptConverter}; use reth_rpc_eth_api::{helpers::LoadReceipt, RpcConvert, RpcNodeCore}; use reth_rpc_eth_types::{receipt::build_receipt, EthApiError}; use reth_seismic_primitives::{SeismicPrimitives, SeismicR...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false
SeismicSystems/seismic-reth
https://github.com/SeismicSystems/seismic-reth/blob/62834bd8deb86513778624a3ba33f55f4d6a1471/crates/seismic/rpc/src/eth/api.rs
crates/seismic/rpc/src/eth/api.rs
//! Seismic extension of API traits use reth_rpc_eth_api::{ helpers::{EthApiSpec, EthBlocks, EthCall, EthFees, EthState, LoadReceipt, Trace}, FullEthApiTypes, }; use super::ext::SeismicTransaction; /// Helper trait to unify all `eth` rpc server building block traits, for simplicity. /// /// This trait is aut...
rust
Apache-2.0
62834bd8deb86513778624a3ba33f55f4d6a1471
2026-01-04T20:20:17.218210Z
false