mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: acquire trace guard for eth_simulate_v1 (#12935)
This commit is contained in:
@ -625,6 +625,7 @@ where
|
||||
block_number: Option<BlockId>,
|
||||
) -> RpcResult<Vec<SimulatedBlock<RpcBlock<T::NetworkTypes>>>> {
|
||||
trace!(target: "rpc::eth", ?block_number, "Serving eth_simulateV1");
|
||||
let _permit = self.tracing_task_guard().clone().acquire_owned().await;
|
||||
Ok(EthCall::simulate_v1(self, payload, block_number).await?)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user