mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-28 21:18:03 +00:00
Add an EVM version filter (#136)
* Add an EVM version filter * Update naming
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user