mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat: support simulation in blockbuilder (#15470)
This commit is contained in:
@@ -80,6 +80,9 @@ where
|
||||
S: BlockBuilder<Executor: BlockExecutor<Evm: Evm<DB: Database<Error: Into<EthApiError>>>>>,
|
||||
T: TransactionCompat<TxTy<S::Primitives>>,
|
||||
{
|
||||
// Tell the block builder that it is used for simulation
|
||||
builder.set_simulate(true);
|
||||
|
||||
builder.apply_pre_execution_changes()?;
|
||||
|
||||
let mut results = Vec::with_capacity(calls.len());
|
||||
|
||||
Reference in New Issue
Block a user