diff --git a/crates/config/src/lib.rs b/crates/config/src/lib.rs index 212eefc..867e2d9 100644 --- a/crates/config/src/lib.rs +++ b/crates/config/src/lib.rs @@ -106,15 +106,6 @@ impl AsRef for Context { } } -impl AsRef for Context { - fn as_ref(&self) -> &ZombieNetConfiguration { - match self { - Self::ExecuteTests(context) => context.as_ref().as_ref(), - Self::ExportJsonSchema => unreachable!(), - } - } -} - impl AsRef for Context { fn as_ref(&self) -> &ReviveDevNodeConfiguration { match self { @@ -312,12 +303,6 @@ impl AsRef for TestExecutionContext { } } -impl AsRef for TestExecutionContext { - fn as_ref(&self) -> &ZombieNetConfiguration { - &self.zombienet_configuration - } -} - impl AsRef for TestExecutionContext { fn as_ref(&self) -> &EthRpcConfiguration { &self.eth_rpc_configuration