Add an EVM version filter (#136)

* Add an EVM version filter

* Update naming
This commit is contained in:
Omar
2025-08-12 13:19:59 +03:00
committed by GitHub
parent f67a9bf643
commit 9b40c9b9e3
10 changed files with 176 additions and 1 deletions
+4
View File
@@ -1,5 +1,6 @@
//! This crate implements the testing nodes.
use revive_common::EVMVersion;
use revive_dt_config::Arguments;
use revive_dt_node_interaction::EthereumNode;
@@ -36,4 +37,7 @@ pub trait Node: EthereumNode {
/// Given a list of targets from the metadata file, this function determines if the metadata
/// file can be ran on this node or not.
fn matches_target(&self, targets: Option<&[String]>) -> bool;
/// Returns the EVM version of the node.
fn evm_version() -> EVMVersion;
}