diff --git a/crates/cli/src/default_scenarios/runconfig.rs b/crates/cli/src/default_scenarios/runconfig.rs index 98e18eb..476d328 100644 --- a/crates/cli/src/default_scenarios/runconfig.rs +++ b/crates/cli/src/default_scenarios/runconfig.rs @@ -28,10 +28,10 @@ impl BuiltinScenarioConfig { } } -impl Into for BuiltinScenarioConfig { - fn into(self) -> TestConfig { - match self { - Self::FillBlock { +impl From for TestConfig { + fn from(scenario: BuiltinScenarioConfig) -> Self { + match scenario { + BuiltinScenarioConfig::FillBlock { max_gas_per_block, num_txs, sender,