Implement ZombienetPlatform and integrate zombie node with eth rpc

This commit is contained in:
Marios Christou
2025-09-26 13:37:55 +03:00
parent dd519a960a
commit 7f944fbe56
4 changed files with 416 additions and 52 deletions
+15
View File
@@ -106,6 +106,15 @@ impl AsRef<KitchensinkConfiguration> for Context {
}
}
impl AsRef<ZombieNetConfiguration> for Context {
fn as_ref(&self) -> &ZombieNetConfiguration {
match self {
Self::ExecuteTests(context) => context.as_ref().as_ref(),
Self::ExportJsonSchema => unreachable!(),
}
}
}
impl AsRef<ReviveDevNodeConfiguration> for Context {
fn as_ref(&self) -> &ReviveDevNodeConfiguration {
match self {
@@ -303,6 +312,12 @@ impl AsRef<ReviveDevNodeConfiguration> for TestExecutionContext {
}
}
impl AsRef<ZombieNetConfiguration> for TestExecutionContext {
fn as_ref(&self) -> &ZombieNetConfiguration {
&self.zombienet_configuration
}
}
impl AsRef<EthRpcConfiguration> for TestExecutionContext {
fn as_ref(&self) -> &EthRpcConfiguration {
&self.eth_rpc_configuration