(
config: &configs::simulator::TenderlyConfig,
eth: Ethereum,
http_factory: &HttpClientFactory,
)
| 32 | |
| 33 | impl Simulator { |
| 34 | pub fn tenderly( |
| 35 | config: &configs::simulator::TenderlyConfig, |
| 36 | eth: Ethereum, |
| 37 | http_factory: &HttpClientFactory, |
| 38 | ) -> Self { |
| 39 | let eth = eth.with_metric_label("tenderlySimulator".into()); |
| 40 | Self { |
| 41 | inner: Inner::Tenderly(Box::new(tenderly::Tenderly::new( |
| 42 | config, |
| 43 | eth.clone(), |
| 44 | http_factory, |
| 45 | ))), |
| 46 | eth, |
| 47 | disable_access_lists: false, |
| 48 | disable_gas: None, |
| 49 | simulation_overrides: None, |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | pub fn ethereum(eth: Ethereum) -> Self { |
| 54 | let eth = eth.with_metric_label("web3Simulator".into()); |
no test coverage detected