mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: rename reth_primitives::RecoveredTx functions to match alloy::Recovered (#13663)
This commit is contained in:
@ -682,7 +682,7 @@ pub trait Call:
|
||||
let env = EnvWithHandlerCfg::new_with_cfg_env(
|
||||
cfg_env_with_handler_cfg,
|
||||
block_env,
|
||||
RpcNodeCore::evm_config(&this).tx_env(tx.as_signed(), tx.signer()),
|
||||
RpcNodeCore::evm_config(&this).tx_env(tx.tx(), tx.signer()),
|
||||
);
|
||||
|
||||
let (res, _) = this.transact(&mut db, env)?;
|
||||
|
||||
@ -341,7 +341,7 @@ pub trait LoadPendingBlock:
|
||||
let env = Env::boxed(
|
||||
cfg.cfg_env.clone(),
|
||||
block_env.clone(),
|
||||
Self::evm_config(self).tx_env(tx.as_signed(), tx.signer()),
|
||||
Self::evm_config(self).tx_env(tx.tx(), tx.signer()),
|
||||
);
|
||||
|
||||
let mut evm = revm::Evm::builder().with_env(env).with_db(&mut db).build();
|
||||
@ -393,7 +393,7 @@ pub trait LoadPendingBlock:
|
||||
cumulative_gas_used += gas_used;
|
||||
|
||||
// append transaction to the list of executed transactions
|
||||
let (tx, sender) = tx.to_components();
|
||||
let (tx, sender) = tx.into_parts();
|
||||
executed_txs.push(tx);
|
||||
senders.push(sender);
|
||||
results.push(result);
|
||||
|
||||
@ -226,7 +226,7 @@ pub trait Trace:
|
||||
let env = EnvWithHandlerCfg::new_with_cfg_env(
|
||||
cfg_env_with_handler_cfg,
|
||||
block_env,
|
||||
RpcNodeCore::evm_config(&this).tx_env(tx.as_signed(), tx.signer()),
|
||||
RpcNodeCore::evm_config(&this).tx_env(tx.tx(), tx.signer()),
|
||||
);
|
||||
let (res, _) =
|
||||
this.inspect(StateCacheDbRefMutWrapper(&mut db), env, &mut inspector)?;
|
||||
|
||||
Reference in New Issue
Block a user