mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-07-22 07:25:44 +00:00
Implement ZombienetPlatform and integrate zombie node with eth rpc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user