mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 07:17:56 -05:00
docs(evm): fix typos and remove stale TODO (#20742)
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
This commit is contained in:
@@ -256,7 +256,7 @@ pub trait ConfigureEvm: Clone + Debug + Send + Sync + Unpin {
|
||||
attributes: Self::NextBlockEnvCtx,
|
||||
) -> Result<ExecutionCtxFor<'_, Self>, Self::Error>;
|
||||
|
||||
/// Returns a [`TxEnv`] from a transaction and [`Address`].
|
||||
/// Returns a [`TxEnv`] from a transaction.
|
||||
fn tx_env(&self, transaction: impl IntoTxEnv<TxEnvFor<Self>>) -> TxEnvFor<Self> {
|
||||
transaction.into_tx_env()
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ use reth_primitives_traits::{Block, RecoveredBlock};
|
||||
use std::time::Instant;
|
||||
|
||||
/// Executor metrics.
|
||||
// TODO(onbjerg): add sload/sstore
|
||||
#[derive(Metrics, Clone)]
|
||||
#[metrics(scope = "sync.execution")]
|
||||
pub struct ExecutorMetrics {
|
||||
|
||||
@@ -342,7 +342,7 @@ impl<T> ExecutionOutcome<T> {
|
||||
/// Prepends present the state with the given `BundleState`.
|
||||
/// It adds changes from the given state but does not override any existing changes.
|
||||
///
|
||||
/// Reverts and receipts are not updated.
|
||||
/// Reverts and receipts are not updated.
|
||||
pub fn prepend_state(&mut self, mut other: BundleState) {
|
||||
let other_len = other.reverts.len();
|
||||
// take this bundle
|
||||
|
||||
Reference in New Issue
Block a user