mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-22 16:07:59 +00:00
the state diff method belongs to node interactions (#20)
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
//! This crate implements the testing nodes.
|
||||
|
||||
use alloy::rpc::types::{TransactionReceipt, trace::geth::DiffMode};
|
||||
use revive_dt_config::Arguments;
|
||||
use revive_dt_node_interaction::EthereumNode;
|
||||
|
||||
@@ -29,9 +28,6 @@ pub trait Node: EthereumNode {
|
||||
/// Returns the nodes connection string.
|
||||
fn connection_string(&self) -> String;
|
||||
|
||||
/// Returns the state diff of the transaction hash in the [TransactionReceipt].
|
||||
fn state_diff(&self, transaction: TransactionReceipt) -> anyhow::Result<DiffMode>;
|
||||
|
||||
/// Returns the node version.
|
||||
fn version(&self) -> anyhow::Result<String>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user